# Spec

> Requirements and design for a feature too large for one task - interviews the user, writes one spec, and splits it into tasks.

- Skill: `tauqeer13/spec` (Agent Skill)
- Install (CLI): `npx get-skill add tauqeer13/spec`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tauqeer13/spec/raw
- Safety review: pending
- Works with: any agent that reads SKILL.md (Claude Code, Claude.ai, Cursor, Codex, Windsurf, 60+ more)
- Category: Coding & Dev Tools
- Author: tauqeer13 (https://skillmd.com/u/tauqeer13)
- Updated: 2026-12-03
- Page: https://skillmd.com/skills/tauqeer13/spec

---

---
name: spec
description: Requirements and design for a feature too large for one task - interviews the user, writes one spec, and splits it into tasks.
argument-hint: "<the feature or change>"
disable-model-invocation: true
---

Write the spec for `$ARGUMENTS` and split it into tasks. No product code in this step.

1. Read the project profile (`<workflowDir>/PROJECT_PROFILE.md`), the project's CLAUDE.md,
   `<workflowDir>/lessons.md` and the product playbook (`../../departments/product/playbook.md`). Find the code the feature touches with Grep, or the
   `dev-workflow:scout` agent for a wide search, started with the `scout` model
   (`python3 <plugin folder>/hooks/dw.py models --project <project root>`, the plugin folder being two levels above this file); read ranges, not files.
2. Interview the user until you could build it without guessing: who uses it and why, what
   they see and do, the states (empty, loading, error, success), limits and edge cases, what is
   out of scope, how it will be judged done. Rounds of at most four questions, recommended
   answer first; stop asking when the answers stop changing the spec. Do not ask what the code
   or the profile already answers.
3. Write `<workflowDir>/specs/<slug>.md`, at most about 80 lines:
   - `Goal` and who it is for;
   - `Requirements`, numbered, each with acceptance criteria written as checks;
   - `Out of scope`;
   - `Design`: the approach, the modules and data it touches, new dependencies, interface or
     schema changes, and for anything visual the screens, states and the design source they
     follow;
   - `Risks`, with the risk tier of each part and anything that cannot be undone;
   - `Tasks`: an ordered list, each one small enough for one sitting, with its type from the
     plan command's `tracks.md`, the requirement numbers it covers, and what it depends on.
     Every requirement is covered by at least one task.
4. If the design is a real trade-off, run `/dev-workflow:advise` and record the outcome as one
   dated line in `<workflowDir>/DECISIONS.md`.
5. Show the user the requirements and the task list and ask for one approval. Then report the
   spec path and the first task in 3 lines, and ask the user to type `/clear` and run
   `/dev-workflow:plan` (with no argument it takes the next task from the spec).

When a task from the spec is finished, its line in `Tasks` is ticked with the commit. The spec
is done when every requirement's criteria are ticked.

