From productivity
Audit and clean up ~/code directory structure, archiving stale repos, fixing folder names, and removing dead worktrees
npx claudepluginhub seabbs/skills --plugin productivityThis skill uses the workspace's default tool permissions.
Audit and tidy the `~/code/` directory.
Verifies tests pass on completed feature branch, presents options to merge locally, create GitHub PR, keep as-is or discard; executes choice and cleans up worktree.
Guides root cause investigation for bugs, test failures, unexpected behavior, performance issues, and build failures before proposing fixes.
Writes implementation plans from specs for multi-step tasks, mapping files and breaking into TDD bite-sized steps before coding.
Audit and tidy the ~/code/ directory.
Run from the home directory (~/).
For every subdirectory in ~/code/ (including inside org folders), collect:
git remote get-url origin, or "no-git")DESCRIPTION, Julia package = has Project.toml, paper/grant = has .qmd/.tex/submission/, website = has _quarto.yml without package files, org-config = .github repos, other)git log -1 --format="%ci")git worktree list in each repo, flag any worktrees whose branch no longer exists on the remote)Report a table for each category:
Local name differs from remote repo name (excluding .git suffix).
For .github repos, convention is {org}-.github.
Include last commit date and whether it's owned by seabbs orgs or external.
Worktrees whose tracking branch no longer exists on the remote, or worktrees with no uncommitted changes that haven't been touched in 30+ days.
Any repo whose remote belongs to a known org (epinowcast, epiforecasts, EpiAware, nfidd, seabbs) but isn't inside the corresponding ~/code/{org}/ folder.
Repos from other orgs/users cloned locally.
Directories with no git remote.
For each flagged item, propose one of:
~/code/archive/Present the full action list and ask for confirmation before executing. Group actions by type (renames, moves, archives, deletes, worktree cleanup).
When moving repos into org folders, create the org folder if it doesn't exist.
When archiving, move to ~/code/archive/.
After execution, update ~/CLAUDE.md with the current repo inventory.
Print a final summary showing:
These GitHub orgs map to ~/code/{org}/:
External repos go in ~/code/external/.
Repos with no git go in ~/code/archive/ unless actively used.