Skip to content
Back to skills

Repo Maintenance Sweep

ASecurity

Run a periodic repo-hygiene pass (stale branches, uncommitted work, dependency drift, stray TODOs) instead of letting small maintenance debt accumulate silently.

  • 78 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 6, 2026
developmentgogit

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 6, 2026

npx -y skills add RYOITABASHI/Shelly --skill repo-maintenance-sweep --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Repo Maintenance Sweep?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Repo Maintenance Sweep
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ryoitabashi-repo-maintenance-sweep/badge)](https://www.skillsdirectory.com/skills/ryoitabashi-repo-maintenance-sweep)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: repo-maintenance-sweep
description: Run a periodic repo-hygiene pass (stale branches, uncommitted work, dependency drift, stray TODOs) instead of letting small maintenance debt accumulate silently.
---
For a scheduled or on-demand "clean up this repo" sweep, work through these
checks in order, reporting findings before touching anything destructive:

1. **Uncommitted/unstashed work first.** `git status` — never run cleanup
   steps that could discard work before confirming nothing valuable is
   sitting uncommitted. If auto-savepoints exist for this repo, check
   whether recent savepoints already cover the working tree, or whether
   there's newer work a savepoint hasn't captured yet.
2. **Stale branches.** List local branches merged into the main branch
   (`git branch --merged`) as deletion candidates, and local branches with
   no upstream and no recent commits as "probably abandoned, confirm before
   deleting" — never force-delete a branch that isn't merged without
   surfacing it for a human decision first.
3. **Dependency drift.** Check for a lockfile that's out of sync with the
   manifest (e.g. `pnpm install --frozen-lockfile` failing) and outdated
   direct dependencies — report what's outdated and any that carry a known
   vulnerability, but don't bump versions yourself unless asked; a
   dependency bump is a change that deserves its own reviewed commit.
4. **Stray TODO/FIXME/debug artifacts.** Grep for `TODO`/`FIXME`/leftover
   `console.log`/debug-only code paths that look forgotten rather than
   intentional, and list them with file:line rather than silently deleting
   — the author may have context you don't.
5. **Doc/reality drift.** If the project keeps a "deferred work" or
   architecture-decisions doc, spot-check a few entries against current
   code — a maintenance sweep that only touches code and never notices a
   doc has gone stale reintroduces exactly the kind of drift this skill
   exists to catch.
6. **Summarize as a punch list**, not a wall of raw command output: what's
   safe to auto-fix, what needs a human decision, and what's fine to leave
   as-is with a one-line reason.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.