write-specs
БесплатноБез исполняемых скриптовНе проверенUse when the user needs to create or refine a feature SPEC SDD before implementation.
от afonsoft676 установок в других каталогахОб этом скилле
Write SPECs
Overview
Interview the user relentlessly in Portuguese (pt-BR) until a shared understanding is reached, then write a complete SPEC SDD (Spec-Driven Development document) in .specs/SPEC-{YYYYMMDD}-{feature}.md. The SPEC becomes the single source of truth before any implementation.
All questions directed at the user must be in Portuguese. This skill itself and internal reasoning are written in English.
When to Use
The user asks for a new feature, change, bugfix, or refactor.
A request is ambiguous, underspecified, or needs clarification.
Before any implementation begins.
The existing SPEC is outdated and needs refinement.
User asks or mentions this skill in English (e.g., "use /write-specs", "run write-specs").
O usuário pede ou menciona esta skill em português (ex.: "use /write-specs", "execute write-specs").
When NOT to Use
- Do not use for implementation — that is the job of the implementation skill (
/execute-specs, etc.). - Do not use when a SPEC already exists and is approved and the user only wants execution.
- Do not use when the user explicitly refuses to provide requirements.
Core Principles
- No guessing. If a fact is missing, ask the user. If the user declines, mark it
[A DEFINIR]in the SPEC. - No implementation. Never write implementation code. The output is the SPEC only.
- Shared understanding first. The session ends only when the design-tree frontier is empty.
- Evidence-based. Look up repository, docs, and code facts with sub-agents. Do not ask the user for things you can find yourself.
The Design Tree
Map the request as a design tree: every decision branches into the decisions that depend on it.
- Root: the original user request.
- Nodes: decisions to be made.
- Edges: dependencies between decisions.
- Frontier: decisions whose prerequisites are settled and can be asked now.
Work the tree in rounds. Ask the whole frontier in one round, then wait for the user's answers before the next round. A question whose answer depends on another still-open question belongs to a later round. The session is done when the frontier is empty.
Round Format
Every round is addressed to the user and must be in Portuguese:
❓ **Q1** - **<titulo da pergunta em pt-BR>**: <corpo da pergunta em pt-BR>
➡️ <sua resposta recomendada em pt-BR>
---
❓ **Q2** - **<titulo da pergunta em pt-BR>**: <corpo da pergunta em pt-BR>
➡️ <sua resposta recomendada em pt-BR>
Always include a recommended answer. This accelerates convergence and tests whether the user agrees.
Question Categories
Ask at least one round covering each category. You do not need to ask every question — only the ones relevant to the frontier.
Identity
- What is the short name (kebab-case) for this feature?
- What type is it:
Feature | Bugfix | Refactor | API | Infra | Frontend | Docs? - Which repository and branch will hold it?
- Is there an existing ticket or parent Issue?
Domain
- What is the business problem being solved?
- Who is the primary user or persona?
- What is the desired outcome or benefit?
- What does success look like?
Scope
- What is in scope?
- What is explicitly out of scope?
- What would a user assume is included but is not?
Stack and Architecture
- Which stack or framework is affected?
- Which layers, modules, or services change?
- Which files must be read before implementing?
- Which files will be created or modified?
Data and State
- What data is consumed or produced?
- What are the entities, fields, and types?
- Is there a migration, schema change, or new persistence?
API and Contracts
- Does the feature expose or consume an API?
- What are the endpoints, methods, headers, auth, request/response shapes?
- What are the expected errors?
UI / UX
- Are there user-facing screens, components, or flows?
- What are the happy and unhappy paths?
- What accessibility or responsiveness constraints apply?
Security and Compliance
- What authentication or authorization is required?
- Is any PII or sensitive data involved?
- Are there rate limits, audit, or privacy requirements?
Observability
- How is the feature monitored, logged, or traced?
- What metrics or alerts should exist?
Validation
- What is the minimum verification evidence (tests, lint, build)?
- What coverage or quality gate is required?
- What is the deployment or release path?
Example Round in Portuguese
Vamos consolidar o escopo antes de seguir. Aqui estao as perguntas que preciso que voce confirme:
❓ **Q1** - **Nome da funcionalidade**: Qual nome curto voce quer usar para essa feature? (ex: `notificacao-push`, `relatorio-mensal`)
➡️ Meu palpite: `notificacao-push`
---
❓ **Q2** - **Tipo de entrega**: Isso e uma Feature nova, Refactor, Bugfix, API ou Infra?
➡️ Meu palpite: `Feature`
---
❓ **Q3** - **Stack afetada**: Qual linguagem/framework principal sera alterado? (ex: .N
Установить write-specs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл write-specs?
Use when the user needs to create or refine a feature SPEC SDD before implementation.
Как установить скилл write-specs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл write-specs запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic