agentleFS
UlisesCmUlisesCm/navori-owl/.agents/skills/spec-bootstrap/SKILL.md

spec-bootstrap

Skill1 starsChanged 36 days agoMITView on GitHub

Use when starting a real-scope feature before writing code — scaffolds a complete SDD spec (requirements/design/tasks) with EARS and R<n>↔test traceability.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Do not write anything under specs unless the user has explicitly accepted starting a spec in THIS thread — either by running …

    line 35
  2. Very specific:

    When SDD work meets its threshold.

    line 39
  3. Very specific:

    Challenge on critical areas: WHEN the spec touches auth, permissions, payments, data integrity, a fresh-context auditor challenges it with …

    line 43
  4. Very specific:

    requirements.md first: No clear requirements, no design.

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<!-- navori:managed id="spec-bootstrap" hash="1479f683" version="0.12.3" source="@navori/core" fmkeys="name,description,metadata" -->

spec-bootstrap — kickoff of an SDD spec

Before scaffolding — blocking precondition

Do not write anything under specs unless the user has explicitly accepted starting a spec in THIS thread — either by running $spec-bootstrap directly, or by accepting a proposal you made. No acceptance yet? Propose it and wait for the answer; never scaffold speculatively.

When to use this skill

When SDD work meets its threshold; the threshold and its opt-in gate live in ONE place: the Spec Driven Development block in AGENTS.md. Before asking acceptance, give the compact resumen de decisión in chat per formato-respuesta.md; a proposal or summary is not authorization to scaffold.

Produces specs/<feature>/{requirements.md, design.md, tasks.md}. orchestrator scaffolds, not a nested subagent.

Challenge on critical areas. WHEN the spec touches auth, permissions, payments, data integrity, a fresh-context auditor challenges it with solution-design's falsification brief before handoff. One round, no verdict — orchestrator decides.

Order

  1. requirements.md first. No clear requirements, no design. Derive from the ticket/request; each requirement is EARS with id R<n>.
  2. design.md — how to meet those R<n>: affected components, contracts, decisions and trade-offs. Reference the R<n> each decision satisfies. Design BEFORE decomposing: an architecture decision (e.g. a contract or a migration path) moves task boundaries, so tasks written first get rewritten. The architect writes design.md, applying solution-design.
  3. tasks.md — structured by deliveries E<n> (one PR each), milestones M<n> (one verification/commit each), acceptance criteria A<n> per milestone, and tasks T<n> that declare the R<n> they cover; see the grammar below. A spec without deliveries opens with workplan: <feature>; a delivery's workplan is level 3 ("level": 3), one per delivery <spec>-e<n> with phases = milestones, and its encargo is spec: <spec> E<n> M<n>.
  4. evals.md — optional, rare. Only when the feature ships a new always-on layer (context every session pays for), where prose can't prove behavior moved: specs/<feature>/evals.md tabulates RED (without the layer) / GREEN (with it) over ONE isolated variable — same ticket, same repo, same model — with named scenarios, each failure against its evidence, and inverted results kept exactly as they came out. The raw transcript dies with the session; the distilled table survives in git.

The reasoning that fills design.md is the solution-design skill — also the lighter home for an R2-architectural change that skips a full spec.

Templates

requirements.md:

# <Feature> — Requirements

## Context
<1-2 lines: what problem it solves and for whom.>

## Requirements (EARS)
- **R1** — The system SHALL <observable action>.
- **R2** — WHEN <event>, the system SHALL <action>.
- **R3** — IF <undesired condition> THEN the system SHALL <containment action>.

design.md — the first three sections always; the rest ONLY when the feature raises them (an empty section is noise, not rigor):

# <Feature> — Design

## Approach
<Chosen architecture and why. Discarded trade-offs.>

## Components
- <file/module> — <responsibility> — covers R<n>.

## Decisions
- <non-obvious decision> — <reason>.

## Contracts            ← if it touches an API/DTO/schema/event
## Failure modes        ← if it has partial failure, retries, concurrency
## Migration            ← if data or an existing contract changes shape
## Testing strategy     ← each test answers a risk named above, not a coverage quota
## NOT in scope         ← deferred work + why, so nobody "improves things along the way"

tasks.md — E/M/A/T grammar (navori spec check parses this):

# <Feature> — Tasks

## E1 — <title> (optional ' (foundation)')
Estimated LOC: <n>

### M1 — <title>
- **A1** [observable] — <desc> · `<command>` → <expected>
- [ ] **T1** (R<a>, R<b>) — <what> · effect: behavior|docs|tests|schema · test: <file>::<case>

### M2 — <title>
- **A2** — <desc> · `<command>` → <expected>
- [ ] **T2** (R<c>) — <what> · effect: behavior · test: <file>::<case>
- [ ] **T3** (R<d>, R<e>) — <what> · effect: docs · test: <file>::<heading>

Hard rules

  • Zero unresolved placeholders. Don't leave <...>; an unknown value is a question for the user, not a hole. Same rule inside a task: "TBD", "implement later" or "similar to T<n>" describe nothing — name the observable behavior and the evidence expected. That is NOT a licence to dictate the code line by line; the implementer keeps its judgment.
  • Cite a stable anchor, not a line number: file + symbol name, heading, or managed-block id — never file:line. Lines drift before implementation; a stale one skips real sites.
  • Every R<n> ends in ≥1 task and ≥1 test, and each test references its requirements with a // Covers: R<n> comment above the case. A requirement with no task or test isn't traceable → it doesn't enter the spec; without full traceability the feature is not done.
  • Tracking lives in tasks.md, not in a parallel task list. Duplicating it makes the board drift from the spec.
  • Self-review before closing the scaffolding: is each R<n> a single testable action? does each task point to real R<n>? does the design cover all the R<n>? If something fails, fix it before handing the spec off.
<!-- /navori:managed id="spec-bootstrap" -->

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.