prism-maintain
Installation
SKILL.md
Prism Code Maintenance
Measure complexity, refactor hotspots, keep the code human-maintainable.
Methodology adapted from
saurabhkumar8112/cyclomatic-complexity-skill
(Apache-2.0); type discipline enforced by the vendored
dmmulroy/anti-slop v0.1.2 plugin in
tools/oxlint/anti-slop/.
Complexity gates (project config wins)
bun run lint enforces complexity: max 10 as an error via oxlint
(type-aware — it is the authoritative measure for this Effect-TS codebase;
line-counters like lizard mis-parse Effect.gen chains and report phantom
CCN 50+ on 15-line functions, so never act on lizard numbers here).
Bands: 1–6 fine · 7–10 watch (refactor only if touching the function anyway) · 11+ must split before merge (lint fails).