agentleFS
bonnguyenitcbonnguyenitc/specship/CLAUDE.md

specship

CLAUDE.md2 starsChanged 5 months agoMITView on GitHub

npm package that installs a spec→plan→coding→review skills workflow into projects (Claude Code, Codex, Cursor, Antigravity). Entry: bin/cli.js → src/cli.js; install logic in src/init.js + src/targets.js; skill sources in skills/; subagent definitions in agents/ (installed only for targets declaring subagents in targets.js — today just Claude Code); per-agent templates in .claude/, .codex/, .cursor/, .antigravity/. Naming: ss- prefixes skills, never task state. Every skill folder and frontmatter name: is ss-<skill> (skills/ss-spec/, /ss-ship), as are the subagents in agents/ (ss-explorer, …). The pipeline's…

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    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. Very specific:

    Naming: ss- prefixes skills, never task state: Every skill folder and frontmatter name: is ss-<skill> (skills/ss-spec/, /ss-ship), as are …

    line 10
  2. Distinctive:

    Always prove a change works before declaring it done:

    line 20
  3. Distinctive:

    When Claude makes a mistake in this repo, don't just correct it in chat — add the lesson here as a bullet so it never repeats.

    line 35

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

specship — dev guide

npm package that installs a spec→plan→coding→review skills workflow into projects (Claude Code, Codex, Cursor, Antigravity). Entry: bin/cli.js → src/cli.js; install logic in src/init.js + src/targets.js; skill sources in skills/; subagent definitions in agents/ (installed only for targets declaring subagents in targets.js — today just Claude Code); per-agent templates in .claude/, .codex/, .cursor/, .antigravity/.

Naming: ss- prefixes skills, never task state. Every skill folder and frontmatter name: is ss-<skill> (skills/ss-spec/, /ss-ship), as are the subagents in agents/ (ss-explorer, …). The pipeline's state vocabulary stays bare: stage:, artifacts:, next_phase:, resume_phase:, --phase, and the Pipeline Log's stage labels are all spec|plan|coding|review|debug|done. Prefixing those would break every existing task.md. STAGE_SKILLS in src/init.js is keyed by directory name, so it carries the prefix.

Verify every change

Always prove a change works before declaring it done:

  • npm test — zero-dep test suite (test/pipeline.test.js + test/cli.test.js). Fixtures must describe tasks that could actually exist: a task.md whose artifacts: map names a confirmed spec needs spec.md on disk to match (use the filesFor helper). Fictional fixtures hid a whole class of bugs once — see tasks/LESSONS.md L2/L3.
  • Real install: node bin/cli.js init --all --dir "$(mktemp -d)", then inspect the resulting tree (marker block in CLAUDE.md, skills copied, codex-only openai.yaml manifest, claude-only .claude/agents/ subagents and nowhere else).
  • Anything touching packaging or publish.sh: ./publish.sh --dry-run.

Learnings

When Claude makes a mistake in this repo, don't just correct it in chat — add the lesson here as a bullet so it never repeats.

  • .claude/CLAUDE.md is not only this repo's project instructions: it is the template specship init merges into consumers' CLAUDE.md. Edits there ship to users — dev-only guidance belongs in this file (root CLAUDE.md).
  • package.json files must list .claude/CLAUDE.md (the template), not the whole .claude/ dir, so local dev config (settings.json, commands/) never ships in the npm tarball.

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.