| description | Work on a JIRA/Linear ticket end-to-end |
|---|---|
| allowed-tools | Read, Write, Edit, Glob, Grep, Bash(git:*), Bash(gh:*), Bash(npm:*), mcp__jira__*, mcp__github__*, mcp__linear__* |
Work on ticket: $ARGUMENTS
First, fetch and understand the ticket:
Use the JIRA/Linear MCP tools to:
- Get ticket details (title, description, acceptance criteria)
- Check linked tickets or epics
- Review any comments or attachments
Summarize:
- What needs to be done
- Acceptance criteria
- Any blockers or dependencies
Before coding:
- Search for related code
- Understand the current implementation
- Identify files that need changes
git checkout -b {initials}/{ticket-id}-{brief-description}- Follow project patterns (check relevant skills)
- Write tests first (TDD)
- Make incremental commits
As you work:
- Add comments with progress updates
- Update status (In Progress → In Review)
- Log any blockers or questions
When ready:
- Create PR with
gh pr create - Link the PR to the ticket
- Add ticket ID to PR title:
feat(PROJ-123): description
If you discover an unrelated bug while working:
- Create a new ticket with details
- Link it to the current ticket if related
- Note it in the PR description
- Continue with original task
Me: /ticket PROJ-123
Claude:
1. Fetching PROJ-123 from JIRA...
Title: Add user profile avatar upload
Description: Users should be able to upload a profile picture...
Acceptance Criteria:
- [ ] Upload button on profile page
- [ ] Support JPG/PNG up to 5MB
- [ ] Show loading state during upload
2. Searching codebase for profile-related code...
Found: src/screens/Profile/ProfileScreen.tsx
Found: src/components/Avatar/Avatar.tsx
3. Creating branch: cw/PROJ-123-avatar-upload
4. [Implements feature with TDD approach]
5. Updating JIRA status to "In Review"...
Adding comment: "Implementation complete, PR ready for review"
6. Creating PR and linking to PROJ-123...
PR #456 created: feat(PROJ-123): add avatar upload to profile