$ skilldirectory
— zsh — registry.skilldirectory.dev
skill library blog

home / Project Management / To Spec Skill by @mattpocock

To Spec Skill by @mattpocock

FREE
github stars★ 3,15,437updatedAug 2026repo@mattpocock
$git clone https://github.com/mattpocock/skills

The skill is the skills/engineering/to-spec folder inside that repository. Copy it into the folder your agent loads skills from; check your agent's documentation for where that is.

Read the opening of the original SKILL.md
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

1. 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.

2. 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.
…

Excerpt only, quoted from the author's repository. Open the repository for the complete file.