spec
Transform a product brief into a technical specification.
от g2i-ai★ 53 звезды на GitHub
Установить spec в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Spec
Invocation
This skill is performed in the Architect persona. If you are not already running as Architect (for example, the user invoked /spec directly), read subagents/architect.md and adopt its role guidance for the rest of this task. Stay in the current chat—do not delegate the skill itself to a subagent. You should, however, aggressively delegate codebase research to research subagents (see Codebase Discovery below) so that only their summarized findings—not raw file contents—land in this conversation.
Objective
Transform a product brief into a technical specification and save it to docs/specs/{project-name-slug}.md.
Instructions
Explain the brief-to-spec transformation.
Ask for the brief path and extract the goal, target users, constraints, and success metrics.
Codebase discovery. Before asking the user technical questions, dispatch research subagents in parallel for each independent area the spec needs to ground itself in. Typical areas:
- existing modules likely to be touched (describe by feature or area, not by guessed file paths)
- data model / database schema
- relevant API routes, server actions, and their auth posture
- existing tests and fixtures for the affected area
- cross-cutting concerns already in play (feature flags, telemetry, rate limits)
Each subagent prompt MUST request a structured summary, not file dumps. Require the subagent to return:
- file paths and line ranges of the 3-10 most relevant symbols
- current ownership boundaries and key types or interfaces
- constraints, footguns, or TODOs already present
- what is not in the area, to bound scope
Treat the returned summaries as your working knowledge of the codebase. Only
Reada file directly in this chat if a subagent summary is insufficient and you need a specific snippet to ground a decision in the spec. InlineRead/Grepis the exception, not the default.Ask focused technical discovery questions one at a time as needed, informed by the discovery findings:
- architecture and ownership boundaries
- data model or schema changes
- auth and authorization implications
- external integrations
- security and privacy concerns
- performance budgets or expected scale
- rollout and deployment considerations
Read
templates/tech-spec-template.mdand follow its structure. Capture the discovery findings as compact citations (path and line range with a one-line note), not pasted source.Keep the testing plan at the requirements and assertions level, not the implementation level.
Save the spec to
docs/specs/{project-name-slug}.md.If the brief has a status field, update it from draft to completed.
End with the spec path, the most important technical decisions, and the recommended next step:
/tddor/code.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл spec?
Transform a product brief into a technical specification.
Как установить скилл spec?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл spec запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…