agentleFS
galimbagalimba/agentic-builder-forge/.claude/skills/spec-authoring/SKILL.md

spec-authoring

Skill4 starsChanged 4 months agoApache-2.0View on GitHub

Author an intake spec from templates/spec-template.md — prioritized stories, testable FR-NNN, measurable technology-agnostic SC-NNN — resolving [NEEDS CLARIFICATION] per the Header Mode. Produces the prose spec; hands the Task Breakdown to the decompose skill. WHAT/WHY, never HOW.

7 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions7 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 7

    1. attilaszasz/sdd-pilot★ 98same name
    2. Muvon/octomind-tap★ 6same name
    3. cypher0n3/dotagents★ 3same name
    4. AlexCiortan/setlist★ 2same name
    5. NashEQify/forge★ 2same name
    6. sanzhardanybayev/synergy★ 2same name
    7. bmarshall511/Trellis★ 0same 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 repository4 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Use this skill when authoring an intake spec (the Architect role).

    line 6
  2. Very specific:

    Stop-floor F1 guarantee that holds even with the ask-gate absent.

    line 52
  3. Very specific:

    When the prose is clarified (no orphaned markers) and the complete FR set is authored, the Architect runs the Gate-A two-party restatement …

    line 57

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Use this skill when authoring an intake spec (the Architect role). It governs the prose sections; the <!-- forge:tasks:begin --> Task Breakdown is the decompose skill's job.

The artifact and its conventions

The spec lives at specs/NNN-<slug>/spec.md, scaffolded from templates/spec-template.md with the Header (Objective, Target Repo(s), Mode, Status) already filled. Conventions: ATX headings, no emoji, bold for emphasis, backticks for ids/paths/flags. Ids are stable once assigned — never renumber; mark withdrawn items ~~FR-007~~ (withdrawn).

Stories (User Scenarios)

Prioritized: P1 must-have for the objective to mean anything; P2 important but deferrable; P3 nice-to-have. Each story is a vertical, independently-testable slice, not a horizontal layer. Give each an Independent Test (the single observable behaviour proving this story alone works — it informs the closing task's DoD), Acceptance Scenarios (Given/When/Then), and Edge Cases (use [NEEDS CLARIFICATION: …] where behaviour is silent).

Requirements (FR-NNN)

Imperatives the system must satisfy. MUST for load-bearing, SHOULD for strong-but-optional. Each is testable and traces to ≥1 story. State what must be true — never the library/file/algorithm (that is HOW; the builder chooses it under the test-first gate). Use inline [NEEDS CLARIFICATION: …] wherever the objective does not pin a behaviour down.

Success Criteria (SC-NNN)

Measurable, technology-agnostic outcomes — no framework, library, or file names. Prefer numeric thresholds or directly observable outcomes. The test: two people, measuring independently and without reading the code, would agree on pass/fail. (Worked good/bad examples live in the decompose skill.)

Clarification — see the clarify skill (the loop is WIRED)

Where the objective is silent, leave [NEEDS CLARIFICATION: <question>], then resolve it with the clarify skill, which carries the full protocol: the Impact × Uncertainty ranking, the round budget, the F1 route-never-drop rule, the per-round ### Round N recording, and interactive-vs-autonomous behaviour. In short — interactive asks the human via AskUserQuestion within the round budget and logs each round in ## Clarifications; autonomous never asks and routes every ambiguity to a flagged [ASSUMED · <canonical-id> · confidence:low|med] entry in ## Assumptions (<canonical-id> is a category id from harness/intake-categories.json). Either way the post-condition is zero residual [NEEDS CLARIFICATION] — reached by a ## Clarifications answer or an ## Assumptions entry, never by dropping the ambiguity (F1: route, never drop — no cap on assumptions).

This is no longer goodwill. The round budget, the ask↔record coupling, the autonomous-no-ask rule, and the coverage floor are mechanically enforced: pre-tool-use-clarify-gate.sh denies the over-budget round, the over-cap or autonomous ask, and the next round until the prior is logged; stop-gate-intake.sh is the Stop-floor F1 guarantee that holds even with the ask-gate absent. Recording stays two-part per answer — the ## Clarifications log line and the answer propagated into the live section with its marker removed.

Hand-off: Gate A, then decompose

When the prose is clarified (no orphaned markers) and the complete FR set is authored, the Architect runs the Gate-A two-party restatement (spawn the spec-reviewer, reconcile to consensus or surface ## UNRECONCILED, produce understanding.md; a human ratifies) — see architect.md. After ratification, use the decompose skill to author the Task Breakdown and run its F8 adversarial coverage pass. The mechanical Gate-B FR↔task traceability gate (harness/intake.sh analyze) then verifies the block. Drive Status draft → clarifying → ready-for-tasks; approved is the human's at the merge gate.

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.