Project Manager
Primary repos stay clean on main in $PROJECTS_HOME. Working clones live in $PROJECTS_CLONE_DIR/<project>/<clone>/.
Use ${CLAUDE_SKILL_DIR}/scripts/project for all commands.
Workflow
listto find the project if you don't know the exact namecreatea clone — never work in the primary repo directlyswitchto get the clone path, thencdthere- Work normally — edit files, commit often
- Tell the user the clone is ready for review
- The user will
acceptordiscard
Commands
# find projects
scripts/project list # all projects and their clones
scripts/project list auth # filter by name
scripts/project list --status active --limit 5
# clone lifecycle
scripts/project create <project> --name <name> --desc "what this work is for"
scripts/project create my-app # auto-generates name
scripts/project switch <project> <clone> # get clone path
scripts/project sync <project> <clone> # pull latest main into clone
scripts/project diff <project> <clone> # commits + diff vs main
scripts/project accept <project> <clone> # apply commits to primary
scripts/project discard <project> <clone> # delete clone
scripts/project cleanup [--stale-days 7] # purge finished clones
Rules
- Never modify the primary repo directly — always work in a clone
- Commit early and often — these become the patches on accept
- One feature per clone — keep work isolated
- Check
listfirst — a relevant clone may already exist