summaryrefslogtreecommitdiff
path: root/plugins/code-modernization/README.md
diff options
context:
space:
mode:
authorMorgan Lunt <morganl@anthropic.com>2026-09-24 20:18:45 -0700
committerMorgan Lunt <morganl@anthropic.com>2026-09-24 20:18:45 -0700
commitb6b148f496e8da208676b4a1553bdf292ce340d9 (patch)
treeb975243ebfb4e78dd56d4b36ac3560feed156f7b /plugins/code-modernization/README.md
parent696904602b2bdf3e0ddd07ae1221f9eb3e3b8e62 (diff)
code-modernization: a front door that asks what you want once
/code-modernization:modernize takes no arguments. It finds the code, asks what the person wants to do with it (a newer version of the same technology, a rewrite in another one, a rebuild, or just to understand it) and what must stay true, writes the answers to analysis/<system>/INTENT.md, shows the road ahead in a few lines, and gives the exact first command. On a return visit it acts like status. brief takes its objective, target and each phase's build command from INTENT.md, and uplift, transform and reimagine fall back to it for their versions, target and vision, so nobody is asked the same thing twice. The README's start section now begins with the front door.
Diffstat (limited to 'plugins/code-modernization/README.md')
-rw-r--r--plugins/code-modernization/README.md18
1 files changed, 13 insertions, 5 deletions
diff --git a/plugins/code-modernization/README.md b/plugins/code-modernization/README.md
index dd765fe1..7392e6a7 100644
--- a/plugins/code-modernization/README.md
+++ b/plugins/code-modernization/README.md
@@ -12,11 +12,19 @@ Point Claude at a legacy codebase (COBOL, Java, .NET, PHP, Perl, Python 2, C and
## Start here
-1. **Point it at your code.** In a workspace folder, put the code at `legacy/<name>` (a copy or a symlink), or leave it where it is and pass `--source <path>` in step 2: preflight makes the `legacy/<name>` link for you and copies nothing. `<name>` is a short label: letters, digits, `-` and `_`.
-2. **Run** `/code-modernization:modernize-preflight <name>` (add `--source /path/to/code` if it lives elsewhere).
-3. **Follow the "next step" line** each command ends with, or run `/code-modernization:modernize-status <name>` at any time: it says where you are and gives the exact command to paste.
-
-Commands are namespaced, so type the full name (autocomplete finds it from `/modernize`). Flags go after the arguments. No command edits your code: they write to `analysis/<name>/` and `modernized/`, and each refreshes `analysis/<name>/REPORT.html`, one page with everything found so far that you can open or share.
+Type `/code-modernization:modernize` in a workspace folder (autocomplete finds it from `/modernize`). It asks what you want to do with
+your code, finds it (a `legacy/<name>` copy or symlink, or a folder you point it at), writes your answers down once, shows the road
+ahead, and gives you the exact first command. You can also run any command directly:
+
+1. **Point it at your code.** Put it at `legacy/<name>` (a copy or a symlink), or pass `--source <path>` to preflight: it makes the
+ `legacy/<name>` link for you and copies nothing. `<name>` is a short label: letters, digits, `-` and `_`.
+2. **Run** `/code-modernization:modernize-preflight <name>`.
+3. **Follow the "next step" line** each command ends with, or run `/code-modernization:modernize-status <name>` at any time: it says
+ where you are and gives the exact command to paste.
+
+Commands are namespaced, so type the full name. Flags go after the arguments. No command edits your code: they write to
+`analysis/<name>/` and `modernized/`, and each refreshes `analysis/<name>/REPORT.html`, one page with everything found so far that
+you can open or share.
## The path