# case-study-scaffold

Generates a complete, wired, regression-tested case study — content file, route registration, and a skeleton test — in one pass.

## What it is
A project-scoped skill for this portfolio: it generates a complete case study end to end — the typed content file, route registration, and a skeleton regression test — while enforcing the two rules that past mistakes wrote (the closing image is always populated; prose is never split by its own figure).

## Why
The mechanical parts of a new case study — wiring, registration, a skeleton test — are identical every time, and hand-doing them invites the one missed step that breaks the build. One pass generates them correctly so the effort goes to the content.

## How Andrew uses it
It's the pattern I use for turning recurring multi-step procedures into skills: the second time a task repeats, the procedure gets written down with its hard-won constraints inline, and every future run inherits them.

## How to get it
The whole method is downloadable and adaptable — `skills/case-study-scaffold/SKILL.md` inside the zip, as a worked example of a project-scoped skill; the file paths are this site's, the shape is reusable.

_Distilled from: portfolio .claude/skills/case-study-scaffold/SKILL.md_
