agentleFS
StelliadStelliad/stelliad-skills/skills/create-spec/SKILL.md

create-spec

Skill4 starsChanged 2 months agoMITView on GitHub

Scaffold a new feature spec from an idea, writing SPEC.md into its own numbered folder (default specs/{NNN}-{slug}/) from the shipped template, with what was actually said filled in and what was not left open as questions. Stops there, as a draft; no plan, no tasks, no code. For a codebase that already runs with no written spec, use recover-spec instead. Use when saying "create-spec", "new spec for X", "spec out this feature", "start a spec", "scaffold a spec", or "/create-spec <name>".

20 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use create-plan, ship-it and 6 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.
  • JetBrainsSkill

    create-plan

    Research the codebase and create an implementation plan with architecture notes, design document, and track decomposition. Use when starting a new feature or large change.

    Also in 3 projects that use this

  • AWSSkill

    ship-it

    Ship work in the llm-evaluation-system repo end-to-end — commit with conventional-commit messages, push to a feature branch (never directly to main), open a PR with the proper title format, and after merge either run `make release` to publish to PyPI or just clean up branches. Use this skill whenever the user says ship/commit/push/open a PR/release/publish, or after code changes are done and ready to go out. Don't invent your own git workflow — invoke this skill so the repo conventions (conventional commits, manual release, setuptools-scm tag flow, branch cleanup) are applied consistently.

    Also in 3 projects that use this

  • MicrosoftSkill

    pr-review

    Verify the technical accuracy of a vscode-docs pull request against the VS Code source code in microsoft/vscode. Use when reviewing a docs PR for factual correctness: setting names, command IDs, default values, API shapes, keybindings, versioned availability, and described behavior.

    Also in 3 projects that use this

  • VercelSkill

    vercel-react-best-practices

    React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

    Also in 3 projects that use this

  • VercelSkill

    find-skills

    Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

    Also in 3 projects that use this

  • BlockSkill

    frontend-design

    Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 17 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the idea already has running code behind it, this is the wrong skill: recover-spec reads the code backwards instead of writing intent …

    line 22
  2. Distinctive:

    Run it on one small feature and read the Open Questions it wrote before trusting the rest

    line 30
  3. Distinctive:

    Read the Limitations section in SPEC.md.

    line 58

“Common” is measured: kept by at least 6 in 10 of the 17 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

create-spec

The first step of the spec loop. Turns an idea into a SPEC.md in its own folder, and nothing else. The spec leaves as a draft, with every gap it could not honestly fill listed as an open question for a named person.

If the idea already has running code behind it, this is the wrong skill: recover-spec reads the code backwards instead of writing intent forwards.

Quick start

  1. Read SPEC.md for the procedure, the rules and why the draft stays a draft
  2. Follow CUSTOMIZE.md to bind the spec location, the ID scheme and the requirement prefixes
  3. Run it on one small feature and read the Open Questions it wrote before trusting the rest

Arguments

  • $1: feature name, lowercase and hyphenated (required). Becomes the folder slug, as in specs/004-session-expiry/.

What it does

  1. Assigns the next spec number, never reusing one
  2. Creates the spec folder and copies templates/SPEC.md into it
  3. Fills Summary, Problem, Goals and Non-Goals from what was actually said
  4. Leaves requirements it has no basis for as open rows, and lists what is missing under Open Questions
  5. Reports what stands between the draft and ready

The loop

StepSkillWrites
Intentcreate-spec, or recover-spec for existing codeSPEC.md
Readya personstatus: ready
Planplan-specPLAN.md, TASKS.md
Buildimplement-speccode, tests, the task record
Reviewreview-specfindings in TASKS.md
Completea personstatus: complete

Before you rely on it

Read the Limitations section in SPEC.md. A draft that reads as finished is the failure it guards against, and it can only guard against it if you don't pad the answers you give it.


See CUSTOMIZE.md to adapt this skill for your organization.

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.