Execute a Jira ticket following its implementation plan
Executes Jira tickets by following implementation plans, handling parallel workflows, and managing checkpoints.
/plugin marketplace add jeffallan/claude-skills/plugin install jeffallan-fullstack-dev-skills@jeffallan/claude-skills<ticket-key>project/execution/Target Ticket: $ARGUMENTS
Fetch the Jira ticket using {Target_Ticket}
Verify ticket is self-contained with:
Extract document links (for context/reference only):
{Overview_Document} - Epic context{Implementation_Plan} - Coordination/trackingFAILURE CONDITION - Missing Implementation Details:
If the ticket lacks implementation steps or test code:
STOP and prompt the user:
Ticket {Target_Ticket} is missing implementation details.
Found: [list what's present]
Missing: [list what's missing]
Options:
1. I can analyze the codebase and generate the missing details
2. Please update the ticket with implementation details first
CHECKPOINT: Confirm ticket details and approach with user before proceeding.
After reading the implementation plan, check for a Parallel Execution Strategy section:
If parallel waves are defined:
Parallel execution prompt to user:
The implementation plan defines parallel execution waves.
Current Wave: [N]
Tickets ready for parallel execution:
- TICKET-101: [title] → recommended: [agent-type]
- TICKET-102: [title] → recommended: [agent-type]
- TICKET-103: [title] → recommended: [agent-type]
Options:
A) Execute all wave tickets in parallel (spawn multiple agents)
B) Execute tickets sequentially (one at a time)
C) Select specific tickets to parallelize
Which approach? [A/B/C]
If user approves parallel execution:
Note: The user will handle git commit and PR creation. When ready to finalize, the user runs /complete-ticket to transition Jira and update the implementation plan.
STOP and check in with the user at these points:
When implementation is complete, present this for user review:
{Target_Ticket}: Brief summary of changes
- Change 1 description
- Change 2 description
- Change 3 description
If the implementation plan needs to be deviated from:
STOP - Do not proceed with the deviation without approval
Report - Clearly explain:
Present options:
WAIT for user feedback before continuing
Document the approved deviation in the completion summary
If follow-up work is discovered during implementation:
Draft the ticket:
Title: [Clear, actionable title]
Description: [What needs to be done and why]
Acceptance Criteria:
- [ ] Criterion 1
- [ ] Criterion 2
Story Points: [Estimate]
Related Ticket: {Target_Ticket}
Recommend placement:
Prompt user: "I've identified follow-up work needed. Here's the draft ticket: [ticket details]
Recommended placement: [placement]
Do you approve? (Yes / No / Modify)"
WAIT for approval before creating the ticket in Jira
When complete, provide a summary:
## Ticket Completion Summary
### Ticket
- **Key:** {Target_Ticket}
- **Title:** [Title]
### Suggested Commit Message
[Formatted commit message]
### Changes Made
- [List of changes]
### Files Modified/Created
- `path/to/file.ts` - Description of changes
### Tests Added
- `path/to/test.spec.ts` - What it tests
### Deviations from Implementation Plan
- [Any approved deviations with justification, or "None"]
### Follow-up Tickets Created
- [TICKET-KEY] - [Title] (Placement: [where])
- Or "None"
---
**Next steps:**
1. Review the changes above
2. Create git commit using the suggested commit message
3. Run `/complete-ticket {Target_Ticket}` to transition Jira and update the implementation plan
Pre-Implementation Exploration: Before writing code, explore:
Code Quality: Have implementations reviewed for quality, patterns, and potential issues before committing.
Testing: Delegate test creation to ensure comprehensive coverage.
Test Strategy: Design comprehensive test coverage including:
Quality Validation: Have test coverage and quality reviewed.
Code Review: Have code reviewed for:
Security Analysis: For sensitive changes, analyze security implications.
Root Cause Analysis: For issues, systematically investigate:
Performance Investigation: For performance issues, profile and analyze bottlenecks systematically.