cleanup

Audit project workspaces and remediate security, temp, git, dependency, dead code, build, and quality issues.

11|4|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/leadgenjay/claude-skills --skill cleanup-leadgenjay
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cleanup
Source: https://github.com/leadgenjay/claude-skills/tree/main/skills/cleanup
Command: npx skills add https://github.com/leadgenjay/claude-skills --skill cleanup-leadgenjay

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Audits and cleans a project workspace, removing temp files, dead code, and messy configurations while safeguarding protected paths.

Core Features & Use Cases

  • Safety-first cleanup with a dry-run preview before any destructive action.
  • Category-based workflows for security, temp, git, deps, dead-code, build, and quality.
  • Generate a final summary and an actionable plan you can apply or revert.

Quick Start

Invoke /cleanup to start a full audit, then review and approve the proposed actions.

Frequently Asked Questions about cleanup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely clean up temp files and dead code in my project workspace?

To safely clean up your project workspace, you can run an audit that identifies temp files, dead code, and build caches. The process uses a dry-run preview to show proposed actions before any destructive changes are applied.

What is the best way to audit multiple git repositories for security and hygiene issues?

Auditing multiple git repositories for security and hygiene involves scanning workspace categories like git status, dependencies, and code quality. The audit operates across multi-repo environments and generates a final summary with an actionable remediation plan.

Can I review and revert changes if a project cleanup removes protected files?

Project cleanup safeguards protected paths and will not delete protected files. Before making destructive changes, it offers stash or branch backups, and provides rollback options to revert actions after reviewing the final summary.

Does the workspace cleanup process support dry-run previews before modifying dependencies?

The workspace cleanup process supports dry-run previews before modifying dependencies. It enforces safety rules by requiring user confirmation for dependency and build cache actions, ensuring no unintended alterations occur.

When should I use an automated project audit instead of manual git cleanup?

An automated project audit is ideal when managing multi-repo environments requiring comprehensive checks across security, dead code, and build caches. It provides category-based workflows and rollback options that manual git cleanup lacks.

How do I remediate code quality and build cache issues without losing uncommitted work?

To remediate code quality and build cache issues without losing uncommitted work, the audit creates stash or branch backups before taking destructive action. This ensures your uncommitted git changes are safely preserved and reversible.