# Write spec

> Write spec is an open-source agent skill for developer tools. Drafts an implementation-agnostic change specification from planning context for Claude. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/juliusz-cwiakalski/agentic-delivery-os/tree/main/.ados-claude/skills/write-spec
- **Repository:** https://github.com/juliusz-cwiakalski/agentic-delivery-os
- **GitHub stars:** 47
- **License:** MIT
- **Skill name:** write-spec
- **Collection:** https://github.com/juliusz-cwiakalski/agentic-delivery-os
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill guides Claude Code through producing a complete change specification for a work item. It takes a work item reference such as PDEV-123 or GH-456, locates or creates a dated change folder under doc/changes, derives a kebab-case slug from the title, and checks out a matching branch before delegating the writing to a spec-writer agent.

The spec it produces is meant to stay free of implementation details and to serve as the authoritative input for the next steps in the workflow, which are a test plan and then an implementation plan. The skill asks for human approval before the test plan step. After the spec is written, it can trigger a commit describing the outcome, and it reports the spec path, branch name and the next command to run.

The skill is a generated Claude Code plugin file that is built from an OpenCode command source. It needs a work item reference as its argument and relies on the planning conversation for all other inputs, so it does not invent requirements. It is distributed under the MIT license as part of the agentic-delivery-os project.

## When your agent uses it

> Generate canonical change specification

## What it can access

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

- [Instructions only, no scripts](https://github.com/juliusz-cwiakalski/agentic-delivery-os/tree/HEAD/.ados-claude/skills/write-spec)
- [Asks for: Read, Write, Edit, Glob, Grep, Bash, WebFetch, mcp__*](https://github.com/juliusz-cwiakalski/agentic-delivery-os/blob/HEAD/.ados-claude/skills/write-spec/SKILL.md)
- [License: MIT](https://github.com/juliusz-cwiakalski/agentic-delivery-os/tree/HEAD/.ados-claude/skills/write-spec)

## Features

- **Work item discovery:** Finds an existing change folder for a reference or creates a dated one with a slug.
- **Spec generation:** Delegates writing a canonical change specification to a dedicated spec-writer agent.
- **Branch handling:** Checks out or creates a branch named after the change type, work item and slug.
- **Commit trigger:** Runs a commit step after the spec is written, using values taken from the spec.
- **Workflow handoff:** Reports the spec path and recommends the test plan command as the next step.

## Good for

- Write a change spec for a new feature from a planning session
- Create a spec folder and branch for a bug fix ticket
- Prepare an authoritative spec before generating a test plan
- Turn planning notes into a structured change document

## Install

### Claude Code

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

```sh
/plugin marketplace add juliusz-cwiakalski/agentic-delivery-os
/plugin install ados@ados
```

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/juliusz-cwiakalski/agentic-delivery-os.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/write-spec &&
cp -R "$tmp/.ados-claude/skills/write-spec" ~/.claude/skills/write-spec &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/juliusz-cwiakalski/agentic-delivery-os.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/write-spec &&
cp -R "$tmp/.ados-claude/skills/write-spec" ~/.agents/skills/write-spec &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/juliusz-cwiakalski/agentic-delivery-os.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/write-spec &&
cp -R "$tmp/.ados-claude/skills/write-spec" ~/.cursor/skills/write-spec &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/write-spec` 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/juliusz-cwiakalski/agentic-delivery-os.git --path .ados-claude/skills/write-spec
```

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

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/juliusz-cwiakalski/agentic-delivery-os.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/write-spec &&
cp -R "$tmp/.ados-claude/skills/write-spec" ~/.copilot/skills/write-spec &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/juliusz-cwiakalski/agentic-delivery-os.git
```

Then copy `agentic-delivery-os/.ados-claude/skills/write-spec` into your agent's skills folder as `write-spec`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What input does the skill need?

It needs a work item reference matching a pattern such as PDEV-123 or GH-456. Without one, it stops and asks for it.

### Where does Write spec write files?

It writes the spec file chg-<workItemRef>-spec.md inside a doc/changes folder, and the rules say only the spec file may be written.

### What happens after the spec is written?

It can trigger a commit and reports the next step, which is running the write-test-plan command, after human approval.

### Does Write spec run scripts?

No scripts are included in the skill folder, which contains a single SKILL.md file.

### How do I install Write spec in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/write-spec to use it in all your projects, or to .claude/skills/write-spec in one project. Or install the ados plugin, which includes it: /plugin marketplace add juliusz-cwiakalski/agentic-delivery-os, then /plugin install ados@ados.

### Which AI agents can use Write spec?

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 Write spec?

The closest alternatives to Write spec are Write plan, Sync docs, Spec driven development, Write test plan and Plan change.

## Where this comes from

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

## Alternatives

- [Write plan](https://ai-powered.com/skills/write-plan): Write plan is an open-source agent skill for developer tools.
- [Sync docs](https://ai-powered.com/skills/sync-docs): Sync docs 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.
- [Write test plan](https://ai-powered.com/skills/write-test-plan): Write test plan is an open-source agent skill for developer tools.
- [Plan change](https://ai-powered.com/skills/plan-change): Plan change is an open-source agent skill for developer tools.
- [Spec](https://ai-powered.com/skills/spec-jasgujral): Spec 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.
- [Spec compact](https://ai-powered.com/skills/spec-compact): Spec compact is an open-source agent skill for developer tools.

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