From evanflow
Identifies refactoring opportunities by surfacing architectural friction. Applies deletion test, deep-modules vocabulary, and seams analysis. Use when reviewing code for refactoring or when files grow too large.
How this skill is triggered — by the user, by Claude, or both
Slash command
/evanflow:evanflow-improve-architectureThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
See `evanflow` meta-skill. Key terms: **module**, **interface**, **depth**, **seam**, **adapter**, **deletion test**.
See evanflow meta-skill. Key terms: module, interface, depth, seam, adapter, deletion test.
SKIP when: the user is doing a small, well-scoped change. Don't try to refactor adjacent code.
CONTEXT.md (if it exists) — for canonical domain languagedocs/adr/ — for prior architectural decisions you must respectWalk the codebase noting friction:
For each candidate module: "If I deleted this, where would the complexity go?"
Before proposing changes, stress-test:
CONTEXT.md, or are we inventing new terms?"For each, name:
CONTEXT.md)Prioritize. Recommend ONE to tackle next.
Each opportunity becomes its own evanflow-writing-plans cycle. Do not bundle multiple refactors into one plan — that's a horizontal-slice failure.
If the opportunity changes a public interface, route through evanflow-design-interface first.
CONTEXT.md and docs/adr/ before proposing changes. Domain language and prior decisions must inform the design.evanflow-design-interface (if interface changes) or evanflow-writing-plans (otherwise)evanflow-glossary to update CONTEXT.mddocs/adr/npx claudepluginhub evanklem/evanflow --plugin evanflowAnalyzes codebase architecture, identifies shallow modules, and proposes deepening refactors to improve testability and AI-navigability using precise vocabulary (Module, Interface, Depth, Seam, Adapter).
Identifies shallow modules and architectural friction in a codebase, using domain language from CONTEXT.md and ADR decisions, to propose refactoring opportunities for testability and AI-navigability.
Identifies architectural deepening opportunities in codebases, refactoring shallow modules for better testability and AI-navigability, informed by domain glossary and ADRs.