implement-jira
Use when user provides a Jira ticket number and wants to implement it - fetches ticket, creates branch, guides implementation, and handles PR creation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when user provides a Jira ticket number and wants to implement it - fetches ticket, creates branch, guides implementation, and handles PR creation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when user wants to create a new validation rule from a Jira ticket (Story type only) - validates ticket, scaffolds rule with tests and Confluence docs
Use when creating a new in-cluster validation rule from scratch - provides rule templates, domain registration, and test scaffolding
Use when preparing a new version release - generates changelog, updates version, creates tags and GitHub release
| name | implement-jira |
| description | Use when user provides a Jira ticket number and wants to implement it - fetches ticket, creates branch, guides implementation, and handles PR creation |
Fetch a Jira ticket, create a branch, and help implement it.
Args: Jira ticket number (e.g., PDRIVE-123)
You are helping the user implement a Jira ticket. Follow these steps in order:
Extract the Jira ticket number from the args. Expected format: PDRIVE-XXX
CRITICAL: Before doing ANY implementation work, complete these git steps:
# Switch to main branch
git checkout main
# Fetch and rebase from upstream
git fetch upstream
git rebase upstream/main
Fetch the ticket from Jira to get the title for the branch name:
mcp__plugin_atlassian_atlassian__getJiraIssue with the ticket numberIf needed, use GitHub MCP to:
Create a branch with a short descriptive name followed by the ticket number.
Format: <TICKET-NUMBER>_<short-description>
Examples:
PDRIVE-553_wiki_page_cmdPDRIVE-505_network_checkPDRIVE-412_fix_timeout# Create branch with ticket number first, then short description
git checkout -b <TICKET-NUMBER>_<short-description>
# Verify the branch was created correctly
git branch --show-current
IMPORTANT: Only proceed to step 3 after confirming the branch is created and checked out.
Show the user a summary of the ticket (already fetched in step 2b):
Based on the ticket details:
.claude/rules/code-style.md.claude/rules/testing.mdsource .venv/bin/activate && pytestIMPORTANT: Before committing, ask the user if they're ready to commit the changes.
.claude/rules/git-workflow.mdfeat(PDRIVE-123): add new validation rule)After committing, ensure the branch is based on the latest upstream code:
# Fetch latest changes from upstream
git fetch upstream
# Rebase the branch on upstream/main
git rebase upstream/main
If conflicts occur, guide the user through resolving them.
Push the branch to origin:
git push -u origin <branch-name>
Use GitHub MCP to offer creating a pull request:
.claude/rules/github-mcp.mdCRITICAL - Fork to Upstream PR:
<username>:<branch-name> (your fork's branch)https://redhat.atlassian.net/browse/<TICKET-NUMBER>mcp__plugin_github_github__create_pull_requestAfter PR creation, offer to update the Jira ticket with implementation details:
[PR #NUMBER](PR-URL) for clickable linkmcp__plugin_atlassian_atlassian__addCommentToJiraIssue with contentFormat: "markdown"upstream remote is not configured, suggest adding it with: git remote add upstream git@github.com:RedHatInsights/incluster-checks.gitUser invokes: /implement-jira PDRIVE-505
Expected workflow:
PDRIVE-505_network_check (ticket number + short description)source .venv/bin/activate && pytestfeat(PDRIVE-505): description.claude/rules/github-mcp.md guidelines)