con un clic
mags-legacy
Initialize MAGS for an existing (brownfield/legacy) project
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Initialize MAGS for an existing (brownfield/legacy) project
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Show all available MAGS commands, skills, agents, and hooks at a glance
Initialize MAGS for the current project
Show project status dashboard with progress, docs health, and next steps
Generate changelog from git history and project docs
List all project documents
Validate project documentation
Basado en la clasificación ocupacional SOC
| name | mags-legacy |
| description | Initialize MAGS for an existing (brownfield/legacy) project |
| version | 1.0.0 |
| user-invocable | true |
| allowed-tools | ["mcp__mags_mags__mags_list_docs","mcp__mags_mags__mags_create_doc","mcp__mags_mags__mags_detect_stack","mcp__mags_mags__mags_discover_modules","mcp__mags_mags__mags_remember","mcp__mags_mags__mags_generate_claude_md","Bash","Read","Glob","Write"] |
Initialize MAGS for an existing (brownfield/legacy) project that already has code but lacks documentation.
Use mags_detect_stack to detect the project's tech stack automatically.
Use mags_discover_modules to find existing modules in the code.
Report findings:
Detected Stack:
Languages: <detected>
Frameworks: <detected>
Databases: <detected>
API Style: <detected>
Discovered Modules:
- <module> (confidence: <score>%)
- ...
Ask the user these questions (all at once):
Using mags_create_doc, create these documents from the legacy templates:
current-architecture — Document the current architecture based on scan resultsmigration-plan — Create a migration plan based on user goalstech-debt — Start a tech debt registrytarget-architecture — Document the target architectureAlso create standard docs:
tech-stack — Based on detected stackproject-structure — Based on discovered modulesMAGS Legacy Init Complete
Stack: <detected stack summary>
Modules: <N> modules discovered
Documents Created:
- current-architecture.md
- migration-plan.md
- tech-debt.md
- target-architecture.md
- tech-stack.md
- project-structure.md
Run /mags-status to see your project dashboard.
Related commands:
| Command | Description |
|---|---|
/mags-init | Initialize MAGS for a new project |
/mags-status | View project progress dashboard |
/mags-setup | Get Claude Code configuration recommendations |