quality-refactor
Refactor
Usage
$quality-refactor "src/auth" # module path scope
$quality-refactor "authentication" # feature area scope
$quality-refactor "all" # full codebase scan
$quality-refactor "src/api --max-iterations 5" # limit iteration rounds
$quality-refactor "--dir .workflow/scratch/refactor-auth-2026-03-18" # resume existing
Flags:
<phase|scope>: Module path, feature area, or "all"--dir path: Resume existing refactor scratch directory--max-iterations N: Max refactoring rounds (default: 3)
Output: .workflow/scratch/refactor-{slug}-{date}/ with index.json, plan.json, reflection-log.md, .task/, .summaries/
More from catlog22/maestro-flow
spec-map
Analyze codebase with 4 parallel mapper agents via CSV wave pipeline. Produces .workflow/codebase/ documents for tech-stack, architecture, features, and cross-cutting concerns.
1manage-codebase-rebuild
Full codebase documentation rebuild via CSV wave pipeline. Spawns 5 parallel doc generator agents to scan project and produce complete .workflow/codebase/ documentation set. Replaces manage-codebase-rebuild command.
1maestro-quick
Fast-track single task execution with workflow guarantees — analyze, plan, execute in one pass
1quality-sync
Sync codebase docs after code changes -- traces git diff through component/feature/requirement layers
1maestro-roadmap
Lightweight roadmap generation via 2-wave CSV pipeline. Wave 1 runs parallel requirement analysis agents (scope, risk, dependency). Wave 2 runs roadmap assembly agent producing roadmap.md with phases, milestones, and success criteria. Replaces maestro-roadmap command.
1manage-memory
Manage memory entries across workflow and system stores (list, search, view, edit, delete, prune)
1