agentleFS
AhmedTmorganAhmedTmorgan/crew/skills/spec/SKILL.md

spec

Skill1 starsChanged 3 months agoMITView on GitHub

Turn an approved crew brief into a written spec: problem, solution, a long list of user stories, implementation decisions, global constraints, testing seams, security, and out of scope. It is synthesis, not a new interview. Use after crew:intake (crew:feature calls it), or when the user says "write the spec" / "اكتب الـ spec".

193 other projects use a version of this.

Adopted by

Most recently taken up by

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.
  • JuliusBrusseeSkill

    backprop

    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-811Skill

    ios-clean

    Remove the DebugBridge SPM package and all #if DEBUG wiring from an iOS app. (gstack)

    Also in 5 projects that use this

  • Saqlain-811Skill

    ios-fix

    Autonomous iOS bug fixer. (gstack)

    Also in 5 projects that use this

  • bastosSkill

    ios-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

  • timurgaleevSkill

    document-generate

    Generate missing docs for a feature, module or project as tutorials, how-tos, reference and explanation.

    Also in 6 projects that use this

  • ShreyRaviSkill

    plan-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

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 170 edited versions we read keep these.

  • 5

    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
  1. Distinctive:

    Prefer existing seams, as high as possible, and as few as possible.

    line 29
  2. Distinctive:

    Leave out file paths and code.

    line 34
  3. Distinctive:

    Every D-decision from the brief appears.

    line 37
  4. Distinctive:

    Every acceptance criterion maps to at least one user story.

    line 38
  5. Distinctive:

    No placeholders anywhere: no "TBD", no "handle edge cases", no "add validation" without saying what.

    line 39
  6. Very specific:

    Optional tracker: if .crew/config.json has "tracker": "github", also publish the spec as a GitHub issue (gh issue create --label crew:spec) …

    line 41

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

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

crew:spec

Adapted from Matt Pocock's to-spec (MIT), with the "Global Constraints" block from superpowers' writing-plans (MIT).

  • Input: .crew/tasks/<slug>/brief.md, marked Approved:.
  • Output: .crew/tasks/<slug>/spec.md, the binding authority for the whole run. Tickets argue from it, and reviewers judge against it.

Don't interview. Everything needed is already in the brief and the codebase. If writing the spec exposes a real gap (something the brief never decided and that would change what gets built), ask it as one grilling round in the ❓/➡️ format, record the answer as a new decision in the brief, and continue.

Process

  1. Re-read the brief and its codebase notes. Explore more only where the spec needs it, using Explore subagents in parallel.
  2. Choose the seams where the feature will be tested:
    • Prefer existing seams, as high as possible, and as few as possible. One is ideal.
    • A new seam goes in Testing Decisions with the reason for it. It is shown to the user in the ticket summary, not asked separately.
  3. Write spec.md with the template below.
    • Reference the brief's decisions by number (D3, D7) so every decision can be traced.
    • Leave out file paths and code. They go stale. The one exception is a snippet that states a decision more precisely than prose can (a type shape, a state machine, a schema).
  4. Self-check before you hand off:
    • Every D-decision from the brief appears.
    • Every acceptance criterion maps to at least one user story.
    • No placeholders anywhere: no "TBD", no "handle edge cases", no "add validation" without saying what.
  5. Optional tracker: if .crew/config.json has "tracker": "github", also publish the spec as a GitHub issue (gh issue create --label crew:spec) and write its URL at the top of spec.md. The local file stays the source of truth.

Then continue with crew:tickets.

Template

# <Feature> — Spec

Brief: ./brief.md · Written: <date>

## Problem Statement
The problem, from the user's perspective.

## Solution
The solution, from the user's perspective.

## User Stories
A LONG numbered list that covers every aspect of the feature:
1. As a <actor>, I want <feature>, so that <benefit>

## Implementation Decisions
Modules built or changed, their interfaces, schema changes, API contracts (routes, actions, request
and response shapes), and specific interactions. Each one cites its D-number.

## Global Constraints
Project-wide requirements every ticket inherits, one per line, with exact values copied verbatim:
limits, names, copy and i18n rules, URL and anchor rules, security rules, compatibility floors.

## Testing Decisions
What a good test is here (behaviour through public interfaces), the agreed seams, prior art in this
codebase, and the gate commands from .crew/config.json.

## Security & Data
Authentication and authorization, tenant or user isolation, untrusted input, secrets, personal data,
and migration safety (destructive steps, backfills, policies for new tables).

## Out of Scope

## Further Notes

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.