AI-driven Feature Development tools.
Add the marketplace:
/plugin marketplace add shiftweek/oape-ai-e2eInstall the plugin:
/plugin install oape@oape-ai-e2eUse the commands:
/oape:api-generate https://github.com/openshift/enhancements/pull/1234Update the marketplace (fetches latest plugin catalog):
/plugin marketplace update oape-ai-e2eReinstall the plugin (downloads new version):
/plugin install oape@oape-ai-e2eCursor can discover the commands by symlinking this repo into your ~/.cursor/commands directory:
mkdir -p ~/.cursor/commands
git clone git@github.com:shiftweek/oape-ai-e2e.git
ln -s oape-ai-e2e ~/.cursor/commands/oape-ai-e2e| Plugin | Description | Commands |
|---|---|---|
| oape | AI-driven OpenShift operator development tools | /oape:init, /oape:api-generate, /oape:api-generate-tests, /oape:api-implement, /oape:analyze-rfe, /oape:e2e-generate, /oape:predict-regressions, /oape:review, /oape:implement-review-fixes |
Clones an allowed OpenShift operator repository by short name into the current directory.
/oape:init cert-manager-operatorReads an OpenShift enhancement proposal PR, extracts the required API changes, and generates compliant Go type definitions in the correct paths of the current OpenShift operator repository.
/oape:api-generate https://github.com/openshift/enhancements/pull/1234Generates .testsuite.yaml integration test files for OpenShift API type definitions, covering create, update, validation, and error scenarios.
/oape:api-generate-tests api/v1alpha1/myresource_types.goReads an OpenShift enhancement proposal PR, extracts the required implementation logic, and generates complete controller/reconciler code following controller-runtime and operator-sdk conventions.
/oape:api-implement https://github.com/openshift/enhancements/pull/1234Analyzes a Jira Request for Enhancement (RFE) and produces a structured breakdown of Epics, user stories, and outcomes. Requires JIRA_PERSONAL_TOKEN for Jira API access.
/oape:analyze-rfe RFE-7841
/oape:analyze-rfe https://issues.redhat.com/browse/RFE-7841Generates e2e test artifacts by discovering the repo structure and analyzing the git diff from a base branch.
/oape:e2e-generate mainAnalyzes git diff to predict potential regressions, breaking changes, and backward compatibility issues. Combines static analysis with LLM-powered semantic analysis.
/oape:predict-regressions main
/oape:predict-regressions origin/release-4.18 --output .reportsPerforms a production-grade code review that verifies code changes against Jira requirements.
/oape:review OCPBUGS-12345
/oape:review OCPBUGS-12345 origin/release-4.15Automatically applies code fixes from a review report.
/oape:implement-review-fixes <report-path>Typical workflow:
# Step 1: Clone the operator repository
/oape:init cert-manager-operator
# Step 2: Generate API types
/oape:api-generate https://github.com/openshift/enhancements/pull/1234
# Step 3: Generate integration tests
/oape:api-generate-tests api/v1alpha1/
# Step 4: Predict potential regressions
/oape:predict-regressions main
# Step 5: Generate controller implementation
/oape:api-implement https://github.com/openshift/enhancements/pull/1234
# Step 6: Generate e2e tests for your changes
/oape:e2e-generate main- Add a new markdown file under
plugins/oape/commands/ - The command will be available as
/oape:<command-name> - Update the plugin
README.mddocumenting the new command
plugins/oape/
├── ztwim-test-generator/ # ZTWIM fixtures, docs, skills (commands are in commands/)
├── .claude-plugin/
│ └── plugin.json # Required: plugin metadata
├── commands/
│ └── <command-name>.md # Slash commands
├── skills/
│ └── <skill-name>/
│ └── SKILL.md # Reusable agent skills (optional)
└── README.md # Plugin documentation