plugins/teamcraft-glgd/skills/complete-issue/SKILL.md
Run pre-MR reviews (code health, security, deviation), push the branch, mark the Draft MR as ready for review, and update issue labels. The final step before the MR goes to a teammate for review.
npx skillsauth add codingthefuturewithai/claude-code-primitives teamcraft-glgd:complete-issueInstall 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.
Get the issue's changes ready for teammate review: code health and security reviewed, any significant deviations surfaced, branch pushed, Draft MR converted to ready, and issue labelled "In Review". The developer decides what to fix before the MR goes out — this skill surfaces, advises, and executes their decisions.
$ARGUMENTS. Confirm the associated branch and Draft MR exist before proceeding.git push fails due to auth, follow the guidance in references/git-push-guidance.md exactly — detect, stop, guide the developer, and wait.Read .teamcraft/project.md to confirm the project. Find the branch for this issue (matching *[IID]-* across all type prefixes) and the associated Draft MR in GitLab. Identify the base branch (the project's default branch).
Read the plan file at .teamcraft/plans/[IID].md if it exists — it provides context for the deviation review.
Launch two agents simultaneously using the Task tool:
Code health review — use the teamcraft-glgd:code-health-reviewer agent. Pass the base branch and the list of files changed since the base branch diverged.
Security review — use the teamcraft-glgd:security-reviewer agent. Pass the base branch and the list of files changed since the base branch diverged.
Wait for both to complete, then present all findings together.
If no plan file exists at .teamcraft/plans/[IID].md, skip the deviation review entirely and tell the developer: "No plan file was found — the deviation review compares the implementation against the original plan, but no plan was persisted to disk. This happens when the plan was created before plan persistence was added, or when the session that created the plan ended before writing it. Skipping deviation review." Then proceed to the next section.
After the parallel reviews, use the teamcraft-glgd:deviation-reviewer agent. Pass the plan file path, the issue IID, and the base branch.
Present the deviation report. For each deviation the developer marks as significant, propose where the record should be updated: the GitLab issue description (if the feature works differently), the tech decisions document in Drive (if an architectural decision changed), or the PRD in Drive (if scope shifted). This skill can update the GitLab issue description directly. Drive document updates must be handled by the developer separately — note them clearly so nothing is missed.
For each fix the developer approves from the review findings, make the change, run the test suite to confirm nothing regressed, and commit with a message referencing the IID.
Before marking the MR ready, verify the issue's acceptance criteria against the actual implementation. Present the results — which criteria are met, which are partially met, and which are unmet with a clear explanation.
If any acceptance criteria are clearly unmet, warn the developer explicitly before proceeding. The developer decides whether to address them now or proceed to review — that decision is theirs to make, not yours to make for them.
Use mcp__gitlab__list_pipelines to find any pipeline running or completed on the feature branch. Use mcp__gitlab__get_pipeline for details if a pipeline exists. Report the status clearly.
If the pipeline is failing, surface that clearly — the MR will likely be blocked from merge until it passes. The developer decides whether to address the failures before marking ready or to proceed with the pipeline in its current state.
If no pipeline has run yet, note that.
Before marking ready, assess whether any in-repository documentation (README files, docs/ directory, inline documentation) is relevant to the changes being introduced and needs updating to remain accurate. The question is maintenance: does the existing documentation still accurately describe the system after these changes?
This is not an invitation to generate new documentation the team didn't ask for. The scope is limited to existing documentation that would be misleading or incomplete if left as-is.
Present your assessment to the developer. If any documentation updates are warranted, describe what needs changing and why, and wait for explicit confirmation before making any changes.
Push the branch to origin. Then:
draft: false)Closes #[IID] — this is mandatory. GitLab uses this to automatically close the issue when the MR merges to the default branch. Without it, the issue stays open after merge.references/example-mr-description.md for what a well-formed MR description looks likeFetch current issue labels, remove "In Progress", add "In Review", then update.
After the MR is marked ready and all reviews are complete, offer to clean up the plan file:
"The plan file at
.teamcraft/plans/[IID].mdis no longer needed — the implementation is complete and the MR is open for review. Want me to delete it?"
If yes, delete the file. If the .teamcraft/plans/ directory is now empty, delete it too. If no, leave it.
Share the MR URL. The MR is now open for teammate review. Any approved changes are committed, deferred items are noted in the MR description, and the issue reflects the current status.
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
development
Run pre-PR reviews (code health, security, acceptance criteria), address findings, and submit the PR for review. Ends when the PR is ready and CI has passed. Use when implementation is done and ready for review, or when the user says "I'm done coding", "validate this", "ready for review", "submit this for review", "run the pre-PR reviews", or "prepare this for review".