Skip to content
Skill

Spec conventions

Conventions for writing implementation-ready spec documents for feature design

Spec conventions is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
31
Last commit
License
MIT
Listing updated

Similar skills

About Spec conventions

This skill gives the agent a set of rules for writing specification documents meant to be the single source of truth for a feature's design and implementation. It explains how spec files differ from post-implementation documentation files, so that design rationale stays in specs while docs remain short usage guides that point to source files instead of repeating definitions.

The skill lays out a recommended section order for a spec, covering the data model, architecture, behavior, integration, security, operations, scope, deliverables and a Current Status section. It also sets a self-containment principle: schemas, field tables, error handling and decision rationale should be inline rather than deferred to other files. Before an interview is considered complete, the agent is pointed to resolving every TODO and searching for vague wording such as TBD or maybe.

The Current Status section has two templates, one for an ongoing interview with covered and remaining areas, and one for implementation with a checklist and dated updates. A reference file with more detailed examples of both formats is included. The skill has no scripts and runs no tools.

When your agent uses it

This skill should be used when the user asks about "spec file format", "spec conventions", "spec vs docs", "current status section", "specification structure", "how to write a spec", "spec deliverables", or "self-contained spec". Provides conventions for writing implementation-ready specification documents.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (9 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the sorah-spec plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add sorah/config
/plugin install sorah-spec@sorah-marketplace

Or copy only this skill to ~/.claude/skills/spec-conventions:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/spec-conventions &&
cp -R "$tmp/claude/marketplace/plugins/sorah-spec/skills/spec-conventions" ~/.claude/skills/spec-conventions &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/spec-conventions inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/spec-conventions to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/spec-conventions &&
cp -R "$tmp/claude/marketplace/plugins/sorah-spec/skills/spec-conventions" ~/.agents/skills/spec-conventions &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/spec-conventions inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/spec-conventions to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/spec-conventions &&
cp -R "$tmp/claude/marketplace/plugins/sorah-spec/skills/spec-conventions" ~/.cursor/skills/spec-conventions &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/spec-conventions inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/sorah/config.git --path claude/marketplace/plugins/sorah-spec/skills/spec-conventions

Or copy the folder to ~/.gemini/skills/spec-conventions yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/spec-conventions:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/spec-conventions &&
cp -R "$tmp/claude/marketplace/plugins/sorah-spec/skills/spec-conventions" ~/.copilot/skills/spec-conventions &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/spec-conventions inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/sorah/config.git

Then copy config/claude/marketplace/plugins/sorah-spec/skills/spec-conventions into your agent's skills folder as spec-conventions. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Spec versus docs separation
Explains the different purpose, audience and content of specification files compared with usage documentation.
Recommended spec structure
Lists the ten sections a well-formed spec should contain, from overview through current status.
Self-contained design rule
Requires schemas, field tables, rationale and error handling to be inlined in the spec itself.
TODO resolution checklist
Describes how to close open questions and search for ambiguous language before sign-off.
Current Status templates
Provides interview-phase and implementation-phase formats for tracking spec progress.

Good for

  • Draft a new feature spec with schemas, behavior and deliverables
  • Review a spec for missing error handling or vague wording
  • Decide whether a change belongs in the spec or in user documentation
  • Update the Current Status checklist while implementing a planned feature

Spec conventions FAQ

What triggers Spec conventions?

It is meant to load when the user asks about spec file format, spec conventions, spec versus docs, the current status section, specification structure, how to write a spec, spec deliverables or self-contained specs.

Does Spec conventions run any scripts or need extra tools?

No. The skill has no scripts and does not set allowed tools; it only provides writing conventions.

What does the Current Status section look like?

During an interview it lists covered areas and remaining areas with a rough question count. During implementation it becomes a checklist with dated update entries.

How do I install Spec conventions in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/spec-conventions to use it in all your projects, or to .claude/skills/spec-conventions in one project. Or install the sorah-spec plugin, which includes it: /plugin marketplace add sorah/config, then /plugin install sorah-spec@sorah-marketplace.

Does Spec conventions run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Spec conventions?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Spec conventions?

The closest alternatives to Spec conventions are Spec driven development, Create specification, Spec driven development, Spec coding and Writing specs.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from sorah/config

  1. Guides an agent through maintaining sorah's aptly-managed APT repositories and their

    • Open source
    • 31 GitHub stars
    • Cloud and infrastructure
  2. Runs a chief-of-staff session that watches your coding agents and keeps work on track

    • Open source
    • 31 GitHub stars
    • Developer tools
  3. Applies language-agnostic coding conventions to code writing and review

    • Open source
    • 31 GitHub stars
    • Developer tools
  4. Guides the agent to write git commit messages and PR titles in a concise house style

    • Open source
    • 31 GitHub stars
    • Developer tools
  5. Guides an agent through building and testing Rails apps on Aurora DSQL

    • Open source
    • 31 GitHub stars
    • Developer tools
  6. Writes English text in the author's terse, direct technical voice for GitHub and email

    • Open source
    • 31 GitHub stars
    • Developer tools