specify — Claude Code prompt: specs and installation
The specify prompt turns a feature description and project context into a Markdown spec. Use it to define requirements before implementation.
MIT ★ 110 updated 2026-10-19
.claude/commands/specify.mdWhat specify does
specify takes a short natural-language feature description together with relevant repository or product context. It returns a Markdown specification covering requirements, design details, and acceptance criteria.
The prompt is intended for Claude Code and Codex. In Claude Code, save it as .claude/commands/specify.md. A feature description is required; project context gives the generated spec details tied to the product or repository.
What it helps with
- draft a specification for a new feature
- revise requirements for an existing feature
- outline the design of a proposed change
- define acceptance criteria in Markdown
Example prompts for the agent
- Create a specification for password recovery using the repository context.
- Revise the CSV import feature spec and add acceptance criteria.
- Turn this feature description and product context into a Markdown specification.
How to install specify
Manually: put the files in place
.claude/commands/specify.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about specify
How do I install specify in Claude Code?
Save the prompt to .claude/commands/specify.md.
What does specify do?
It creates or updates feature specifications in Markdown. The result covers requirements, design, and acceptance criteria.
What does specify need to work?
Provide a short feature description and relevant repository or product context. The feature description is the required starting point.
Source text
specify.md · MIT
# specify Use this prompt to generate or update feature specifications. Inputs: - feature: A short natural language description of the feature - context: Any relevant repository or product context Output: - A well-structured spec in markdown with requirements, design, and acceptance criteria.
© alfredoperez · MIT · alfredoperez/speckit-companion