# Spec conventions

> Spec conventions is an open-source agent skill for developer tools. Conventions for writing implementation-ready spec documents for feature design. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/sorah/config/tree/master/claude/marketplace/plugins/sorah-spec/skills/spec-conventions
- **Repository:** https://github.com/sorah/config
- **GitHub stars:** 31
- **License:** MIT
- **Skill name:** spec-conventions
- **Collection:** https://github.com/sorah/config
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/sorah/config/tree/HEAD/claude/marketplace/plugins/sorah-spec/skills/spec-conventions)
- [License: MIT](https://github.com/sorah/config/tree/HEAD/claude/marketplace/plugins/sorah-spec/skills/spec-conventions)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Spec driven development](https://ai-powered.com/skills/spec-driven-development-ajyadav013-2): Spec driven development is an open-source agent skill for developer tools.
- [Create specification](https://ai-powered.com/skills/create-specification): Create specification is an open-source agent skill for developer tools.
- [Spec driven development](https://ai-powered.com/skills/spec-driven-development-addyosmani): Spec driven development is an open-source agent skill for developer tools.
- [Spec coding](https://ai-powered.com/skills/spec-coding): Spec coding is an open-source agent skill for developer tools.
- [Writing specs](https://ai-powered.com/skills/writing-specs): Writing specs is an open-source agent skill for developer tools.
- [Specify](https://ai-powered.com/skills/specify): Specify is an open-source agent skill for developer tools.
- [Update specification](https://ai-powered.com/skills/update-specification): Update specification is an open-source agent skill for developer tools.
- [Spec from requirements](https://ai-powered.com/skills/spec-from-requirements): Spec from requirements is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/spec-conventions
