plugins/teamcraft-glgd/skills/post-merge/SKILL.md
Sync advisor after a GitLab MR has been merged. Confirms the issue is closed in GitLab, cleans up stale labels, syncs local git state, and guides the developer through each step with explicit approval. Use when an MR was just merged, saying "just merged", needing post-merge cleanup, or when the GitLab issue 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-glgd: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: confirm the GitLab issue is closed and labels are clean, then get the developer's local environment synced. The developer should leave this skill with a closed issue, clean labels, and a clean local default branch.
Identify the project from .teamcraft/project.md or git remote context. Find the MR that was merged — either from the current branch name or by asking the developer which issue was just merged.
Issue closure: Fetch the linked issue. If it is not yet closed (the Closes #IID keyword in the MR description should have auto-closed it on merge), close it now via mcp__gitlab__update_issue with state_event: "close". This is automatic — do not ask for approval, just do it.
Label cleanup: Fetch current labels on the issue. Remove "In Review" if present. Do not add a new label — a closed issue speaks for itself. Update labels silently as part of the same step.
Report: "Issue #[IID] is closed. Labels cleaned up." No fanfare needed.
Gather: 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 MR for the current branch the one that was merged? If not, ask which branch's MR 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/[IID].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