plugins/teamcraft-jcg/skills/post-merge/SKILL.md
Sync advisor after a GitHub PR has been merged. Explicitly transitions the Jira issue to Done, cleans up stale Jira status, syncs local git state, and guides the developer through each step with explicit approval. Use when a PR was just merged, saying "just merged", needing post-merge cleanup, or when the Jira ticket is still open after merge. Also run when the local branch is stale after a merge, or when asking "what do I do after merge".
npx skillsauth add codingthefuturewithai/claude-code-primitives teamcraft-jcg:post-mergeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
After a merge to the default branch: explicitly transition the Jira issue to "Done" (this is mandatory — it cannot happen automatically via the PR), confirm the Jira status is clean, then get the developer's local environment synced. The developer should leave this skill with a closed Jira issue and a clean local default branch.
Closes #N in the PR description does NOT close the Jira issue. GitHub closing keywords close GitHub Issues, not Jira issues. Explicitly transitioning the Jira issue to "Done" is a mandatory step — not optional, not a fallback.Identify the GitHub repo from .teamcraft/project.md or git remote -v via Bash. Find the PR that was merged — either from the current branch name via gh pr list --head [branch-name] --state merged via Bash, or by asking the developer which issue was just merged.
Identify the Jira issue key. If running from a branch named bug/PROJ-42-slug, the issue key is PROJ-42. Otherwise, check .teamcraft/project.md or ask the developer.
Fetch the issue via mcp__sooperset-mcp-atlassian__jira_get_issue. Check its current status.
If the issue is not yet in "Done" or "Closed" state: This is the expected case — GitHub PR merge does not auto-close Jira issues. Fetch available transitions via mcp__sooperset-mcp-atlassian__jira_get_transitions. Transition the issue to "Done" (or the equivalent terminal state in this project's workflow) via mcp__sooperset-mcp-atlassian__jira_transition_issue. Never assume transition names — every Jira project has different workflow state names.
If the issue is already in a "Done" or "Closed" state: No action needed. Report that it is already closed.
Report: "Jira issue [PROJ-42] is now Done." No fanfare needed.
Gather via Bash: current branch name, staged changes, unstaged changes, untracked files, how far behind origin/default the local branch is, and whether other local branches have uncommitted or unpushed work.
Present the full picture clearly before proposing anything.
Confirm: Is the PR for the current branch the one that was merged? If not, ask which branch's PR was merged and adjust accordingly.
Based on the assessment, propose what needs to happen: fetch and pull the default branch, delete the local feature branch (once it's confirmed as merged), update dependencies if lockfiles changed, run tests to confirm the merged state is clean.
For each proposed action:
Respect any answer. The developer may want only the pull. They may skip tests. Their call.
Summarize what was done. If a plan exists at .teamcraft/plans/[ISSUE-KEY].md for the merged issue, note that it can be archived or left in place — plan files don't cause problems if left.
development
Plan a time-boxed iteration (sprint, cycle, milestone) from the backlog and the PRD/roadmap behind it — gather the goal, the window, and the team's real capacity, then select, sequence, and size a committed set of work items to fit. Writes an `iteration` label onto each chosen work item. Use when the user says 'plan a sprint', 'plan the next iteration', 'plan our cycle', 'sprint planning', 'iteration planning', 'plan the next two weeks', 'set up a milestone', 'what should we take on this sprint', 'plan from the PRD', or otherwise wants to commit a scoped, time-boxed batch of work rather than create issues one at a time. This is the planning layer between requirements and the build loop — distinct from create-issue (one item) and pick-next-issue (pick one to build now).
tools
Capture feedback about Teamcraft itself and turn it into a well-structured GitHub issue on the plugin's repo. Vets whether the problem is really a Teamcraft skill defect (vs. misuse, the harness, or the user's own project) by root-causing against the actual skill source, then helps the developer decide whether to file and publishes via the GitHub CLI. Use when the user says 'improve teamcraft', 'a teamcraft skill did the wrong thing', 'file feedback on teamcraft', 'report a teamcraft bug', 'I have an idea to make teamcraft better', or when a Teamcraft skill clearly misbehaved and the user wants that captured upstream.
tools
Learn the Teamcraft plugin itself — how its workflow, skills, and artifacts fit together. A guided overview for a human getting started, or a system map for Claude orienting itself to how Teamcraft works before working in a Teamcraft repo. Teaching only; needs no project or environment access. Use when someone wants to understand Teamcraft (the tool, not their specific project), asks "how does Teamcraft work", "explain the workflow", "which skill do I use for X", or when Claude needs the big picture of how the skills hook together.
tools
--- name: teamcraft:work-board description: Launch (or re-launch) the user's live, multi-project work board. The dashboard is a single HTML file copied to a stable user-side location at ~/.claude/teamcraft-board.html and opened in the user's default browser. It has two views via a header toggle — a drag-and-drop Kanban Board and a live Status tab (analytics: work by status, throughput, cycle time, aging, blocked chains, recomputed on every poll). Each project is added via a header dropdown; the