
To spec
Turns the current conversation into a saved feature spec without interviewing you
To spec is an open-source agent skill for productivity. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 18
- Last commit
- License
- MIT
- Listing updated
Similar skills
About To spec
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.
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 1 file (3 KB) on GitHub on 5 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
Copy the skill folder to ~/.claude/skills/to-spec to use it in all your projects:
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.
Copy the skill folder to ~/.agents/skills/to-spec to use it in every repository:
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.
Copy the skill folder to ~/.cursor/skills/to-spec to use it in every project:
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.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/evist0/okf-matt-skills.git --path to-specOr copy the folder to ~/.gemini/skills/to-spec yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/to-spec:
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.
Get the folder:
git clone --depth 1 https://github.com/evist0/okf-matt-skills.gitThen 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.
What it does
- 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
To spec 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.
More from evist0/okf-matt-skills

Gives the agent a shared vocabulary and principles for designing deep, testable modules
- Open source
- 18 GitHub stars
- Developer tools

Guides an agent through a disciplined loop for diagnosing hard bugs and slow regressions
- Open source
- 18 GitHub stars
- Developer tools

Guides an agent to build and sharpen a project's domain model and glossary
- Open source
- 18 GitHub stars
- Developer tools

Interviews you relentlessly to sharpen a plan or design while recording ADRs
- Open source
- 18 GitHub stars
- Developer tools

Makes the agent interview you one question at a time to stress-test a plan
- Open source
- 18 GitHub stars
- Developer tools

Condenses a conversation into a handoff document for another agent to resume
- Open source
- 18 GitHub stars
- Developer tools


