implement-spec
Skill225 starsChanged 3 months agoApache-2.0View on GitHub
The discipline for implementing any spec or planned change in this repo — breakdown per aspect, red acceptance first, aggressive self-review, live verification like a human (browser included for site work), the detail pass, and the truth sweep. Load before writing the first line of an implementation.
129 other projects use a version of this.
Adopted by
Most recently taken up by
- halilural/imprimaturtheir own version, first seen Nov 16, 2026
- dorian-akhs/skillstheir own version, first seen Nov 16, 2026
- clnnn/playbooktheir own version, first seen Nov 16, 2026
- ericmasiello/skillstheir own version, first seen Nov 16, 2026
- zanellig/skillstheir own version, first seen Nov 16, 2026
- jjsizemore/jjskillstheir own version, first seen Nov 16, 2026
Used with
Projects with it also use implement-spec-with-codex, close-spec and 9 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.
dzhngSkillimplement-spec-with-codex
Run [implement-spec](../implement-spec/SKILL.md) with Codex doing the implementation passes while you orchestrate, integrate, and review. Use when the user asks to implement a spec with Codex, or to run implement-spec with Codex as the implementer.
Also in 4 projects that use this
dzhngSkillclose-spec
When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).
Also in 4 projects that use this
wolverin0Skillaudit-decisions
Standardize remediation decisions, baseline-policy entries, and legal-review banners for accepted, deferred, or policy-blocked audit findings.
Also in 4 projects that use this
saffron-healthSkillget-pr-reviews
Get nicely formatted output of the last review comments on a PR. Used internally by other skills.
Also in 3 projects that use this
saffron-healthSkillpush-everything
Stage ALL changes in the repository (not just session changes), commit, and push. Use when you need to commit all pending changes.
Also in 3 projects that use this
transitive-bullshitSkillcompare-screenshots
Compare screenshots against the intended design, distinguishing approved references from historical baselines. Use for iterative implementation matching, before/after visual review, objective image telemetry, or checking a lone capture for flat, empty, or badly framed content.
Also in 4 projects that use this
- +4 more from dzhng
Other versions129 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 129
- mattpocock/skills★ 325ksame name
- formbricks/formbricks★ 13ksame name
- ArcReel/ArcReel★ 6.6ksame name
- vinvcn/mattpocock-skills-zh-CN★ 5.8ksame name
- withcoral/coral★ 5ksame name
- dzhng/jevgrep★ 3.2ksame name
- dzhng/skills★ 1.5ksame name
- a16z/jolt★ 1.1ksame name
- cashew-labs/libretto★ 911same name
- saffron-health/libretto★ 911same name
119 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 repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- find-skillsSkill
- mcp-builderSkill
- releaseSkill
- site-designSkill
- skill-creatorSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 121 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Read the spec twice. Decompose it into aspects — every contract clause, every negative promise, every error slug, every acceptance line is …
- Distinctive: line 37
Before "done", attack your own work the way this repo attacks specs:
- Distinctive: line 88
If you cannot tell whether you are done, you skipped step 2.
“Common” is measured: kept by at least 6 in 10 of the 121 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
Implementing a spec
The spec is the contract; this skill is how the contract becomes code without losing anything on
the way. It exists because prose discipline drifts and checklists don't — follow it in order.
(Until specs/ exists here, "the spec" is the plan or decision the change implements —
research/ plans and AGENTS.md → Decisions entries count.)
1 · Breakdown before code
Read the spec twice. Decompose it into aspects — every contract clause, every negative promise, every error slug, every acceptance line is an aspect. Write the list into the working branch's commit plan. An aspect with no test planned is a hole: fix the plan, not later.
2 · Red first
Turn the spec's acceptance into failing tests before any implementation — integration tests verbatim where the spec gives observable behavior, unit tests for what it marks unit-tier. Run them; watch them fail for the right reason. The implementation's job is to turn exactly these red lights green — nothing more. If implementing reveals the acceptance is wrong, fix the spec in the same commit (code wins; supersession visible).
3 · Implement in aspect-sized commits
One aspect, its test, its code — smallest change that proves the next assumption. Never batch five aspects into one commit; review dies there.
4 · Aggressive self-review before declaring anything
Before "done", attack your own work the way this repo attacks specs:
- Re-read the spec clause by clause against the diff — every clause either has a passing test or a written reason it can't.
- Hostile pass: what did I not handle — interruption, empty input, weird names, missing binary, no network, wrong platform? The error contract is the map; every failure path must be reachable and tested.
- For anything non-trivial, run the repo's adversarial pattern: independent reviewers with distinct
lenses (
/code-reviewat high effort, or spawn review agents). Findings get fixed or recorded — never quietly dropped.
5 · Live verification — like a human
Tests prove clauses; only running the thing proves the product. Before done:
- Walk the real path by driving the real CLI: the actual command a user runs, on a clean directory, timed. Read the actual output — is the error's remedy real? Is the handoff next step correct right now?
- For anything with a page: open it. Build the fixture site, serve it, and verify in a real browser context (playwright when available; curl + DOM assertions minimum): the page renders, the title is right, the css token actually applies, dark and light both, zero console errors, zero failed/external network requests, click the nav, run a search. The predecessor's flat-layout bug shipped because nobody loaded the page — that class of failure is yours to prevent.
- Never certify a cached environment. The predecessor certified a stale wheel because its
install cache was keyed on a stable path and a permanent
0.0.0version — a hand-run walk installed last run's artifact and reported on code that no longer existed (2026-08-14: a 24KB theme tarball certified while the staged one was 66KB). The npm analog: never verify from a reused install dir or a stale global link.pnpm packthe package and install the tarball into a fresh temp directory for every walk. If a live result contradicts the code you just wrote, suspect this before suspecting the code. - Record what the live run taught beside the code (
found live: …comments) — the predecessor's convention, and the reason its scars don't repeat.
6 · The detail pass
Detail is the product. Before done: every error carries its remedy · every printed path is real ·
--json envelopes (where they exist) are complete and stable · empty states and first-run output
read as designed · measured constants carry date and method · no present-tense claims about
unbuilt behavior anywhere in the diff.
7 · Truth sweep and gate
Any document the change made false is corrected in the same commit (README, AGENTS.md,
docs/status.md, the spec itself). Then the full local gate: pnpm lint:ci && pnpm fmt:ci &&
pnpm typecheck && pnpm guard && pnpm check:corpus && pnpm test:unit && pnpm build &&
pnpm test:integration && pnpm publint. Done means: acceptance green on a clean machine, docs true, findings
resolved or recorded.
The rule under all of it
If you cannot tell whether you are done, you skipped step 2. If you are sure you are done but haven't run it, you skipped step 5 — and that's the step that catches what everything else misses.
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.

