Install any skill in seconds. Free to start, no credit card required.
Get Started Free →bartsoj/SPEC.md
Produce an implementation-complete specification for a single work unit — file manifest, public interface contract with full signatures, ordered behavioral paths, error catalog bound to registered `ERR_CODE`s, test specifications, and design-layer citations (`INV-NN`, `EVT-name`, `SM-*`, `SAGA-*`, `METRIC-*`, `SLO-*`, `THREAT-NN`, `MIT-NN`, `UC-NN`, data aggregates).
Passed 18 of 22 test cases with the skill, and 10 of 22 without it.
and 8 more in the full report
10 fixed9 passed either way3 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 10 test cases the skill fixed. Same model, same prompt, with and without the skill.
We are finalizing `units/export/u09/SPEC.md` for implementation. All design choices have been settled during review. What text must appear in Section 10 'Open Questions' before implementation can begin?
| Checked | Without skill | With skill |
|---|---|---|
| Section 10 contains the text 'All questions resolved.' when no unresolved open questions remain | Missed | Passed |
The instructions your model reads when the skill loads.
Produce a SPEC.md that serves as the single source of truth for implementing one work unit: a file manifest, every public symbol with a full signature, every behavioral path as ordered prose, every error as an ERR_CODE row bound to ERRORS.md § 3, every test as a setup/action/assertion triple, and every design-layer citation (invariants, events, state machines, sagas, metrics, SLOs, threats, mitigations, use cases, data aggregates) the unit touches. The defining discipline — and the definition of "done" — is that the gap between SPEC and code is purely mechanical: an implementing agent reading only this file (and the dependency SPECs it cites) produces the implementation without making any architectural, behavioral, or naming decisions of its own.
The commonest violation is silently picking an answer for a design-level question instead of surfacing it. When the design suite is silent, ambiguous, or contradictory on a question the unit must answer — a wire shape, an error code, a lock granularity, a field name — the question belongs in § 10 Open Questions with options, tradeoffs, and a recommendation. Do not invent. The SPEC must never introduce a design decision that is not already traceable to DOMAIN, INTERFACES, BEHAVIOR, ERRORS, QUALITY, SECURITY, DATA, or USE_CASES.
roadmap/<NNN>-<slug>/ROADMAP.md (planned work) and/or issues/<NNN>-<slug>/ISSUE.md (defects in shipped code) that initiated this unit. Read the body and frontmatter end-to-end: the trigger states what the unit must deliver, its acceptance criteria, and the area it belongs to.units/<area>/u<NN>/SPEC.md with frontmatter populated (unit, kind, area, trigger, status: in-design, and possibly initial depends_on / supersedes / related candidates). Empty list fields (files: [], concepts: [], owns_ids: []) are placeholders this skill fills in. The SPEC body is what this skill writes. Path: units/<area>/u<NN>/SPEC.md.D-NNN referenced from the trigger or from any cited design artifact. Discovery mechanism: follow D-NNN citations and read each referenced decision at decisions/D-NNN-slug/DECISION.md.units/<area>/, plus frontmatter grep on overlapping concepts and files, plus units named in the new unit's stub frontmatter depends_on / supersedes / related). These are the source of truth for the exact type names, function signatures, and interface shapes the new unit may import or rewrite. Read every supplied dependency SPEC end-to-end — truncated reads on dependencies cause silent signature drift.Size hint already calibrated against earlier drafts. Re-run citations against the current registries — do not assume stale INV-NN or ERR_CODE are still valid.Read-set size: trigger(s) + DOMAIN are always read; 3–6 further artifacts depending on the orchestrator-supplied read set (related-unit SPECs + the design-layer registries this unit actually cites). Read every supplied dependency SPEC end-to-end — truncated reads on dependencies cause silent signature drift.
test cases passed, vs 10 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.