plugins/jira/skills/ocpbugs/SKILL.md
Jira conventions and bug templates for the OCPBUGS project
npx skillsauth add openshift-eng/ai-helpers ocpbugsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill provides conventions and requirements for creating bug reports in the OCPBUGS project, which is used by all OpenShift product teams for bug tracking.
Use this skill when creating bugs in the OCPBUGS project:
This skill is automatically invoked by the /jira:create command when the project_key is "OCPBUGS" or when issue type is "bug" without a project specified.
Full name: OpenShift Bugs
Key: OCPBUGS
Used for: Bugs only
Used by: All OpenShift product teams
Note: Universal requirements (Security Level: Red Hat Employee, Labels: ai-generated-jira) are defined in the /jira:create command and automatically applied to all tickets.
versions)Purpose: Version where the bug was found
Common values: 4.19, 4.20, 4.21, 4.22, etc.
Handling:
Purpose: Version where the fix is targeted
Common default: openshift-4.21 (or current development release)
Override: May be different based on:
Never set:
fixVersions) - This is managed by the release teamWhen user specifies a different version:
getJiraIssueTypeMetaWithFields if neededIMPORTANT: Component requirements are team-specific.
Some teams require specific components, while others do not. The OCPBUGS skill does NOT enforce component selection.
Team-specific component handling:
hypershift skill for component selectionIf component is not specified:
Note: Bug template structure and sections are defined in the create-bug skill.
OCPBUGS-specific:
Note: Security validation (credential scanning) is defined in the /jira:create command and automatically applied to all tickets.
Note: Always include contentFormat: "markdown" when calling createJiraIssue or editJiraIssue so descriptions are interpreted as Markdown.
Use createJiraIssue with contentFormat: "markdown", project key OCPBUGS, and issue type Bug. Set the following fields via additional_fields:
versions: affects version, e.g. [{"name": "4.21"}] (user-specified)customfield_10855: target version, e.g. "openshift-4.21" (default or user-specified)labels: ["ai-generated-jira"]security: {"name": "Red Hat Employee"}Set components if required by the team.
Note: Detailed bug template prompts are defined in the create-bug skill.
OCPBUGS-specific prompts:
Note: All examples automatically apply universal requirements (Security: Red Hat Employee, Labels: ai-generated-jira) as defined in /jira:create command.
/jira:create bug "Control plane pods crash on upgrade from 4.20 to 4.21"
OCPBUGS-specific defaults:
Prompts: See create-bug skill for bug template prompts, plus Affects Version
/jira:create bug OCPBUGS "API server returns 500 error when creating namespaces" --component "API" --version "4.21"
OCPBUGS-specific defaults:
Prompts: See create-bug skill for bug template prompts
Scenario: User specifies a version that doesn't exist.
Action:
Scenario: Team requires component, but user didn't specify.
Action:
Scenario: Credentials or secrets found in bug description or logs.
Action:
Scenario: MCP tool returns an error.
Action:
Scenario: User tries to create a story/task/epic in OCPBUGS.
Action:
Note: Jira descriptions use Markdown (contentFormat: "markdown"). Formatting conventions are defined in the /jira:create command.
Teams using OCPBUGS may have additional team-specific requirements defined in separate skills:
hypershift skill for component selection (HyperShift / ARO, HyperShift / ROSA, HyperShift)Team-specific skills are invoked automatically when team keywords are detected in the summary or when specific components are mentioned.
When /jira:create bug is invoked:
hypershift)create-bug skill)Note: Universal requirements (security, labels), security validation, and issue creation handled by /jira:create command.
create-bug skill for bug template best practicesNote: Universal best practices (security, credential sanitization, formatting) are defined in the /jira:create command.
/jira:create - Main command that invokes this skillcntrlplane skill - For CNTRLPLANE stories/epics/features/taskshypershift) - For team-specific conventionscreate-bug skill - General bug report best practicesresearch
Shared engine for analyzing Jira issue activity and generating status summaries
testing
Snapshot OpenShift payload data (release controller, PR diffs, comments, CI jobs, JUnit results, regression tracking) to a local directory for offline analysis
development
Analyze a payload snapshot to identify root causes of blocking job failures, score candidate PRs, and produce an HTML report with revert recommendations
tools
Create TRT JIRA bugs, open revert PRs, and trigger payload jobs for high-confidence revert candidates