← ClaudeAtlas

coupling-maplisted

Answers which files to refactor first to reduce systemic risk, by crossing blast radius (how many modules stop working if this one breaks) against size. On first use it asks permission, installs its own tooling and writes a config by reading the project; on every run after that it executes a versioned script and reads only that script's JSON output, never the source tree again. Produces a standalone HTML report with a scatter chart, a ranked queue and structural detectors. Unlike architecture-analyzer and deep-analyzer, which write prose about a codebase, this one measures it.
dayvisonassis/sdd-skills · ★ 1 · Data & Documents · score 72
Install: claude install-skill dayvisonassis/sdd-skills
# Coupling Map Answers one operational question: **which files should be refactored first to reduce systemic risk.** A file qualifies when both conditions hold — it does too much, and enough of the system depends on it that breaking it breaks several other parts. The output is a standalone HTML report. It is **diagnostic, not a gate**: it fails no build and blocks no commit. > References, loaded on demand, all of which travel with this skill: > `references/config-schema.md` (every field of `arch.config.json`), > `references/report-contract.md` (the shape of `architecture.json`), > `references/calibrating-cuts.md` (deriving thresholds for a new codebase), > `references/rejected-metrics.md` (**read before proposing any metric or axis**). > > The full design argument lives in `docs/Skill_Coupling_Map.md` of the **sdd-skills** > repository, which is not part of an installed copy. Everything needed to run is in the folder > you are reading. **The point of the split is cost.** The model inspects the tree exactly once, to write a config of about thirty lines. From then on it reads a single JSON file. On the codebase this was built against that is one file instead of 959, and the numbers are identical either way because the script computed them, not the model. ## INPUT Nothing required. Optionally a path to scope the run, `--config` / `--out` to override locations, and `--open` to launch the finished report in the default browser. ## OUTPUT - `architecture-report/index.html`