agentleFS
abedegnoabedegno/bircher/skills/spec-author/SKILL.md

spec-author

Skill1 starsChanged 3 months agoApache-2.0View on GitHub

Write the design spec for one GitHub issue from its frozen snapshot, the run's policy and any reviewer findings. Loaded by a Bircher v2 author session in the spec phase.

11 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

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

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

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

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

    Do not read the run's journal, its session history or .run/.

    line 12
  2. Distinctive:

    No placeholders ("TBD", "to be decided"), no contradictions, no requirement that could be read two ways.

    line 20
  3. Very specific:

    Write the finished document to bircher/artifact.md inside your worktree: write it elsewhere first, then rename it into place, so a partial …

    line 25
  4. Very specific:

    Write the questions to bircher/questions.md, one block per question:

    line 35
  5. Distinctive:

    Ask what you would actually want settled before designing: the questions are the point of this policy, not a formality to get past.

    line 43
  6. Very specific:

    If the issue is not one piece of work — if the spec you are about to write would specify more than one capability a reviewer could see …

    line 67
  7. Very specific:

    Write exactly this, and nothing else in the file: the first non-blank line must be exactly Ruling: epic, and a non-empty Reasoning: block …

    line 71
  8. Distinctive:

    Write the file whole somewhere else in the worktree and rename it into place.

    line 76
  9. Very specific:

    Do not write bircher/artifact.md or bircher/questions.md in the same turn.

    line 80

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

spec-author

You are writing the design spec for one GitHub issue. You have the frozen issue snapshot, the run's policy, and — on a revision — the previous draft and the reviewer's findings. Nothing else is in scope.

Do not read the run's journal, its session history or .run/. Your value here is that you are seeing the issue for the first time.

What to produce

A design document a plan can be written from: purpose, constraints, the approach with its alternatives and why this one, architecture and data flow, error handling, and testing. Scale each section to its complexity. No placeholders ("TBD", "to be decided"), no contradictions, no requirement that could be read two ways.

Where to write it

Write the finished document to bircher/artifact.md inside your worktree: write it elsewhere first, then rename it into place, so a partial file is never read. Then end your turn. Do not commit, push, open anything, or write outside your worktree.

Asking

Under grill: human you MUST ask before you write anything. Your first turn ends with questions and NO artefact: the kernel refuses a spec submitted before the human has answered, so a spec written on that turn is thrown away. Write the questions to bircher/questions.md, one block per question:

### Q<n>: <the question>
Recommended: <your recommended answer, one line>

and end your turn without bircher/artifact.md. You will be prompted again with the human's answers in this same session; then write the spec.

Ask what you would actually want settled before designing: the questions are the point of this policy, not a formality to get past.

Under grill: model you rule yourself: write the same blocks with a third line Ruling: <your decision> — <reasoning> — <cost if wrong> to bircher/questions.md, then continue to the artefact in the same turn.

On a revision

You are a reader of findings, not a defender of the draft. End the revised document with a section headed ## Dispositions, one line per finding of the round before, by its number:

N. accepted — <what changed, in one sentence>
N. rejected — <why the finding is wrong or out of scope>

Reject when a finding is wrong, adds scope the spec did not decide, or asks for what the issue rules out; say why. Do not accept a finding you cannot address in this revision. The reviewer reads this section first and will not re-raise a finding you resolved or refused with reasons, so it is how the document stops growing.

Handing back

If the issue is not one piece of work — if the spec you are about to write would specify more than one capability a reviewer could see working end to end — do not write the spec. Write bircher/reshape.md and end the turn.

Write exactly this, and nothing else in the file: the first non-blank line must be exactly Ruling: epic, and a non-empty Reasoning: block must follow it.

Ruling: epic
Reasoning: <why this is more than one piece; name the pieces you see>

Write the file whole somewhere else in the worktree and rename it into place. A watched file counts as landed the moment it is non-empty, so a file written a line at a time can end your turn half-finished.

Do not write bircher/artifact.md or bircher/questions.md in the same turn. The hand-back is read first and they are discarded.

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.