원클릭으로
mags-legacy
Initialize MAGS for an existing (brownfield/legacy) project
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Initialize MAGS for an existing (brownfield/legacy) project
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
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
| 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 |