| name | magic-analyze |
| description | Project Ventilation — audits health, registry, and rule compliance |
| handoffs | [{"label":"Create specifications","workflow":"magic-spec","prompt":"Proceed to create suggested specifications for uncovered areas.","condition":"gaps_detected"},{"label":"Generate tasks","workflow":"magic-task","prompt":"Plan repairs and task synchronization for discovered issues.","condition":"repairs_needed"}] |
Analyze Workflow
Performs a deep "Ventilation" scan: spec/code drift, missing coverage, engine metadata integrity, advisory recommendations.
Triggers: /magic-analyze [arg], "Ventilate", "Analyze project", "Scan project", "Re-analyze".
Trigger: /magic-analyze [arg]. Arguments:
- (empty) — full analysis across all workspaces
{workspace} — scoped analysis with structural integrity checks
"text" — focused analysis on a specific area/concern
{workspace} "text" — focused analysis within a workspace
Examples: /magic-analyze, /magic-analyze engine, /magic-analyze "check API", /magic-analyze docs "focus on examples".
- Analyze & Ventilate: read
.magic/analyze.md and execute its steps.
- Report: provide a consolidated report of findings and suggested repairs.
- Advisory: append actionable recommendations for spec quality, coverage, and structure improvements.
Full implementation: .magic/analyze.md. Read it before proceeding.
Executor: node .magic/scripts/executor.js <script> for all automation.
// turbo-all