super-spec
AGENTS.md2 starsChanged 5 months agoApache-2.0View on GitHub
SuperSpec is a spec-driven development toolkit for AI coding agents, shipped as portable Agent Skills (SKILL.md) that work across Claude Code, OpenAI Codex, Pi, and OpenCode from a single source — no per-platform builds. This is a prompt/documentation repository: there is no application code, build step, or test suite. "Correctness" here means valid manifests, resolvable cross-references, and skills whose instructions match the documented design. End-to-end discovery checks (optional, used before releases): skills/ss-<name>/SKILL.md is the single source of truth. Each platform…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository21 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ss-archiveSkill
- ss-cleanupSkill
- ss-code-reviewSkill
- ss-codingSkill
- ss-coding-workflowSkill
- ss-create-branchSkill
- ss-create-prSkill
- ss-feature-workflowSkill
- ss-guardrailsSkill
- ss-inspectSkill
- ss-list-changesSkill
- ss-multi-repo-workflowSkill
- ss-planSkill
- ss-proposalSkill
- ss-referencesSkill
- ss-reverse-specSkill
- ss-show-specSkill
- ss-trace-specSkill
- ss-troubleshooting-workflowSkill
- ss-write-specSkill
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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
- Very specific: line 42
Keep version in sync across all three plugin manifests when releasing — releases are automated with release-please.
- Distinctive: line 103
Never introduce references to private infrastructure, internal hostnames, or company-specific systems.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.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.
Files
SuperSpec — Repository Guide
SuperSpec is a spec-driven development toolkit for AI coding agents, shipped as portable Agent Skills (SKILL.md) that work across Claude Code, OpenAI Codex, Pi, and OpenCode from a single source — no per-platform builds.
This is a prompt/documentation repository: there is no application code, build step, or test suite. "Correctness" here means valid manifests, resolvable cross-references, and skills whose instructions match the documented design.
Verification commands
./scripts/validate.sh # the full check suite — run before pushing (CI runs it too)
claude plugin validate . # Claude Code plugin + marketplace manifests
ls skills | grep -c '^ss-' # skill count — INSTALL.md asserts this number
grep -rn 'ss-<old-name>' skills docs *.md # after any rename/delete: zero dangling refsEnd-to-end discovery checks (optional, used before releases):
claude plugin marketplace add ./ && claude plugin install super-spec@super-spec
cp -R skills /tmp/x/.agents/skills && cd /tmp/x && opencode debug skill # lists ss-*Architecture
One source, four runtimes
skills/ss-<name>/SKILL.md is the single source of truth. Each platform consumes it
through its own manifest, all committed at the repo root:
- Claude Code —
.claude-plugin/plugin.json+marketplace.json; the repo root is the plugin, skills auto-discovered. - Codex —
.codex-plugin/plugin.json+.agents/plugins/marketplace.json; the repo doubles as a Codex plugin marketplace. - Pi —
package.json(keywords: ["pi-package"],"pi": {"skills": ["./skills"]}). - OpenCode — no package manager; users install via
npx skillsor copy into a discovery path.
Keep version in sync across all three plugin manifests when releasing — releases
are automated with release-please; see RELEASING.md. INSTALL.md is the
agent-executable install/upgrade/uninstall walkthrough.
Skill layout and cross-references
- One skill = one directory = one
SKILL.md. Names use thess-prefix, lowercase with hyphens; the directory name must equal the frontmattername. - Frontmatter stays portable:
nameanddescriptiononly. No$ARGUMENTSplaceholders, no platform-specific fields or tool names — use an "Inputs" section and generic tool descriptions ("spawn a subagent"). - Cross-skill file references use sibling relative paths (
../ss-guardrails/core.md,../ss-references/<file>.md) because installs copyskills/*flat into~/.agents/skills/— the sibling layout must survive that copy. Refer to other skills by name ("run thess-planskill"), never by slash-command syntax. - Shared material must live in an
ss-*skill directory with its ownSKILL.md. TheskillsCLI (npx skills add, the OpenCode channel) copies only directories that contain aSKILL.md; a bare folder is silently dropped and every../<folder>/…reference breaks. Skill names must also match^[a-z0-9]+(-[a-z0-9]+)*$, so an underscore-prefixed directory is not a legal escape hatch. Two such library skills exist, neither invoked directly by users:skills/ss-guardrails/(safety/quality/anti-error checklists — core.md plus 7 per-language files) andskills/ss-references/(shared templates for the workflow, proposal, spec, and multi-agent skills). - Sibling references only resolve when the whole bundle is installed. Installing a
single skill on its own leaves its
../ss-guardrails/…and../ss-references/…reads dangling — INSTALL.md says so, and it must keep saying so.
Orchestration model
- The three workflows (
ss-feature-workflow,ss-coding-workflow,ss-troubleshooting-workflow) are thin orchestrators: they only call other skills, pause at human gates, and resume from artifacts.ss-feature-workflowtriages complexity first — complex requirements go throughss-proposaland its approval gate, simple ones straight toss-plan. ss-codingruns its own post-coding review viass-code-review; workflows drive acceptance from the returned verdict and must never invoke review a second time.- Delivery modes:
full(ss-create-branch → … → ss-create-pr → ss-cleanup) andlite(work in place, finish with conventional commits). Quality gates are identical in both; mode is asked per run, never persisted into the user's project. ss-multi-repo-workfloworchestrates one headlessss-coding-workflowper repo.
Cross-file interface contracts (grep before changing)
These exact strings couple producers to consumers — renaming one side silently breaks detection logic:
**Repositories Involved:**(produced by ss-proposal templates; consumed byss-references/multi-repo-detection.mdand the workflows)**Repositories Requiring Fix:**(produced by ss-inspect's report)---SS-RESULT---result block (ss-coding-workflow → ss-multi-repo-workflow)
Hard rules
- Non-intrusion. Skills never write toolkit files into a user's project. User
work products (the
openspec/tree, proposals, plans) are the exception; touching a project-owned file such as the user'sAGENTS.mdrequires their explicit consent. Guardrails are read in place, never copied out. - All content is native English, imperative voice for instructions. Generated artifacts follow the standard policy: match the project's existing docs language, default to English.
- Never introduce references to private infrastructure, internal hostnames, or company-specific systems.
Documentation sync
Skill changes drift docs fast. After adding/renaming/removing a skill, sweep:
docs/—architecture.md(layout tree + skill catalog) and whichever of workflows / multi-agent / spec-driven / worktree-and-multi-repo / guardrails describes the changed behaviorREADME.mdandREADME.zh-CN.md(they mirror each other; update both)INSTALL.md— the expectedss-*count appears in its verify steps
README.zh-CN.md formatting: a bold span ending with a CJK period needs a space
after the closing ** (**…。** 文字), or CommonMark renders the delimiter
literally.
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
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.

