implement
Skill3 starsChanged 2 months agoMITView on GitHub
Implement one Laravel work item end to end, or every ticket of a spec in one run: scope and claim it when trackable, TDD at chosen seams, commit, review, verify, resolve it, and open a PR when asked.
193 other projects use a version of this.
Adopted by
Most recently taken up by
- mattpocock/skillstheir own version, first seen Oct 8, 2026
- AlexisBalayre/claude-code-configtheir own version, first seen Oct 5, 2026
- KroxiDev/engineering-skillstheir own version, first seen Oct 5, 2026
- ofweb/skillstheir own version, first seen Oct 5, 2026
- roby2358/skillstheir own version, first seen Oct 5, 2026
- michielvandermeer/skillstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use setup-ts-deep-modules, ask-matt and 4 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
loulanyueSkillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 17 projects that use this
AWSSkillask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Also in 36 projects that use this
ArvorCoSkillspecify
Create feature specification from natural language description. Use when starting a new feature or creating a spec. Triggers on: create spec, specify feature, new feature spec.
Also in 12 projects that use this
qwlabsSkillclaude-handoff
Hand the current conversation off to a fresh background agent that picks up the work immediately.
Also in 18 projects that use this
RoentekSkillloop-me
Grill me about specs for the workflows I want to build, within this workspace.
Also in 22 projects that use this
RoentekSkillwriting-beats
Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.
Also in 18 projects that use this
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- mattpocock/skills★ 335ksame name
- vinvcn/mattpocock-skills-zh-CN★ 4.6ksame name
- huggingface/OpenEnv★ 2.6ksame name
- stevesolun/ctx★ 588same name
- nodetool-ai/nodetool★ 551same name
- aws/graph-explorer★ 484same name
- boshu2/agentops★ 447same name
- devcxl/mattpocock-skills-zh★ 426same name
- bighadj22/codflow★ 338same name
- ninehills/skills★ 280same name
183 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- architecture-satisfactionSkill
- autopilotSkill
- browser-testSkill
- chatter-scoutSkill
- codebase-designSkill
- code-reviewSkill
- code-smells-auditSkill
- commitSkill
- dependency-auditSkill
- diagnosing-bugsSkill
- distill-sessionsSkill
- domain-modelingSkill
- fix-ci-failuresSkill
- fix-github-issuesSkill
- fix-nightwatch-issuesSkill
- fix-posthog-issuesSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- housekeeperSkill
- improve-codebase-architectureSkill
- laravel-herd-worktreesSkill
- panelSkill
- prototypeSkill
- releaseSkill
- repository-cleanupSkill
- researchSkill
- resolve-review-commentsSkill
- resolving-merge-conflictsSkill
- scratch-cleanupSkill
- scratch-statusSkill
- setupSkill
- tddSkill
- teachSkill
- to-questionnaireSkill
- to-specSkill
- to-ticketsSkill
- triage-github-prSkill
- triageSkill
- verifySkill
- wait-whatSkill
- wayfinderSkill
- which-skillSkill
- wizardSkill
- writing-for-agentsSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 3 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 175 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Never: run migrate:fresh, migrate:rollback, or another destructive database operation without explicit approval.
- Distinctive: line 19
Verify identifiers before using them: route names, config keys, enum values, icon names, and package APIs.
- Distinctive: line 38
If the item is already claimed or in progress, stop.
- Very specific: line 40
After claiming, or after scoping conversation-only work, record the output of git rev-parse HEAD as immutable base_sha.
- Very specific: line 52
Run the tdd skill at the chosen seams.
- Very specific: line 80
Run the verify skill. A product failure returns to steps 3–6 before verification runs again.
- Distinctive: line 82
If an external dependency prevents verification, keep the committed implementation, report the exact blocker, and leave the work item open.
- Very specific: line 89
wayfinderdecision ticket: use the Wayfinding Resolve operation.
“Common” is measured: kept by at least 6 in 10 of the 175 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Implement
Implement exactly one work item per session, test-first and verified end to end. A work item is a ticket, a spec small enough for one session, or an agreed conversation scope. The one exception is a spec run, which builds every ticket of a spec in one session.
Spec runs and PR delivery live in references/spec-run.md. Read it before step 1 when the user asks to build a whole spec (all, "implement all of …"), or asks for a branch, a worktree, or a PR, or asks for a change to work already delivered as a PR.
Pipeline position: wayfinder (decide) → to-spec (write the spec) → to-tickets (break it into tickets) → implement (build one ticket per session, review and verify inside).
Laravel guardrails
- Never run
migrate:fresh,migrate:rollback, or another destructive database operation without explicit approval. Put schema changes in new migrations; sequence live-table changes expand–contract. - Verify identifiers before using them: route names, config keys, enum values, icon names, and package APIs. A manifest entry alone does not prove registration or use.
Process
1. Scope and claim the work
Classify the input and make its acceptance criteria explicit:
- Ticket: fetch its full body and comments. From its parent spec, load the Build Contract section first when present, then the headings the ticket names or the implementation reaches. Read direct blockers'
Resolutionsections for handed-forward seams; load other closed tickets and the map only on demand. Awayfinderdecision ticket is eligible only when its type istask; stop on the other types because they decide rather than build. Ataskis manual unblocking work, not code, do it yourself where you can, otherwise hand the human the precise checklist fromticket-types; get explicit approval before any destructive or irreversible step, record the resulting facts, and Resolve. It skips the seams/TDD/commit/review/verify loop (steps 2–7), which assume code changes. The ticket is the work item. - Spec: fetch its full body and comments. If it holds more than one independently deliverable ticket or cannot fit one session, it needs tickets: with its
tickets/published and a spec run asked for, run the spec run; otherwise stop and tell the user to runto-tickets. A spec that fits one session is itself the work item. - Conversation: restate the scope and behavior criteria in a few lines. It has no tracker claim or resolution.
Work items are markdown files under .scratch/: there is no external tracker. When launch context already identifies the selected file, its status, and blockers, revalidate those exact files rather than rereading the tracker layout. Otherwise read the layout once through .agents/issue-tracker.md (written by /setup). If it's missing, try docs/agents/issue-tracker.md (legacy), then the setup skill's seed. Confirm every direct blocker is closed through the item's blocked-by frontmatter, and stop before claiming if any remain open. Then claim before building:
- On a ticket from
to-tickets, or a directly implemented spec, set its frontmatterstatus: in-progressandclaimed-by:to a session-unique value, then re-read to confirm you won the claim (compare-after-write, see the tracker's Working in parallel rules). A spec built directly is claimed exactly like a ticket; it is the file you build from, not a parent to leave alone. - On a
wayfinderdecision ticket, use the Wayfinding Claim operation (claimed-by).
A ticket or spec is trackable: its frontmatter status is the state of record. Some repos also keep a ledger or prose summary of efforts in their tracker doc; update it when the repo asks, but it never replaces the frontmatter write. Building in a linked worktree changes nothing: write and commit the frontmatter there, and it reaches the main checkout when the branch merges.
If the item is already claimed or in progress, stop; treat the claim as stale only when its work is visibly committed or clearly abandoned.
After claiming, or after scoping conversation-only work, record the output of git rev-parse HEAD as immutable base_sha. Use that exact SHA for review and for proving failures pre-existing.
Finish this step only when the work fits one session, its acceptance criteria are explicit, every trackable item is claimed with blockers closed, and base_sha is recorded.
2. Choose the seams
Use the ranking and selection rules in the tdd skill's Seams: where tests go section. Reuse seams already recorded in the spec; otherwise choose them yourself and state the choice: one line per seam, no approval round. Seam placement is test structure, which grilling's What still earns a question hands to you, and the rules are the single source of truth. Ask only on a genuine fork the rules rank equally where the two placements would make materially different work.
Finish this step when every acceptance criterion has a seam.
3. TDD loop
Run the tdd skill at the chosen seams. Discover the repository's focused-test and static-analysis commands from its scripts and existing usage; run the focused test each cycle and static analysis regularly when configured.
Finish the loop only when every acceptance criterion is covered at a chosen seam, every focused test passes, and configured static analysis is green.
4. Format and commit a reviewable checkpoint
Run the repository's configured formatter on the paths you touched (vendor/bin/pint <paths> for Pint), so a parallel session's uncommitted files stay as they are. Check git status --porcelain, stage only work-item files by explicit path, and leave foreign changes unstaged. Commit to the current branch (PR delivery created it before step 1); this step creates no branch or worktree. Record the paths you touched; review scopes to them (next step), so a parallel session's commits on the same branch neither get staged here nor reviewed there.
Finish this step with every work-item change committed, every foreign change untouched, and the checkpoint commit SHA recorded.
5. Review
Run the code-review skill against base_sha, scoped to the work-item paths you recorded (so concurrent commits on the shared branch stay out of the range). Resolve every actionable finding through the tdd loop, rerun affected focused checks and static analysis, format, stage explicit paths, and commit the fixes. Re-run code-review after each fix commit.
code-review's Correctness axis hunts bugs and failure modes; its BLOCKING and MAJOR findings are actionable like any other. A fix that adds a mechanism (job, lock, claim, retry) is new surface, so the re-review after that fix commit covers it. Whatever this step misses goes to the PR's review bots, one round per push.
Finish this step only when review reports no unresolved actionable findings and every work-item change is committed.
6. Run the final automated checks
Ask the user first (via AskUserQuestion where available, otherwise a plain question in chat) whether to run the full test suite as the final automated gate. If they decline, skip the full run (the focused tests from step 3 stand as the automated evidence) and record the skip so step 8 reports it plainly.
When approved, run the repository's documented full-suite command: its AGENTS.md or CLAUDE.md, composer scripts, or CI workflow names it; use php artisan test only when none does. A run that can outlast the foreground limit goes to the background (Bash run_in_background where available). Then end the turn with no reply and let its completion notification wake you; a check-in that only says it is still running costs the user a turn. Fix failures caused by the work. Prove an unrelated failure pre-existing against base_sha, then note it plainly instead of expanding scope.
Any code fix returns to steps 3–5 before this gate runs again. Finish this step when the user declined the full run, or when every caused check passes and every remaining failure has base-SHA evidence.
7. Verify end to end
Run the verify skill. A product failure returns to steps 3–6 before verification runs again. Successful verification is required to resolve a trackable work item.
If an external dependency prevents verification, keep the committed implementation, report the exact blocker, and leave the work item open. Mark nothing verified on inference alone.
8. Close the loop
After successful verification, record what was built, any justified deviation, verification evidence, the implementation commit SHA or SHAs, and any public seam a direct successor should reuse; check off every satisfied acceptance criterion. This Resolution is the successor handoff, so keep the seam and evidence concrete without retelling the parent spec. Resolve the work item according to its branch:
- Ticket, or a directly implemented spec: set its frontmatter
status: closedand append## Resolution. Writeclosedexactly, never an invented value such asbuiltordone. wayfinderdecision ticket: use the Wayfinding Resolve operation.- Conversation: report the result without touching any file under
.scratch/.
Leave every parent open; a ticket never closes its spec, and implement never touches the map (the map was already closed by to-spec, or by a spec-less to-tickets, when the spec or tickets were written). A spec is complete when every ticket in its tickets/ is closed; a derived state you report, not a status you write onto the spec. When the spec itself was the one-session work item, close that spec directly. Keep the resolution write out of code commits: if .scratch/ is tracked, commit it separately; never fold it into an implementation commit. Resolution text cites the implementation commits, never its own closure commit.
For trackable work, re-read the markdown file after writing it and verify its frontmatter reads status: closed with a ## Resolution section.
Finish when the implementation commits and any separate resolution commit are recorded and the tracker's final state is verified, or the conversation-only result is reported. Then stop; any next work item gets a fresh session with a clean context.
When you're done
Print the end-of-session block using the frame in wayfinder/references/pipeline-end-block.md. For a trackable work item with a parent, check the markdown tracker for the remaining frontier before writing the block, don't guess at what's left.
---
Pipeline: decide → spec → tickets → **build** (4 of 4)
Done: <what now works, the work-item ref if any, commit(s), verification state>
Next:
• <condition> → /<skill> <ref>Stage-specific Next conditions (only those that apply, most likely first):
- A PR is open and review bots are still running →
/resolve-review-comments <PR>once they post; name the PR and the worktree path - More frontier tickets on the parent spec →
/clear, then/implement <next frontier ticket>(resume your own claimed-but-unfinished ticket first if you stopped mid-work), or/implement <spec path> allto build the rest in one run; name it and how many remain - Every ticket on the spec is closed → nothing to run; say the spec is complete and name anything deferred out of scope
- Remaining tickets are all blocked →
/implement <the blocker>first, or/grill-meif the blocker is a decision - The build exposed a decision nobody made →
/grill-meon it, then re-run/to-specif the spec is now wrong - Verification is externally blocked → keep the work item open and name the exact unblock condition
- Stopped mid-work → say what passes, what is committed or uncommitted, the claim state, and the next red test to write; resume that ticket next session before taking a fresh one, or Release it to hand it back to the frontier
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

