skills/implement/SKILL.md
Execute the approved plan batch by batch with team-first parallel execution and human-in-the-loop checkpoints.
npx skillsauth add gregrossdev/gig gig:implementInstall 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.
Read .gig/STATE.md and display:
Version: {version} | Iteration: {iteration} | Status: {status}
If .claude-plugin/plugin.json exists, read the name and version fields and append to the header:
| Plugin: {name} v{version}
If .claude-plugin/plugin.json does not exist, skip silently.
Read .gig/STATE.md, .gig/PLAN.md, and .gig/DECISIONS.md.
If status is NOT "GATHERED" and NOT "IMPLEMENTING":
Say: "No approved plan found. Run /gig:gather first." STOP.
If all batches in the active iteration are done:
Say: "All batches complete. Run /gig:govern to validate." STOP.
Reference: .gig/GIT-STRATEGY.md for full conventions.
If in a git repository and no feature branch exists for this iteration:
git status for uncommitted changes.
git checkout -b feature/v0.{N}-{iteration-name}If feature branch already exists (resuming), switch to it:
git checkout feature/v0.{N}-{iteration-name}
Before executing, scan all pending batches and classify:
If 2+ independent batches are ready simultaneously, proceed with team mode (Step 4a). Otherwise, execute the next batch in-session (Step 4c).
When 2+ independent batches are ready:
Hard cap: launch at most 2 parallel agents at a time. If 3+ batches are independent, run the first 2 in parallel, then the next 2, etc. This avoids agent initialization hangs with 3+ concurrent agents.
isolation: "worktree".
Each agent receives a prompt containing:
.gig/GIT-STRATEGY.md for commit and branch conventionsfeature/v0.{N}-{iteration-name}/batch-{P}git merge feature/v0.{N}-{iteration-name}/batch-{P} — resolve conflicts if any.git worktree remove {worktree-path}git branch -D feature/v0.{N}-{iteration-name}/batch-{P}If a team agent fails:
If only 1 batch is ready, execute it in-session instead.
After completing a batch:
If in a git repo and verification passed:
git add -A or git add .).{type}(v0.{N}.{P}): {batch description}
For unplanned batches, add [UNPLANNED] to the commit body:
fix(v0.{N}.{P}): {description}
[UNPLANNED] — inserted during iteration {N} implement.
If not in a git repo, skip commit but still update state.
After each batch:
Update .gig/STATE.md:
0.{N}.{P})IMPLEMENTING.claude-plugin/plugin.json exists, read its version field and update this row. Otherwise leave as —.Update batch status in .gig/PLAN.md from pending to done.
After a batch passes verification, show a brief status line and auto-continue to the next batch:
Batch {N}.{P} done — {batch title}. Continuing...
Do NOT stop. Do NOT prompt. Proceed directly to Step 3 for the next batch.
The user can interrupt at any time by typing. If they do:
fix [thing] — Increment PATCH, tag [UNPLANNED], execute the fix, insert into PLAN.md, shift subsequent versions, resume.revise [decision ID] — Update DECISIONS.md (mark old AMENDED, append new as ACTIVE), assess impact on remaining batches.pause — Update STATE and stop.amend [REQ-X] — Tier 3 spec amendment. Pause execution and run impact analysis:
.gig/SPEC.md and increment the version header (e.g., Spec v1.0 → Spec v1.1).## Amendments section:
AMD-{N}: Tier 3 — {description of what changed}. Affected: {REQ IDs}. Reason: {why the change is needed}.
/gig:gather with the amended spec. Re-evaluates all remaining decisions and batches.If verification FAILS (Step 5): STOP and present the error:
Batch {N}.{P} failed verification. {What failed and why}
- Fix — attempt to fix the issue and re-verify.
- Skip — mark batch as skipped (must address in governance).
- Stop — save state and halt implementation.
Wait for user direction before proceeding.
When all batches are done:
.gig/STATE.md: set Status to IMPLEMENTED./gig:govern to validate and complete the iteration."tools
Show current state and suggest the ONE next action to take.
testing
Deep-dive a topic using subagents. Feeds findings into decisions or working memory.
testing
Create milestones with spec elicitation, complete milestones, manage ROADMAP.md, tag releases.
tools
Create structured lesson plans for learning new concepts or following courses.