agentleFS
serhiilenivserhiileniv/ccs/skills/spec/SKILL.md

spec

Skill0 starsChanged 10 days agoMITView on GitHub

Write a design spec at docs/specs/<slug>.md, then stop for approval. Refuses trivial work. Use before a feature, redesign, or change touching more than one subsystem.

168 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

  • 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

  • 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

  • +2 more from Saqlain-811

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 144 edited versions we read keep these.

  • 7

    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:

    Write a spec when the change touches more than one subsystem, adds a dependency or a public contract, or has a real design choice in it.

    line 16
  2. Distinctive:

    If nothing similar exists, say that explicitly.

    line 27
  3. Distinctive:

    Create the directory if missing.

    line 31
  4. Distinctive:

    Before showing it, cut the draft to the Writing rules at the end of this file.

    line 59
  5. Distinctive:

    Do not write code until the user approves.

    line 65
  6. Distinctive:

    when the design changes mid-implementation, update the spec in the same commit

    line 73
  7. Very specific:

    keep it after shipping — docs/ stays the user-facing doc, docs/specs/ is the record

    line 74
  8. Distinctive:

    Write the report when the spec is approved or abandoned, not at the gate.

    line 84

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

/ccs:spec

Non-trivial work starts with a spec, not code. This writes it, shows it, and stops.

Step 0 — refuse trivial work

A typo, a one-line bug, an obvious test does not get a spec. Say so in one line and stop. Ceremony scales to blast radius.

Write a spec when the change touches more than one subsystem, adds a dependency or a public contract, or has a real design choice in it.

Step 1 — read before writing

Ground the spec in what exists. Never describe the current state from memory:

  • the files the change would touch, and the conventions already in them
  • prior specs in docs/specs/
  • what the repo already does that this would duplicate

If nothing similar exists, say that explicitly. Do not invent a pattern to mirror.

Step 2 — write docs/specs/<slug>.md

Create the directory if missing. Slug: lowercase, hyphens, no dates.

# Spec: <title>

## Goal
What this is for, in two or three sentences. Not a feature list.

## Non-goals
What this deliberately does not do, each with the reason it was excluded.

## Current state
What exists today, with file paths. Facts read from the repo, not recollection.

## Proposed design
Concrete. Layouts, formats, APIs, invariants, command tables, file trees.
A reader must be able to build from this without asking what you meant.

## Acceptance criteria
- [ ] Checkable statements. Each one either passes or fails.

## Open questions
Numbered. Only what the spec genuinely cannot settle — not questions you could
answer by reading the code.

Step 3 — KISS the whole thing

Before showing it, cut the draft to the Writing rules at the end of this file.

Step 4 — gate

Report the path. State the open questions as questions. Then stop.

Do not write code until the user approves. "modify: …" means revise the spec and gate again.

After approval

The spec is the design record, not scaffolding:

  • implement it with /ccs:implement docs/specs/<slug>.md
  • when the design changes mid-implementation, update the spec in the same commit
  • keep it after shipping — docs/ stays the user-facing doc, docs/specs/ is the record

Writing

One line where one line does. Answer first. State the fact, not the story behind it — no narrating what was tried, no paragraph restating the line above. Two things always stay: why a non-obvious decision was made, and what a check cannot do. Caveats and risks still get said, one line each.

Outcome: success = approved · partial = approved after modify: rounds · failed = abandoned. Write the report when the spec is approved or abandoned, not at the gate.

Report

Last step, every run, whatever the outcome: write .ccs/reports/<skill>/<YYYY-MM-DD>-<slug>.md at the repo root, and add .ccs/ to .git/info/exclude if missing. One line per field, no secrets, tokens or customer data. Print the path.

---
skill: <skill>
date: <YYYY-MM-DD>
repo: <owner/name>
target: <argument, one line>
outcome: success | partial | failed
learned: false
---

Used: <tools, CLIs, MCPs, files that did the work>
Found: <the result, one or two lines>
Friction: <what slowed or blocked it; a user correction; "none">

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.