From code-modernization
Generates a phased Modernization Brief from assessment artifacts, producing an approval-ready document with target architecture, migration sequence, and validation strategy.
How this skill is triggered — by the user, by Claude, or both
Slash command
/code-modernization:modernize-brief <system-dir> [target-stack]<system-dir> [target-stack]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Synthesize everything in `analysis/$1/` into a **Modernization Brief** — the
Synthesize everything in analysis/$1/ into a Modernization Brief — the
single document a steering committee approves and engineering executes.
Target stack: $2 (if blank, recommend one based on the assessment findings).
Read analysis/$1/ASSESSMENT.md, analysis/$1/TOPOLOGY.html (and the .mmd
files alongside it), and analysis/$1/BUSINESS_RULES.md first. If any are
missing, say so and stop — they come from /modernize-assess, /modernize-map,
and /modernize-extract-rules respectively. Run those first.
Write analysis/$1/MODERNIZATION_BRIEF.md:
One paragraph: from what, to what, why now.
Mermaid C4 Container diagram of the end state. Name every service, data store, and integration. Below it, a table mapping legacy component → target component(s).
Break the work into 3-6 phases using strangler-fig ordering — lowest-risk, fewest-dependencies first. For each phase:
Render the phases as a Mermaid gantt chart.
List the P0 rules from BUSINESS_RULES.md (the ones tagged Priority: P0 —
money, regulatory, data integrity) that MUST be proven equivalent before any
phase ships. These become the regression suite. Flag any P0 rule with
Confidence < High as a blocker requiring SME confirmation before its phase
starts.
State which combination applies: characterization tests, contract tests, parallel-run / dual-execution diff, property-based tests, manual UAT. Justify per phase.
Anything requiring human/SME decision before Phase 1 starts. Each as a checkbox the approver must tick.
Approved by: ________________ Date: __________
Approval covers: Phase 1 only | Full plan
Enter plan mode and present a summary of the brief. Do NOT proceed to any transformation until the user explicitly approves. This gate is the human-in-the-loop control point.
npx claudepluginhub minhthang1009/dotclaude --plugin code-modernizationCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.