mini-spec
Skill6 starsChanged 3 months agoMITView on GitHub
Create a compact, reference-first SPEC.md that defines the task-specific delta, non-goals, likely failure modes, spec ceiling, and verification target without paraphrasing richer authoritative sources.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- zot/mini-spectheir own version, first seen Sep 24, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- zot/mini-spec★ 5same 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 repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- analyze-miniSkill
- bug-captureSkill
- build-oneSkill
- ceremony-budgetSkill
- checklist-miniSkill
- constitution-liteSkill
- context-checkSkill
- diagnose-loopSkill
- eco-modeSkill
- falsify-specSkill
- grill-with-docs-liteSkill
- handoffSkill
- lean-modeSkill
- operator-profileSkill
- scope-freezeSkill
- ship-miniSkill
- teach-backSkill
- test-miniSkill
- thin-planSkill
- tool-noise-guardSkill
- verify-contractSkill
- workspace-checkpointSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 10 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
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 10
Create the smallest useful SPEC.md that clarifies intent, names the likely failure mode, and gives the agent a verifiable target before …
- Distinctive: line 14
When a high-fidelity reference already expresses behavior well, point to it instead of rewriting it into a weaker prose summary.
- Distinctive: line 18
Use when a project or feature is clear enough to define before implementation.
- Distinctive: line 32
Prefer the richest authoritative source that already expresses the intended behavior.
- Distinctive: line 40
Do not restate a detailed test suite, implementation, mockup, or rubric line by line merely to make the spec self-contained.
- Distinctive: line 42
If the user request and an authoritative reference conflict, surface the conflict as an explicit decision or open question.
- Distinctive: line 58
When applicable, name compatibility seams that must remain import-compatible or output-compatible.
- Distinctive: line 67
When applicable, record invalid-if constraints that would make the slice non-viable.
- Distinctive: line 69
If satisfying the task requires behavior outside the ceiling or contradicts an authoritative reference, update or renegotiate the spec …
- Distinctive: line 88
When applicable, list behavior that must remain import-compatible or output-compatible.
- Very specific: line 101
Use REQUIRED when the planned change can affect a named compatibility seam.
- Very specific: line 112
Use NOT_APPLICABLE instead of inventing a probe for work with no relevant public compatibility seam.
- Very specific: line 119
Use REQUIRED when this slice intentionally changes an observable behavior and a stable probe can show the before state and the intended …
- Very specific: line 139
Use ENFORCED only when the accepted slice has a meaningful implementation-size expectation.
- Distinctive: line 150
Do not reverse-engineer a larger budget from the completed diff merely to make verification pass.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Mini Spec
Purpose
Create the smallest useful SPEC.md that clarifies intent, names the likely failure mode, and gives the agent a verifiable target before planning or implementation.
The spec is both a floor and a ceiling: acceptance criteria define what must happen; non-goals, constraints, and invalid-if rules bound what must not be added.
When a high-fidelity reference already expresses behavior well, point to it instead of rewriting it into a weaker prose summary. The spec should capture the task-specific delta, authority boundary, and proof target around that reference.
When to use
Use when a project or feature is clear enough to define before implementation.
Inputs
- Clarified request
CONTEXT.mdif available- Constraints
- Known commands
- Acceptance criteria or desired behavior
- Authoritative references when available: existing tests, code, schemas, HTML/mockups, rubrics, external specs, or a source implementation to port
- An accepted implementation-size expectation when one genuinely exists
Reference-first rule
Prefer the richest authoritative source that already expresses the intended behavior.
For each reference, record:
- the exact file, test, artifact, URL, or symbol
- what behavior or decision it governs
- the task-specific delta, if this slice intentionally differs
Do not restate a detailed test suite, implementation, mockup, or rubric line by line merely to make the spec self-contained. Keep the reference available and write only the interpretation needed to bound this task.
If the user request and an authoritative reference conflict, surface the conflict as an explicit decision or open question. Do not silently reconcile them.
Workflow
- State the objective.
- Identify the user or use case.
- Identify authoritative references and what each one governs.
- Record the task-specific delta from those references; use
nonewhen the reference is the intended contract as-is. - Define observable acceptance criteria, pointing to authoritative references where they already encode the behavior precisely.
- Record non-goals.
- Define the spec ceiling: do not add behavior, interfaces, refactors, dependencies, or adjacent cleanup beyond what is required to satisfy the acceptance criteria and reference-backed delta.
- List likely failure modes and name the primary failure mode for this slice.
- Record constraints.
- List only non-obvious run, test, build, and verification commands that matter to the slice.
- Define the smallest verification demo.
- Record open questions and reference conflicts instead of inventing a resolution.
- When applicable, name compatibility seams that must remain import-compatible or output-compatible.
- Choose a compatibility probe requirement before implementation:
REQUIREDwhen the slice can affect a named public API/import, CLI/flag, config, schema/output, or established edge/no-match seam; otherwiseNOT_APPLICABLE. For each required probe, record a stable Probe ID, the seam, the baseline command, its observed baseline result and evidence, and the expected invariant. Capture the baseline before implementation begins. - When the slice intentionally changes an observable behavior, decide whether a before/after change proof materially improves verification. Use
REQUIREDonly when a stable probe can be run before and after implementation. Record a Change ID, baseline commit, exact baseline command, baseline exit code/evidence, and expected delta before implementation begins. Otherwise useNOT_APPLICABLE. - Decide whether an implementation diff budget is meaningful. Use
ENFORCEDonly when the accepted slice or explicit scope supports defensible limits for max changed files and max added lines. UseNOT_APPLICABLEwhen no meaningful numeric expectation exists; do not invent arbitrary limits for ceremony. - When applicable, record invalid-if constraints that would make the slice non-viable.
- For delegated, autonomous, multi-session, or replanned work, optionally record a contract ID, parent ID, base commit, issue time, and replan reason.
- If satisfying the task requires behavior outside the ceiling or contradicts an authoritative reference, update or renegotiate the spec before implementing that expansion.
Outputs
SPEC.md- Authoritative references + what they govern
- Task-specific delta
- Explicit acceptance criteria
- Explicit non-goals
- Explicit spec ceiling
- Likely failure modes
- Verification demo
- Compatibility probe requirement and pre-change baseline evidence when applicable
- Optional change-proof requirement with before-state evidence and expected delta
- Optional implementation diff budget with explicit
ENFORCED | NOT_APPLICABLEchoice - Optional contract identity when traceability buys back safety
Compatibility seams to preserve
When applicable, list behavior that must remain import-compatible or output-compatible.
- Public imports / APIs: TBD
- CLI commands / flags: TBD
- Config files / defaults: TBD
- JSON/schema/output contracts: TBD
- Existing tests whose meaning must remain valid: TBD
- Data/fixture semantics: TBD
Compatibility probe gate
Compatibility probe requirement: REQUIRED | NOT_APPLICABLE
Use REQUIRED when the planned change can affect a named compatibility seam.
Capture the baseline before implementation begins. Each required probe should use
a stable ID so verification can match the post-change evidence without guessing.
- Probe ID: TBD
- Seam: TBD
- Baseline command: TBD
- Baseline result: PASS
- Baseline evidence: TBD
- Expected invariant: TBD
Use NOT_APPLICABLE instead of inventing a probe for work with no relevant
public compatibility seam.
Change proof gate
Change proof requirement: REQUIRED | NOT_APPLICABLE
Use REQUIRED when this slice intentionally changes an observable behavior and
a stable probe can show the before state and the intended after state.
- Change ID: TBD
- Baseline commit: TBD
- Baseline command: TBD
- Baseline exit code: TBD
- Baseline evidence: TBD
- Expected delta: TBD
Capture the baseline before implementation begins. Once implementation starts, do not rewrite the baseline evidence to make the completed change easier to prove. The post-change proof must rerun the same command. Use compatibility probes for behavior that must remain unchanged; use change proof for behavior intended to change.
Implementation diff budget
Diff budget requirement: ENFORCED | NOT_APPLICABLE
Use ENFORCED only when the accepted slice has a meaningful implementation-size
expectation. Record both:
- Max changed files
- Max added lines
The budget is a review tripwire, not a correctness proof. Workflow-control
artifacts do not consume the implementation budget. If the implementation exceeds
an enforced budget, verification becomes REVIEW_REQUIRED until the expansion is
reviewed and either reduced or explicitly accepted.
Do not reverse-engineer a larger budget from the completed diff merely to make verification pass.
Invalid if
- breaks a named compatibility seam
- implements an explicit non-goal or adds adjacent behavior not required by an acceptance criterion
- silently contradicts an authoritative reference without recording the intended delta
- weakens or rewrites existing tests merely to fit the implementation
- changes fixture/source data without explicit approval
- preserves behavior only through a new alternate path while breaking the old path
- changes forbidden/protected files
- adds dependencies or framework changes outside scope
Stop conditions
- The spec is under 100 lines unless risk justifies more.
- The next implementation slice is clear.
- Reference authority and any task-specific delta are explicit when references exist.
- The behavioral ceiling is clear enough to distinguish necessary support work from optional extras.
- Unresolved questions are recorded instead of hidden.
- Required compatibility probes have a pre-change baseline before implementation starts.
- Required change proofs have baseline commit, command, observed evidence, and expected delta recorded before implementation starts.
- An enforced diff budget, when used, was chosen before implementation expansion rather than fitted to the completed patch.
Anti-patterns
- Turning a small POC into a full product requirements document.
- Rewriting a high-fidelity test, implementation, mockup, or rubric into a lossy prose duplicate.
- Sketching repository structure the agent can inspect directly unless the structure itself is a task constraint.
- Adding speculative future features.
- Treating unrequested "helpful" behavior as bonus work instead of scope expansion.
- Writing vague acceptance criteria that cannot be verified.
- Assigning contract identifiers to tiny edits merely to create process metadata.
- Inventing arbitrary file/line budgets or increasing them after the patch grows just to manufacture compliance.
- Capturing or rewriting change-proof baseline evidence after implementation to manufacture a clean before/after story.
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.

