to-spec
O que ela faz
Pega o que você já discutiu e escreve como uma especificação estruturada, com histórias de usuário e uma declaração clara do problema. É indicado para pessoas de produto e desenvolvedores que querem registrar um plano rapidamente.
Quando usar
- ✓Quando você terminou de discutir uma funcionalidade e quer que ela fique escrita.
- ✓Quando quer que uma especificação seja publicada no seu gerenciador de issues.
- ✓Quando quer que o agente transforme uma conversa em um plano claro.
Link da skill
https://github.com/mattpocock/skills/blob/main/skills/engineering/to-spec/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Transforme tudo o que acabamos de conversar em uma especificação e publique no nosso gerenciador de issues.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente olha o código e a conversa, verifica onde a funcionalidade deve ser testada e depois escreve a especificação a partir de um modelo padrão e a publica.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
This skill takes the current conversation context and codebase understanding and produces a spec. Do NOT interview the user; just synthesize what you already know.
The issue tracker and triage label vocabulary should have been provided to you. If not, tell the user to run /setup-matt-pocock-skills.
Process
Explore the repo to understand the current state of the codebase, if you haven't already. Use the project's domain glossary vocabulary throughout the spec, and respect any ADRs in the area you're touching.
Sketch out the seams at which you're going to test the feature. Existing seams should be preferred to new ones. Use the highest seam possible. If new seams are needed, propose them at the highest point you can. The fewer seams across the codebase, the better - the ideal number is one.
Check with the user that these seams match their expectations.
- Write the spec using the template below, then publish it to the project issue tracker. Apply the
ready-for-agenttriage label - no need for additional triage.
Problem Statement
The problem that the user is facing, from the user's perspective.
Solution
The solution to the problem, from the user's perspective.
User Stories
A LONG, numbered list of user stories. Each user story should be in the format of:
- As an <actor>, I want a <feature>, so that <benefit>
This list of user stories should be extremely extensive and cover all aspects of the feature.
Implementation Decisions
A list of implementation decisions that were made. This can include:
- The modules that will be built/modified
- The interfaces of those modules that will be modified
- Technical clarifications from the developer
- Architectural decisions
- Schema changes
- API contracts
- Specific interactions
Do NOT include specific file paths or code snippets. They may end up being outdated very quickly.
Exception: if a prototype produced a snippet that encodes a decision more precisely than prose can (state machine, reducer, schema, type shape), inline it within the relevant decision and note briefly that it came from a prototype. Trim to the decision-rich parts, not a working demo, just the important bits.
Testing Decisions
A list of testing decisions that were made. Include:
- A description of what makes a good test (only test external behavior, not implementation details)
- Which modules will be tested
- Prior art for the tests (i.e. similar types of tests in the codebase)
Out of Scope
A description of the things that are out of scope for this spec.
Further Notes
Any further notes about the feature.
</spec-template>Perguntas frequentes
O agente vai me fazer muitas perguntas antes?
Não. A skill diz para não entrevistar você e confiar no que já foi discutido.
Qual gerenciador de issues ela usa?
O que o seu projeto configurou para issues, que deve estar definido antes de usar esta skill.
Que rótulo ela adiciona?
Ela aplica o rótulo de triagem ready-for-agent à especificação que publica.
Detalhes
Descrição original do autor
Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.
repo: mattpocock/skills
Popularidade
- Estrelas no GitHub
- 310 mil
- Posição no ranking
- #108
- Licença
- MIT
- Atualizada em
- 01/11/2026
Comentários
- …
Mais skills deste repositório
ask-matt
310 milPermite que seu agente atue como guia de um conjunto de skills de programação, indicando a skill certa para a sua situação, desde a ideia até o código entregue.
code-review
310 milConfere suas mudanças com os padrões de código do seu repositório e com a especificação original, rodando as duas revisões lado a lado antes do merge.
domain-modeling
310 milCria um glossário compartilhado do projeto e registra as decisões de design importantes, para que seu código use as mesmas palavras que a sua equipe usa.
implement-spec
310 milTransforma uma especificação pronta e seus tickets em código funcionando, tratando os tickets em ordem e reunindo tudo em uma única branch.
Skills parecidas
knowledge-capture
394 milEnsina seu agente a salvar decisões, preferências e fatos importantes no seu Knowledge vault como notas curtas, com a indicação da fonte.
knowledge-claim-consolidation
394 milAjuda seu agente a organizar um Knowledge vault unindo afirmações duplicadas, movendo-as para as páginas de assunto certas e aposentando as desatualizadas.
knowledge-correct
394 milPermite que seu agente corrija ou retire uma afirmação ou página específica do Knowledge vault quando você pedir, mantendo um registro do que mudou.