jira-bug
Installation
SKILL.md
Jira Bug Code Review Skill
This skill guides the agent in generating a Bug Code Review summary for a provided Jira ticket and publishing it as a comment when requested. Resolve the repository and Jira site from the current task; this skill can be installed and used independently.
Trigger
User-invoked: /jira-bug — use this skill explicitly when asked to generate a Bug CR summary for a Jira ticket (e.g., "Create a bug CR for PROJ-001", "run jira-bug for [Ticket ID]").
Workflow Instructions
-
Fetch Jira Ticket Information:
- Discover the available Jira tools by capability: site discovery, issue retrieval, comment listing, and comment creation. Tool names vary by agent; use the configured equivalents rather than assuming a fixed MCP namespace or shell-tool name.
- Resolve the intended site and issue key from the user and project context. If multiple sites remain plausible, ask before selecting one.
- Fetch the issue and existing comments. Follow comment pagination until the relevant prior summaries are found or all available comments have been checked. If access is incomplete, state that limitation and do not claim no prior summary exists.
- Extract the Summary, Description, and any bug reproduction steps or expected results from the issue.
-
Detect Previous Bug Summary: