Retrofit an EXISTING repo with a lean discipline contract — document reality, freeze decay, improve opportunistically. Use when onboarding an inherited or old codebase, or when the user says "onboard this repo", "brownfield", "retrofit", or "bring this old project under discipline".
CRAP-metric reduction loop (CC^2 x (1-cov)^3 + CC) — score every function, then iterate cover-first/split-second until all are under threshold. Use ONLY when the user explicitly invokes /crap-score or says "run crap" / "crap score" / "reduce crap". Do not trigger for general code-quality talk.
Full design-best-practices manual with per-engineer evidence profiles (Hashimoto, Zechner, Ronacher, Dax Raad, Willison). Use when designing architecture, making structural decisions, writing BLUEPRINT.md, or when the user says "design canon" or "check the manual".
Opinionated rules for view transitions, motion, and UI polish that prevent generic AI-generated design. Use when building or styling any web UI, adding animations, hover effects, page/route transitions, or when the user mentions view transitions, motion design, "AI slop", or making a site feel less generic.
How to write evals and build an eval harness the disciplined way — KPI-based evaluators, per-column reporting, no blended scores. Use when writing evals, building an eval harness, when the user says "add evals", "score this pipeline", or asks about KPI evaluation of an AI feature.
Kyle Simpson's (getify) function craft from Functional-Light JS and You Don't Know JS. Use when writing or reviewing JavaScript/TypeScript functions, refactoring JS/TS code, or when the user mentions first-class functions, functional-light, or getify/Kyle Simpson.
Bootstrap a new project with a lean architecture contract. Use when creating a new project / repo from scratch, scaffolding a codebase, or when the user says "new project", "greenfield", "start a repo", or "set up a project skeleton".
Profiler-driven performance optimization loop using a dynamic workflow. Use ONLY when the user explicitly invokes /optimize-p95 or says "optimize p95" / "run the perf loop". Do not trigger for general performance questions.