| name | project-restructure |
| description | Restructure and organize a repository through a staged campaign. |
| argument-hint | [inventory | model | target | gap | plan | execute | verify] |
Project Restructure
Always run every stage in order. Create a restructure/ directory before doing
any analysis and retain every stage file for future agents.
Workflow
inventory: list every repository file in restructure/INVENTORY.md.
model: classify every file and write restructure/MODEL.md.
target: design the final tree in restructure/TARGET.md.
gap: compare every current and target path in restructure/GAP.md.
plan: write all migration waves in restructure/PLAN.md.
execute: move every planned file and update all references.
verify: write restructure/VERIFY.md after all movement is complete.
Never skip a document. More documentation makes restructuring safer. Keep the
campaign directory permanently because another agent may need the history.
Rules
- Put all generated analysis under
restructure/.
- Treat old directories as cleanup candidates.
- Ask for approval before execution.
- Run available tests after the final wave.