What problem does it solve?
System-level reorganization scan across the brain-os plugin + vault scripts + vault organization (and any additional repos the user lists in their personal scope file). Detects shallow modules, cross-skill duplication, unused code, conflicting patterns, and vault organizational drift. Runs weekly via cron (Sunday 02:00 ICT) — produces a report with proposed refactor issues. Use when user wants a system-level refactor scan, architecture review, codebase audit, or says 'reorganize', 'refactor', 'shallow modules', 'is this codebase still in shape', 'improve architecture', audit our architecture', or invokes /refactor. Different from /improve (per-skill, eval-gated) and /vault-lint (mechanical hygiene) — this is structural critique across artifacts.
Core Features & Use Cases
- System-wide structural critique across artifacts
- Generates a report with proposed refactor issues and cross-skill consolidation suggestions
- Supports integration with /slice for downstream task slicing and action planning
Quick Start
Run the /refactor skill to perform a weekly system-wide refactor scan and review the generated report.