spec
Skill1 starsChanged yesterdayMITView on GitHub
Use when the user says 'spec', before any edit to spec/*.md, when refining domain terminology, developing or reviewing a behavioral specification, changing terminology or behavior while prototyping, or implementing against an existing spec.
193 other projects use a version of this.
Adopted by
Most recently taken up by
- Facta-Dev/beautifulqttheir own version, first seen Nov 29, 2026
- Facta-Dev/beautifulnodejstheir own version, first seen Nov 29, 2026
- TheAxeC/ordotheir own version, first seen Nov 29, 2026
- romerma/mstacktheir own version, first seen Nov 29, 2026
- justincordova/agentstheir own version, first seen Nov 29, 2026
- swimmesberger/Elariontheir own version, first seen Nov 29, 2026
Used with
Projects with it also use backprop, ios-clean and 10 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.
JuliusBrusseeSkillbackprop
Bug → spec protocol. When a bug is found or a test fails, trace the cause, decide whether a new §V invariant would catch recurrence, append to §B. This is the one non-obvious thing SDD does that plan-then-execute doesn't. Triggers on test failure, bug report, post-mortem, or explicit user ask.
Also in 4 projects that use this
Saqlain-811Skillios-clean
Remove the DebugBridge SPM package and all #if DEBUG wiring from an iOS app. (gstack)
Also in 5 projects that use this
Saqlain-811Skillios-fix
Autonomous iOS bug fixer. (gstack)
Also in 5 projects that use this
bastosSkillios-design-review
Review iOS app UI/UX design quality using Apple's design principles and the Liquid Glass-era design language from WWDC25/26. Use when asked for a design review, UX critique, visual design assessment, or evaluation of an app's interface quality, design intent, alignment with the new Apple design system, or usability. Triggers: "design review", "UX review", "visual design critique", "review the UI", "does this design work", "evaluate this interface", "design feedback", "Liquid Glass review".
Also in 5 projects that use this
timurgaleevSkilldocument-generate
Generate missing docs for a feature, module or project as tutorials, how-tos, reference and explanation.
Also in 6 projects that use this
ShreyRaviSkillplan-tune
Self-tuning question sensitivity + developer psychographic for gstack (v1: observational). Review which AskUserQuestion prompts fire across gstack skills, set per-question preferences (never-ask / always-ask / ask-only-for-one-way), inspect the dual-track profile (what you declared vs what your behavior suggests), and enable/disable question tuning. Conversational interface — no CLI syntax required.
Also in 7 projects that use this
- +2 more from Saqlain-811
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- garrytan/gstack★ 143ksame name
- getsentry/sentry-react-native★ 1.8ksame name
- kdlbs/kandev★ 1.2ksame name
- JuliusBrussee/cavekit★ 1.2ksame name
- getsentry/sentry-dart★ 877same name
- poshan0126/dotclaude★ 871same name
- codewithmukesh/dotnet-agent-kit★ 853same name
- codewithmukesh/dotnet-claude-kit★ 853same name
- SparkDevNetwork/Rock★ 703same name
- strands-agents/box★ 650same 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 repository17 other files it gives its agents.
- alignSkill
- consultSkill
- display-diffSkill
- lang-htmlSkill
- lang-typescriptSkill
- meSkill
- orientSkill
- pr-commentsSkill
- pr-createSkill
- pr-fullSkill
- pr-proofSkill
- pr-tendSkill
- riffSkill
- teachSkill
- write-for-humansSkill
- write-skillSkill
- xstateSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 15 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 170 edited versions we read keep these.
15
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Before writing to a spec file, show the change in the review format and wait for the user to approve it.
- Distinctive: line 27
If you can't ask the user, as a subagent or delegate, don't edit the spec.
- Distinctive: line 33
Read the existing spec at the start of a design discussion.
- Distinctive: line 37
When changes are ready, present them separately in the review format.
- Distinctive: line 43
Before acting on prototype or implementation feedback, check the relevant glossary entries and behavior rules.
- Distinctive: line 62
When domain relationships are being discussed, stress-test them with specific scenarios.
- Distinctive: line 70
When the user states how something works, check whether the code agrees.
- Distinctive: line 77
Don't infer approval from usage.
- Distinctive: line 95
Show the exact edits: Use display-diff to render the exact text changes for each item, then present the items together.
- Distinctive: line 97
Label each item: Use the actual glossary term or capability heading when changing one, or a short review-only label for an individual …
- Distinctive: line 100
Add Why below the diff only for an existing behavior edit that needs a sentence of context.
- Distinctive: line 102
Put requirements in the proposed rule or example, not in Why.
- Very specific: line 106
Use spec/ at the package root in a multi-package monorepo, or the repository root otherwise.
- Distinctive: line 118
Put rules about what users can do and how the app responds in Behavior.
- Distinctive: line 177
When a limit lifts, remove its entry and propose the behavior rules that replace it.
- Distinctive: line 182
When implementing against a spec, read Implement the spec for how the glossary maps to domain types and schemas and behavior and scope map …
“Common” is measured: kept by at least 6 in 10 of the 170 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
Actively refine the domain's language and behavior as you design, prototype, and
implement. Record terms in spec/glossary.md, capabilities, rules, and examples
in spec/behavior.md, and temporary limits in spec/scope.md.
- Term: a domain concept with a canonical name and precise meaning.
- Capability: a coherent thing a caller can accomplish.
- Rule: a guarantee or constraint within a capability.
- Example: concrete preconditions, an action, and its expected outcome.
- Limit: a deliberate, temporary gap between the intended contract and what's built.
Every spec edit needs approval
Before writing to a spec file, show the change in the review format and wait for the user to approve it. That holds however small the edit or whatever prompted it: syncing the spec with code, fixing review findings, or carrying out an agreed design. Approving a code change doesn't approve the spec edits that go with it.
If you can't ask the user, as a subagent or delegate, don't edit the spec. Return the proposed changes in the review format, using Markdown instead of HTML, so they can be presented for approval.
Review spec changes during design
Read the existing spec at the start of a design discussion. Use its glossary and behavior to challenge assumptions and check for concrete spec changes as the discussion progresses, including distinctions worth naming.
When changes are ready, present them separately in the review format. Wait for approval and record the approved changes before asking further design questions.
Keep the spec current
Before acting on prototype or implementation feedback, check the relevant glossary entries and behavior rules. Surface proposed spec changes in the same turn: is “Surprises” a canonical rename or just a screen label? Call out behavior changes separately. Leave styling, copy, and prototype shortcuts out unless they change the contract.
You can try an unsettled change in a prototype, but flag the mismatch and resolve it before implementing the affected behavior for real.
Refine the model
Clarify terminology
Flag conflicts with the glossary immediately and propose precise terms when language is vague or overloaded. For example: “The glossary distinguishes Customer from User. Which do you mean by ‘account’?”
Discuss concrete scenarios
When domain relationships are being discussed, stress-test them with specific scenarios. Invent edge cases that force the user to be precise about the boundaries between concepts. For example: "Can part of an order line's quantity be cancelled? If so, is cancellation a state of the line, or do we need a distinct Cancellation concept?"
Cross-reference with code
When the user states how something works, check whether the code agrees. Surface contradictions: "Your code cancels entire Orders, but you just said partial cancellation is possible. Which is right?" Resolve the intended contract with the user; current behavior is evidence, not automatically the authority.
Propose, then record
Don't infer approval from usage. Agree on the name and meaning before adding or revising a glossary entry. Don't prefill the glossary from a repo scan.
Show the exact proposed changes for approval, individually or as a batch. Record only what the user approves, and do so promptly. Don't add defaults, edge cases, or guarantees. Keep proposals and open questions in chat.
Apply approved renames throughout the spec
An approved canonical rename applies throughout the spec. Search for the old term and update every reference to that concept except intentional
_Avoid_entries; ask separately only if meaning or behavior changes.
Review proposed changes
- Organize the review. Group proposed changes by spec file, omit empty sections, and number items continuously across files so the user can approve by number.
- Show the exact edits. Use display-diff to render the exact text changes for each item, then present the items together.
- Label each item. Use the actual glossary term or capability heading when changing one, or a short review-only label for an individual behavior rule.
Add Why below the diff only for an existing behavior edit that needs a sentence of context. Keep labels and Why out of the proposed file text. Put requirements in the proposed rule or example, not in Why.
Write the spec
Use spec/ at the package root in a multi-package monorepo, or the repository
root otherwise. Read any existing spec before proposing changes. Create each
file only when there's an approved change to record.
Glossary
In spec/glossary.md, define context-specific concepts in one or two sentences.
Choose one canonical name and list competing names under _Avoid_.
Entries should capture the agreed domain schema: the attributes and relationships that define a concept, including which are required or optional when that's been decided. Use domain terms, not database or language types. Put rules about what users can do and how the app responds in Behavior.
# Glossary
**Event**: A gift-giving occasion with a required name and date, an optional
description, and a guest list that distinguishes invited guests from those
who've accepted.
_Avoid_: GatheringBehavior
In spec/behavior.md, give each capability a heading named for a caller goal,
not an implementation component. Order capabilities from the simplest useful
behavior to richer cases and interactions as prerequisites allow.
Give each independent rule its own bold bullet, with supporting examples indented beneath it. Start with a simple example, then boundaries. Keep rejections beside the rules they enforce.
# Behavior
## Place an order
- **Placing an order requires at least one order line.**
Placing an order with no lines fails with an empty-order error.Scope
In spec/scope.md, record each decision to defer or stub something for now.
Behavior describes the contract you intend to keep. Scope describes where the
current build deliberately falls short of it. A restriction you never expect to
lift is a behavior rule, not a limit.
Give each limit its own bold bullet. Give caller-visible limits an example, as
you would a rule. Internal stubs need none. When a clear condition lifts the
limit, end with an _Until:_ line naming it. Otherwise, leave it out.
# Scope
- **Only card payments are supported.**
Placing an order paid by invoice fails with an unsupported-payment-method
error.
_Until:_ invoicing is available.
- **Tax calculation is stubbed.**
Every order is taxed at 0%.
_Until:_ the tax service is integrated.When a limit lifts, remove its entry and propose the behavior rules that replace it.
Implementation
When implementing against a spec, read Implement the spec for how the glossary maps to domain types and schemas and behavior and scope map to tests.
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.

