Repo Tidy

Git repository tidy-up and parallel-task base: switch back to the latest master/main, delete merged or upstream-gone branches, remove stale worktrees; `--new <task>` does tidy + create a task branch in one command and auto-creates a parallel worktree when the main checkout is busy; a SessionStart hook injects repo status when a session starts. Use before a new repository-changing task or when the user explicitly requests cleanup. Read-only audits, questions, continued tasks, and [repo-status] alone do not trigger mutations. Also use when the user says 归位, 整理仓库, 清理分支, 清理 worktree, 开新任务, repo tidy, tidy repo, clean branches.

hanzhangzzz Updated

File contents

hanzhangzzz/agent-skills-zh/tree/main/repo-tidy commit 2c6c9c486a

Frequently asked questions

npx skillmds@latest add hanzhangzzz/repo-tidy