specflow-change-routerlisted
Install: claude install-skill pedropacheco95/cortex
# Specflow: Change Router
Every request in a spec-managed project must be classified before any work begins. This prevents ad-hoc code changes that bypass the spec tree and ensures all changes flow through specs first.
The core principle: **specs are the source of truth**. Code is an artifact of specs. Humans review specs, not code. Every change starts at the spec level.
## The two-layer spec model (read this first)
A modern Specflow project has two parallel spec layers plus a folder-overview layer. The router must understand all three.
| Layer | Lives in | Audience | Contains | Frontmatter link |
|---|---|---|---|---|
| **Business specs** | `.specflow/specs-business/` | Stakeholders, PMs, clients | Outcomes, user journeys, business rules, success metrics, KPIs. No schema, no API, no Given/When/Then. | `implemented_by: [path, …]` (points down to dev specs) |
| **Developer specs** | `.specflow/specs/` | Engineers, AI builders | Entities, schemas, API contracts, rules, Given/When/Then acceptance criteria. | `implements: path` (points up to exactly one business spec) |
| **Folder overviews** | `_overview.md` in every directory under `.specflow/specs/` and `.specflow/specs-business/` (root, every domain folder, every capability folder, sub-folders) | Anyone navigating the tree | What this group of specs IS, what it COVERS, WHY it exists as a group. No criteria, no rules — just orientation. | None |
> **Filename note.** This skill uses `_overview.md` (underscore prefix sorts