post-merge - Clean up merged PRs and sync Jira
After a merged PR, removes its worktree and branches, cleans co-review leftovers, syncs linked Jira fields, and proposes lesson updates.
Tags
Updated: 2026-10-02Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Resolve the merged PR
- Inspect branch and worktree state
- Remove merged worktrees
- Delete local and remote branches
- Sweep co-review leftovers
- Sync linked Jira issues
- Propose lesson distillation
Inputs
- Merged PR number or URL
- Current Git branch
- Repository Git state
- Jira project configuration
- Lesson source files and comments
- Owner confirmation
Outputs
- Worktree removal status
- Branch deletion status
- Co-review cleanup status
- Updated Jira issue fields
- Jira resolution comment
- Lesson rule or todo updates
- Cleanup proposal and confirmation prompt
Requirements
- Git repository access
- GitHub CLI access
- Atlassian MCP for Jira sync
- Shared Jira project configuration
- Read, edit, shell, and connector tools
- User confirmation support
