modernize-reimagine
Rebuild the system from its extracted intent on a new architecture, with two human checkpoints
от smartworldarafath★ 16 звёзд на GitHub
Установить modernize-reimagine в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
The first token of $ARGUMENTS is the system name ($system); everything after it is the target
vision, usually several words, so do not truncate it (with none, use the one in analysis/$system/INTENT.md). Below, <vision> means that whole remainder.
The code is legacy/$system, often a symlink to where it really lives: say where it points (readlink legacy/$system) in one line before you start. If legacy/$system does not exist, stop and say so: nothing can run without the code, so the fix is /code-modernization:modernize $system --source <path to the code>. Run every subagent in the foreground and wait for its result: never end your turn while one is still running. Stop any server or other process you started (a legacy app on a local port, a watcher) before you finish, and say you did.
Reimagine the system as: . This is not a port but a rebuild from extracted intent: the legacy system is the specification source, not the structural template. The command orchestrates a team of agents with two explicit human checkpoints.
The brief is binding. If analysis/$system/MODERNIZATION_BRIEF.md exists, find the phase whose
Command: is this one and whose scope matches $system and , and treat its scope, entry
criteria, exit criteria and the user's edits as binding on everything below, on top of (never instead of)
this command's own two checkpoints. An unmet entry criterion is the next step: meet it, never re-plan
around it. If no phase matches, stop and ask which phase this is.
Phase A — Specification mining
Reuse what discovery already produced (honoring RULE_REVIEWS.json: a rule marked wrong is not part of the spec as written, and a P0 rule marked discuss is a question for the architecture checkpoint): BUSINESS_RULES.md, DATA_OBJECTS.md, topology.json and
ASSESSMENT.md in analysis/$system/. Spawn concurrently (and tell the user all are running) only the
agents whose input is missing:
- business-rules-extractor, only if
BUSINESS_RULES.mdis missing — "Extract every business rule from legacy/$system into Given/When/Then form, as a structured list." - legacy-analyst — "Catalog every external interface of legacy/$system: inbound (screens, APIs, batch triggers, queues) and outbound (reports, files, downstream calls, DB writes), each with name, direction, payload shape, and frequency or SLA if discernible. Mask credentials in endpoints and payload examples."
- legacy-analyst, only if there is no
topology.jsonorDATA_OBJECTS.md— "Identify the core domain entities of legacy/$system and their relationships: an entity list and a Mermaid erDiagram."
write_to_file analysis/$system/AI_NATIVE_SPEC.md: Capabilities (what the system must do, from rules and
interfaces), Domain Model (entities and erDiagram), Interface Contracts (each external interface as
an OpenAPI or AsyncAPI fragment), Non-functional requirements inferred from legacy (batch windows,
volumes), and the Behavior Contract (the Given/When/Then rules, which are the acceptance tests).
Credentials are masked everywhere; connection details appear as env-var placeholders (${DATABASE_URL}),
never literals.
Phase B — Checkpoint 1
Present the spec summary and ask one focused question: "Which of these capabilities are P0 for the reimagined system, and should any be deliberately dropped?" Wait, and record the answer in the spec.
Phase C — Architecture, then critique
Design the target architecture for : a Mermaid C4 Container diagram, service boundaries with
rationale (which rules and entities live where), technology choices with a one-line justification each, a
Target versions table (component, version, support end, source and date checked, status), and the data
migration approach from the legacy stores. Versions are looked up, never remembered: before choosing any,
read ${ANTIGRAVITY_PLUGIN_ROOT}/references/target-versions.md and follow it (check each with the web tools, on the
vendor's support page or endoflife.date; newest supported release, or newest LTS where the vendor keeps an LTS line;
unverified only when every lookup failed). Then spawn architecture-critic: "Review this
architecture for against analysis/$system/AI_NATIVE_SPEC.md: over-engineering, missed
requirements, scaling risks, simpler alternatives, and any technology that is out of support or has no version,
support date and source." Incorporate the critique (look up any version that changes, here or at Phase D, and
update the table) and write analysis/$system/REIMAGINED_ARCHITECTURE.md.
Phase D — Checkpoint 2
Present the architecture, naming every Target versions row that is not supported (the user pins an
unverified one here), and stop: scaffold nothing until the user explicitly approves (plan mode if
available). The approval authorizes the build-out.
Phase E — Parallel scaffolding (only after Phase D approval)
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл modernize-reimagine?
Rebuild the system from its extracted intent on a new architecture, with two human checkpoints
Как установить скилл modernize-reimagine?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл modernize-reimagine запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…