run-repo-cleanup
Run Repo Cleanup
Turn a messy repo — dirty working tree, unpushed commits, possibly multiple worktrees from parallel subagents — into a small number of focused PRs on the private fork only, each with diff-read commits inside and a comprehensive self-review body outside. End state must be tidy: no stale branches local or remote, no stale worktrees, working tree clean.
When To Use
Trigger on phrases and git states like:
- "clean up this repo", "tidy up before I push", "land my work in PRs"
- "my working tree is a mess — sort it out", "sweep these uncommitted changes"
- "I have N worktrees from the parallel subagents — merge them in order"
- "open the cleanup PRs against the fork, not upstream"
- "split this dirty branch into commits and a self-review body"
- "retire merged branches and worktrees", "prune the stale branches"
- Git state:
git statusis dirty + unpushed commits, orgit worktree listshows ≥2 entries, or a fork-vs-upstreamoriginsetup is active.
Do NOT use this skill for:
- Reviewing someone else's PR for merge readiness — use
do-review.
More from yigitkonur/skills-by-yigitkonur
run-research
Use skill if you are answering one technical research question with current web evidence, Reddit practitioner experience, and source-backed synthesis, optionally fanned out across parallel subagents.
42run-agent-browser
Use skill if you are driving the agent-browser CLI for ad hoc browser automation — @ref snapshots, sessions, forms, extraction, screenshots, headed/stealth, or provider runs.
38publish-npm-package
Use skill if you are publishing to npm via GitHub Actions release workflow with trusted publishing, NPM_TOKEN, provenance, semantic-release, changesets, release-please, or fixing npm publish CI.
35init-agent-config
Use skill if you are creating, auditing, or migrating CLAUDE.md, AGENTS.md, or REVIEW.md instruction files, folder-scoped agent guidance, or cross-agent companion entrypoints.
34build-mcp-use-server
Use skill if you are building TypeScript MCP servers with mcp-use/server — server.tool, response helpers, ctx.auth, sessions, transports, widgets, Inspector, deploy.
34build-skills
Use skill if you are creating or substantially revising a Claude skill and need workspace-first evidence, remote comparison, and repo-fit synthesis before writing SKILL.md.
32