agentleFS
WhatIfWeDigDeeperWhatIfWeDigDeeper/agent-skills/specs/CLAUDE.md

agent-skills / specs

CLAUDE.md2 starsChanged 2 months agoMITView on GitHub

This file provides guidance when working in specs/. It auto-loads in Claude Code when you read or edit files in this directory. Design specs live at specs/<N>-<topic>/, normally as a plan.md + tasks.md pair. The pre-flight check that runs before you start writing a spec ("verify the current version, line count, and recent commits for the skill") stays in the root CLAUDE.md under Planning Workflow, because it must fire before you touch anything under this directory. Spec step numbers drift:…

The file

We split this CLAUDE.md into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    Spec step numbers drift: When editing or reviewing specs for an existing skill, verify step numbers (e.g.

    line 9
  2. Very specific:

    Check off spec tasks as you complete them: When working through a specs/*/tasks.md, mark each - [ ] item as - [x] immediately after …

    line 11

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “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
CLAUDE.md

Specs

This file provides guidance when working in specs/. It auto-loads in Claude Code when you read or edit files in this directory.

Design specs live at specs/<N>-<topic>/, normally as a plan.md + tasks.md pair. The pre-flight check that runs before you start writing a spec ("verify the current version, line count, and recent commits for the skill") stays in the root CLAUDE.md under Planning Workflow, because it must fire before you touch anything under this directory.

Rules

Spec step numbers drift: When editing or reviewing specs for an existing skill, verify step numbers (e.g. "Step 5", "Step 6") against the current SKILL.md — they shift as skills evolve and specs can silently fall out of sync.

Check off spec tasks as you complete them: When working through a specs/*/tasks.md, mark each - [ ] item as - [x] immediately after completing it — do not batch updates at the end.

When editing a spec that has both plan.md and tasks.md, apply every fix to both files in the same pass and re-read both before finishing — a fix applied to only one file is incomplete and will require a follow-up consistency pass to catch what was missed.

Update a spec's embedded copy of a real file (test snippet, verification command) in the same commit as the file — a re-runner follows the spec, not the code.

After implementing review suggestions to spec files, re-read all modified files before reporting done — catch consistency gaps yourself rather than leaving them for the next review round. For plan/tasks pairs, re-read both files end-to-end even when only one was edited.

Use phrase anchors, not line numbers, when referencing locations in files under active development — hardcoded line numbers shift the moment the first edit lands. Write "find the sentence containing 'X'" rather than "edit line N." This applies to spec task descriptions referencing benchmark.md, SKILL.md, or any file that will be edited in the same phase.

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.