scan
Rapid codebase assessment — lightweight alternative to /gsd:map-codebase
SKILL.mdskills/scan/SKILL.md
GitHub<objective>
Run a focused codebase scan for a single area, producing targeted documents in `.planning/codebase/`.
Accepts an optional `--focus` flag (`tech`, `arch`, `quality`, `concerns`, or `tech+arch` (default)), OR a `--drift` mode (mutually exclusive with `--focus`) that runs `gsd-tools verify drift` and prints a ranked drift report to stdout, no agent spawned. In `--drift` mode, `--top N` limits the report (default 20) and `--fail-on-score N` exits 1 when the composite score is below N.
Lightweight alternative to /gsd:map-codebase — spawns one mapper agent instead of four parallel ones.
</objective>