spec-authoring
Skill0 starsChanged 3 months agoMITView on GitHub
Use when writing, refining, clarifying or reviewing a Trellis spec, when the user describes something they want built, or when a spec must be checked for readiness before an unattended run.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- AlexCiortan/setlisttheir own version, first seen Oct 29, 2026
- NashEQify/forgetheir own version, first seen Oct 25, 2026
- attilaszasz/sdd-pilottheir own version, first seen Oct 20, 2026
- sanzhardanybayev/synergytheir own version, first seen Oct 13, 2026
- galimba/agentic-builder-forgetheir own version, first seen Oct 13, 2026
- cypher0n3/dotagentstheir own version, first seen Oct 11, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- attilaszasz/sdd-pilot★ 98same name
- Muvon/octomind-tap★ 6same name
- galimba/agentic-builder-forge★ 4same name
- cypher0n3/dotagents★ 3same name
- AlexCiortan/setlist★ 2same name
- NashEQify/forge★ 2same name
- sanzhardanybayev/synergy★ 2same name
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 repository9 other files it gives its agents.
- accessibilitySkill
- clean-codeSkill
- component-designSkill
- documentationSkill
- feedback-and-performanceSkill
- mockupsSkill
- securitySkill
- stack-selectionSkill
- testingSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
If any line fails, the status is clarifying, not ready.
- Very specific: line 84
When splitting, set depends so the order is unambiguous, and make sure each piece still delivers something observable.
- Distinctive: line 108
Read the spec fully before writing anything.
“Common” is measured: kept by at least 6 in 10 of the 7 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
Spec authoring
A spec is a contract that an unattended run must be able to satisfy without asking a single question. Everything ambiguous is resolved here, while the user is present. This is the only phase where you interrogate; implementation runs silent.
Readiness checklist — verify before declaring a spec ready
Run .claude/scripts/spec-lint.py <id>. It enforces every mechanical check below, and the
pre-commit hook runs it too, so a failing spec cannot reach ready. The list is here so you know what
it checks and why — not so you can check it by eye.
Open questionsis empty- Every acceptance criterion is in EARS form and observable from outside the system
- Every acceptance criterion is testable — you can name the test that would fail if it broke
estimateis set and does not exceedstandards.specMaxMinutesintrellis.jsondependslists every spec that must land first, and none of them are unfinishedOut of scopeis non-empty — if nothing is out of scope, the boundary hasn't been thought about- If
surfacesincludesui: every state inStatesis filled in, andmockuppoints at an approved design - No criterion contains "etc.", "and so on", "appropriate", "reasonable", "properly", "as needed", or "handle"
- Nothing in the spec requires a decision you have not been given
If any line fails, the status is clarifying, not ready.
The interview
Your job is to find the decisions the implementation would otherwise have to invent. Ask about all of these before declaring readiness. Ask in batches, not one at a time.
Behaviour
- What exactly happens on success? What does the user see next?
- What are the failure modes, and what happens for each?
- What are the boundaries — empty, one, many, very many, too many?
- What happens on a repeat action, a double submit, a stale page?
Data
- What is stored, and what is derived?
- What is required, what is optional, what is validated and how?
- What happens to existing data — is a migration needed?
- Who can see it, who can change it?
Interface (when surfaces includes ui)
- What does it look like while loading? With nothing in it? When it fails?
- What is the exact copy? Do not let copy be decided during implementation.
- What happens on a small screen?
- What is focused first, and what is the tab order?
Edges
- Permissions — what does an unauthorised user see?
- Concurrency — what if two people do this at once?
- Rate limits, abuse, cost
Explicitly out of scope
- What is a reasonable person going to assume is included that isn't?
Writing acceptance criteria
Each criterion becomes at least one test. Write them so the test is obvious.
Bad — untestable, hides three decisions:
The system shall handle invalid input appropriately.
Good — three criteria, three tests:
- If the email field does not contain an
@, then the system shall display "Enter a valid email address" beneath the field and shall not submit the form.- If the form is submitted while a submission is already in flight, then the system shall ignore the second submission.
- When submission fails with a network error, the system shall keep the entered values and display "Something went wrong. Try again."
Notice the third criterion specifies the copy. If you don't, implementation will invent it.
Sizing
standards.specMaxMinutes exists because an unattended run's reliability decays with length — the
probability of finishing correctly drops far faster than the time budget suggests. A spec that estimates
above the cap must be split, not attempted.
Split vertically, not by layer. Each spec should be independently shippable and independently testable. "The database table" is not a spec; "a user can save a draft" is.
When splitting, set depends so the order is unambiguous, and make sure each piece still delivers
something observable.
Status lifecycle
draft ──▶ clarifying ──▶ ready ──▶ building ──▶ verifying ──▶ done
▲ │
└──────── blocked ◀──────┘- draft — being written
- clarifying — open questions outstanding; needs the user
- ready — passes the readiness checklist; an unattended run may pick it up
- building — implementation in progress
- verifying — implemented, gates running
- done — all gates green, every criterion has a passing test, merged
- blocked — a run stopped;
## Blockedrecords the single specific question
Status is stored in frontmatter but must reflect reality. Never mark done on the strength of your own
assessment — done means the gates passed.
When you are the one implementing
Read the spec fully before writing anything. If you find an ambiguity mid-implementation:
- If a human is present, stop and ask. That is the correct behaviour, not a failure.
- If running unattended, stop, set status to
blocked, and write## Blockedcontaining exactly one clearly-stated question. Do not guess. Do not implement a "reasonable default" and note it. A blocked spec costs one morning decision; a guessed spec costs trust in the whole system.
Anti-patterns
- Answering an open question in conversation and leaving it in
Open questions— move it into the spec - Acceptance criteria that describe implementation rather than behaviour
- A spec with no
Out of scope - Marking
readybecause the user seems impatient - Splitting by layer, producing specs that can't be tested alone
- Copy invented during implementation
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.

