From compass
How to reverse-engineer existing behaviour into BDD scenarios before changing it, on brownfield terrain. Triggers during Specify whenever terrain is brownfield-unmapped (a routing guardrail floor) and is good practice on any brownfield work.
How this skill is triggered — by the user, by Claude, or both
Slash command
/compass:blueprint-distillationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The rule behind this skill is simple: **you cannot safely change behaviour you
The rule behind this skill is simple: you cannot safely change behaviour you
have not first written down. On brownfield-unmapped terrain the routing
policy makes this a routing guardrail floor — distillation runs before any new
scenario, before any change. This skill is how you do it well.
A set of Given/When/Then scenarios that describe what the code currently
does — not what it should do, not what the ticket wants, what it does today.
These go into spec.feature.md marked as baseline scenarios. They become:
touches: tags and the plan's intended change site to draw
the boundary. Distilling too wide wastes the route; too narrow misses the
regression you are about to cause.When and Then will attach.bdd-specification). Name them as the current
outcome. Mark them baseline.clarifications.md: is it load-bearing behaviour to preserve, or a bug to
fix as part of this change? That decision is made deliberately, not by
accident of what the new code happens to do.The most important discipline here. spec.feature.md will end up holding two
kinds of scenario:
Keep them labelled and distinct. When the change ships, some baseline scenarios are intentionally superseded by target scenarios — that is a recorded decision, not a silent overwrite. The baseline you are not changing must still pass at Verify; that is the proof you preserved what you meant to.
Sometimes the current behaviour is inconsistent — the same input class does different things depending on undocumented state. Distill it honestly anyway: write the scenarios that capture the inconsistency. The mess, written down, is something you can decide about. The mess, undescribed, is something that will surprise you at Verify or in production.
npx claudepluginhub jed72/compass --plugin compassGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.