# To spec

> To spec is an open-source agent skill for productivity. Turns the current conversation into a saved feature spec without interviewing you. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/evist0/okf-matt-skills/tree/main/to-spec
- **Repository:** https://github.com/evist0/okf-matt-skills
- **GitHub stars:** 18
- **License:** MIT
- **Skill name:** to-spec
- **Collection:** https://github.com/evist0/okf-matt-skills
- **Categories:** [productivity](https://ai-powered.com/categories/productivity)
- **Listing updated:** 2026-12-04

## About

This skill takes what has already been discussed in the session, along with the agent's understanding of the codebase, and synthesizes it into a spec document. It skips any back-and-forth questioning and works only from existing context, while the agent explores the repository first if it has not done so yet.

The workflow asks the agent to use the project's domain glossary terms, respect relevant architecture decision records, and identify the test seams for the feature, preferring existing seams and keeping the number of new ones small. The spec is written from a fixed template covering the problem, solution, user stories, implementation decisions, testing decisions, scope limits and notes.

The finished spec is saved as a knowledge concept under a spec folder in an OKF knowledge bundle and logged in the bundle's log file. Turning the spec into tickets is left to a separate skill. The skill expects a configured issue tracker and triage label vocabulary, and points to a setup command if those are missing.

## When your agent uses it

> Turn the current conversation into a spec and save it to the OKF knowledge bundle — no interview, just synthesis of what you've already discussed.

## What it can access

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

- [Instructions only, no scripts](https://github.com/evist0/okf-matt-skills/tree/HEAD/to-spec)
- [License: MIT](https://github.com/evist0/okf-matt-skills/tree/HEAD/to-spec)

## Features

- **Spec from conversation:** Builds a feature spec directly from the discussion already held, with no interview step.
- **Structured spec template:** Organizes the output into problem, solution, user stories, decisions, testing, and scope sections.
- **Test seam planning:** Proposes where the feature should be tested, favoring existing seams over new ones.
- **Knowledge bundle storage:** Saves the spec as a concept in the OKF knowledge bundle and records it in the log.
- **Glossary and ADR alignment:** Asks the agent to use project glossary vocabulary and respect relevant architecture decisions.

## Good for

- Summarize our design discussion into a feature spec
- Save the feature plan we just agreed on as a document in the knowledge bundle
- Write up user stories and implementation decisions from this session
- Draft a spec covering the testing approach we talked about

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/to-spec` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/evist0/okf-matt-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/to-spec &&
cp -R "$tmp/to-spec" ~/.claude/skills/to-spec &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/evist0/okf-matt-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/to-spec &&
cp -R "$tmp/to-spec" ~/.agents/skills/to-spec &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/evist0/okf-matt-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/to-spec &&
cp -R "$tmp/to-spec" ~/.cursor/skills/to-spec &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/to-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/evist0/okf-matt-skills.git --path to-spec
```

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

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/evist0/okf-matt-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/to-spec &&
cp -R "$tmp/to-spec" ~/.copilot/skills/to-spec &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/evist0/okf-matt-skills.git
```

Then copy `okf-matt-skills/to-spec` into your agent's skills folder as `to-spec`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does the skill ask me questions before writing the spec?

No. It is designed to synthesize only what has already been discussed, without interviewing the user.

### Where is the spec saved?

As a concept under knowledge/spec/ in the OKF knowledge bundle, with an entry appended to knowledge/log.md.

### Does To spec create tickets on the issue tracker?

No. Breaking the spec into tickets is handled by a separate /to-tickets skill.

### What setup is needed first?

The issue tracker and triage label vocabulary should be provided; the skill suggests running /setup-okf-matt-skills if they are not.

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

Copy the skill folder from GitHub to ~/.claude/skills/to-spec to use it in all your projects, or to .claude/skills/to-spec in one project.

### Does To spec 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 To spec?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to To spec?

The closest alternatives to To spec are Spec driven development, Requirements to spec, Planning and task breakdown, Agent spec generator and Gen specs as issues.

## Where this comes from

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

## Alternatives

- [Spec driven development](https://ai-powered.com/skills/spec-driven-development-addyosmani): Spec driven development is an open-source agent skill for developer tools.
- [Requirements to spec](https://ai-powered.com/skills/requirements-to-spec): Requirements to spec is an open-source agent skill for productivity.
- [Planning and task breakdown](https://ai-powered.com/skills/planning-and-task-breakdown): Planning and task breakdown is an open-source agent skill for productivity.
- [Agent spec generator](https://ai-powered.com/skills/agent-spec-generator): Agent spec generator is an open-source agent skill for productivity.
- [Gen specs as issues](https://ai-powered.com/skills/gen-specs-as-issues): Gen specs as issues is an open-source agent skill for developer tools.
- [Dev kickoff edho ferdian](https://ai-powered.com/skills/dev-kickoff-edho-ferdian): Dev kickoff edho ferdian is an open-source agent skill for developer tools.
- [Haul spec](https://ai-powered.com/skills/haul-spec): Haul spec is an open-source agent skill for productivity.
- [Implement](https://ai-powered.com/skills/implement-kzytateishi): Implement is an open-source agent skill for developer tools.

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