inspr-at/inspr-modules/tidyrepo

Claude Code and agent skill by inspr-at/inspr-modules

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Cheap state-only hygiene sweep — worktrees, merged branches, PPM done-ticket metadata, backlog dedupe, KB freshness — then a short report. No code analysis, no cross-model challenge. Use after a release train or at the end of a working session. For a full tech-debt audit use /housekeeping instead.

Install

npx vskill@latest install inspr-at/inspr-modules/tidyrepo

SKILL.md

The same SKILL.md was published earlier as inspr-at/inspr-modules/tidyrepo.

tidyrepo

State hygiene only. You are tidying the situation around the code, never the code itself.

Hard boundaries

  • No codesweep. No antipattern hunting, dead-code analysis, perf review, or complexity scoring. That is /housekeeping.
  • No cross-model challenge round.
  • Cross-repo writes follow the authoring doctrine (kernel): you may delete only branches this agent lineage created in a foreign repo. Anyone else's branch, and any other foreign-repo change, is a ticket — never a git push --delete.
  • Never delete an unmerged branch. Never close a ticket.

Steps

  1. Worktrees — git worktree list in each repo in scope; prune ones that are gone or unchanged. Report the rest.
  1. Branches — for each repo, classify every local and remote branch as merged / unmerged / unknown.

> Use the forge, not `merge-base`. git merge-base --is-ancestor <branch> origin/main reports squash-merged branches as unmerged — squashing writes a new commit, so the branch tip is never an ancestor of main. Ask instead: > gh pr list --head "$b" --state all --json number,state,mergedAt. > Measured on the operator's host-configuration repository 2026-08-07: 32 of 45 remote branches had merged PRs that the ancestor check called unmerged.

No PR found, or the forge is unreachable → unknown, not unmerged. Delete only: merged and created by this agent lineage. Everything else → one ticket in the owning project, grouped, with the classification in the body.

  1. PPM done-ticket normalization — recently-closed tickets with empty acceptance criteria, missing close notes, or absent release metadata. Fill what is derivable from the merge/release; list what is not.
  1. Backlog triage — surface duplicates and tickets overtaken by shipped work (say which release superseded them). Propose; do not close.
  1. Knowledgebase freshness — is the session-pickup runbook current with the last release? Are doc-sync follow-ups piling up? Do guidelines still describe how deploys actually work?
  1. File a ticket only if something is obvious AND untracked. Check the backlog first — re-filing what an existing ticket already covers is the opposite of tidying.
  1. Report — short, plain, in this order: what was cleaned, what needs a human, what was deliberately left alone and why. Then suggest /ship-next if the backlog has an obvious next item.

Scope

Default: the current repo. If the session touched sibling repos (a release-pin bump under the doctrine carve-out), include those for own-residue cleanup only.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/inspr-at/inspr-modules/tidyrepo/badge)](https://verified-skill.com/skills/inspr-at/inspr-modules/tidyrepo)

Something wrong with this skill or its page? Tell us.