Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
nickcrew avatar

Repo Cleanup

  • 6 installs
  • 28 repo stars
  • Updated June 29, 2026
  • nickcrew/claude-cortex

Helps with ai & agent building tasks.

About

repo-cleanup is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.

  • repo-cleanup
  • AI & Agent Building
  • AI-coding skill

Repo Cleanup by the numbers

  • 6 all-time installs (skills.sh)
  • Ranked #12,739 of 16,556 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/nickcrew/claude-cortex --skill repo-cleanup

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs6
repo stars28
Last updatedJune 29, 2026
Repositorynickcrew/claude-cortex

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

Repo Cleanup

Overview

Establish a safe, repeatable cleanup workflow for code, dependencies, docs, tests, and sprint artifacts. Minimize risk by validating usage, archiving before deletion, and verifying with tests.

When to Use

  • Repository bloat (generated artifacts, caches, unused files)
  • Dead code or unused dependencies suspected
  • Docs drifted from actual behavior
  • Tests are brittle, redundant, or mislocated
  • Sprint closure needs structured archiving

Avoid when:

  • Active incident response is ongoing
  • The target area lacks owners or rollback coverage

Quick Reference

TaskLoad reference
Code cleanupskills/repo-cleanup/references/code-cleanup.md
Dependency cleanupskills/repo-cleanup/references/deps-cleanup.md
Docs cleanupskills/repo-cleanup/references/docs-cleanup.md
Test cleanupskills/repo-cleanup/references/test-cleanup.md
Sprint archiveskills/repo-cleanup/references/archive-sprint.md

Workflow

1. Define scope and safety mode (safe vs aggressive). 2. Capture baseline state (git status, key tests, backups). 3. Load the relevant reference file(s) for the target area. 4. Execute cleanup steps with usage checks before removal. 5. Validate changes (tests, build, lint, or doc checks). 6. Report outcomes (actions taken, risks, follow-ups).

Output

  • Summary of actions and files touched
  • Validation results and remaining risks
  • Follow-up recommendations or backlog items

Common Mistakes

  • Deleting without confirming usage or regenerability
  • Skipping baseline tests and rollback checkpoints
  • Removing dependencies without updating build/test scripts
  • Collapsing docs without preserving entry points

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.