/ezpowers:improve-codebase-architecturefrom EZPowers
Scans existing product code for deep-module opportunities (shallow modules, scattered policy, leaky seams) and renders an offline report without modifying the repository.
Ships in EZPowers. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Find high-value product-code deepening opportunities without changing the repository.
Resolve <skill-root> as the directory containing this SKILL.md. Read
<skill-root>/references/report-contract.md and use
<skill-root>/scripts/render-report.py. Verify both exist before scanning;
never fetch an upstream file at runtime.
Read repository instructions, the exact initial Git status, relevant history,
CONTEXT.md when present, applicable ADRs, architecture documents, product
code, callers, and tests. Treat documentation as context, not automatically as
an affected product file. Do not run tests, builds, formatters, or generators
during this advisory scan unless the user explicitly requests them; inspection
must not create caches or other workspace artifacts.
Use a user-named module, subsystem, or pain point as the boundary. Do not widen a user-named scope. With no named scope, use recurring recent product-code changes to choose a hotspot, state why, and widen only when history has no coherent hotspot. Do not audit EZPowers workflow or harness authority with this skill.
Apply the deletion test and the Module, Interface, Implementation, Depth, Seam, Adapter, Leverage, and Locality vocabulary. Look organically for scattered domain behavior, repeated ordering policy, interfaces nearly as complex as implementations, pass-through modules, one-adapter false seams, caller leakage, and behavior that cannot be tested through an honest interface.
Keep only 1–8 candidates supported by exact existing file-and-line evidence. Every affected product or test file needs evidence. Mark glossary, architecture, and ADR findings separately as context or decision evidence. Record the current problem, responsibility-level deepening, locality and leverage, surviving test surface, compatibility, migration, ADR status, recommendation strength, and semantically styled before/after graphs.
Do not propose interfaces during the scan; selection must precede interface design. Do not invent a candidate to satisfy the report schema. If the bounded scope has no evidence-backed candidate, report that result and stop without a report.
Write schema-version-2 JSON to an OS temporary path and run:
python <skill-root>/scripts/render-report.py
--project-root <project-root>
--input <temporary-json>
--open
--json
Correct invalid structured input and rerun; never hand-author HTML, use a CDN, write the report inside the repository, overwrite a report, or claim success without a valid receipt. Delete the temporary input JSON after a successful render and also on terminal failure. Preserve the generated HTML for the user.
Confirm the final Git status exactly matches the initial status. If this scan changed the workspace, stop and report the drift without deleting unknown files. Report scope and its basis, revision and dirty state, top recommendation and rationale, candidate count, report path, report/input/source SHA-256 values, source file count, and warnings.
Ask exactly one question at a time. At this stage ask only which candidate the user wants to explore, then wait.
After selection, inspect missing facts and ask one consequential constraint question at a time rather than inventing a decision. When the user has answered or delegated the choices, compare at least two materially different Interface and Seam options. Do not vary only names.
Return Refactor brief with the selected candidate and evidence, settled constraints, interface options and tradeoffs, recommendation, compatibility and migration boundary, surviving tests, and unresolved risks.
Do not implement the refactor or automatically edit product code, CONTEXT.md,
ADRs, architecture documents, specs, or plans. Durable project-boundary changes
remain separate architecture work; implementation requires independent user
authority.
What SKILL.md sets; muted values are Claude Code's defaults
15 skills in this plugin
/codebase-designDesign or improve a module interface, choose a seam, reduce shallow abstractions, and make product code more testable and AI-navigable using deep-module vocabulary. Use for focused module or refactor design, interface alternatives, dependency placement, and test-surface decisions; not for a whole-codebase scan or durable project architecture documentation./deep-interviewUse when a user's request is vague, underspecified, solution-shaped, or explicitly asks for deep-interview, requirement clarification, "grill me", or "그릴미". Resolve stated ambiguity and consequential blind spots into a confirmed, decision-ready request, then offer to proceed, correct, or finish with the summary. Proceed resumes host work in ordinary mode or planning in active Plan Mode. Not for reviewing artifacts or small concrete edits whose scope and success are already settled./design-architectureUse when a project needs durable architecture, boundary, data-flow, deployment, or verification-design decisions before a feature spec is written. Not for implementing code or for general request clarification./diagnoseReproduce the user's exact symptom with a command observed red before hypothesizing or changing product behavior, then root-cause, fix, and verify bugs, failing tests or builds, integration failures, flaky behavior, performance regressions, and unexpected results. Use when the user invokes diagnose or says debug, fix, broken, failing, throwing, flaky, slow, repair, resolve, or make it pass. If no exact-red loop can be built, stop and request the missing access, artifact, or instrumentation instead of guessing./executeUse when a validated EZPowers plan should be implemented with host-native editing and orchestration, then verified and certified by the project-local runtime./explain-with-evidenceStructure user-facing explanations and work-result reports in the user's active conversational language, grounded in observed evidence and honest limits. Use when explaining completed work, technical decisions, knowledge, concepts, numbers, or rationale beyond a one-line confirmation or status update; not to rewrite fixed-schema artifacts or machine-readable output.npx claudepluginhub dlwlgus9125/ezpowers --plugin ezpowersOther plugins' skills for the same job