implement
Implement a piece of work based on a spec or set of tickets.
Resumen
Implement the work described by the user in the spec or tickets on a separate worktree, based off of the current branch.
Claim the issue first
Before editing any files, claim the issue you are implementing so a colliding agent skips it (see docs/agents/triage-labels.md). If the work maps to an issue number N:
First, check for an existing claim with gh issue view N --json labels,comments. If in-progress is already set, another agent may be on it: read the latest 🤖 in-progress comment, inspect that branch's real state (open PR? commits? or an empty/abandoned branch?), and skip or coordinate instead of duplicating. Claim only if the issue is free, or the prior claim is clearly abandoned (no open linked PR, the reaper's rule).
Then claim:
gh issue edit N --add-label in-progress --remove-label ready-for-agent
gh issue comment N --body "🤖 in-progress: <branch> (<session>) <date>"Idempotent: re-running /implement on the same issue must not error: adding a present label, dropping an absent ready-for-agent, and re-commenting are all tolerated. The claim comment must name the working branch (a colliding agent inspects that branch's state, not a lingering worktree).
Release the claim
When you open the PR (work handed to review), release the claim: gh issue edit N --remove-label in-progress. If the flow ends without opening a PR, leave the label; the cleanup-merged-branches reaper releases abandoned claims. Do not restore ready-for-agent on success; the issue closes on merge.
Use /tdd where possible, at pre-agreed seams.
Run typechecking regularly, single test files regularly, and the full test suite once at the end.
Once done, use /code-review to review the work.
Commit your work to the current branch.
Close any Chrome tabs you opened during this session before creating the PR.
Archivos 2 archivos
Instálala a mano
Deska ejecuta esto por ti, para cada agente que elijas. Para ejecutarlo tú en una terminal:
npx skills add timschoch/mattpocock-skills --skill implementMás de timschoch
- ask-matttimschochAsk which skill or flow fits your situation. A router over the skills in this repo.1 instalaciones en skills.sh0
- codebase-designtimschochShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.1 instalaciones en skills.sh0
- code-reviewtimschochReview the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/spec asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to \"review since X\".1 instalaciones en skills.sh0
- diagnosing-bugstimschochDiagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.1 instalaciones en skills.sh0
- domain-modelingtimschochBuild and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.1 instalaciones en skills.sh0