cleanup-all

Execute sequential code cleanup tasks including dead code removal and deduplication.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/raintree-technology/agent-starter --skill cleanup-all-raintree-technology
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cleanup-all
Source: https://github.com/raintree-technology/agent-starter/tree/main/templates/.claude/skills/cleanup-all
Command: npx skills add https://github.com/raintree-technology/agent-starter --skill cleanup-all-raintree-technology

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the cleaning up of codebases by executing a series of cleanup tasks in sequence, ensuring the code quality is enhanced and redundant or inefficient code is removed.

Core Features & Use Cases

  • Sequential Cleanup: Runs multiple cleanup tasks in an optimized sequence to prevent the generation of additional issues.
  • Code Quality Check: Verifies code changes at each step to maintain codebase integrity.
  • Use Case: For a software project manager or engineer, run 'cleanup-all' when performing a full code quality review or cleaning up an entire repository.

Quick Start

Activate the cleanup-all skill and provide the scope of the operation, if necessary.

Frequently Asked Questions about cleanup-all

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

FAQPage Schema
How do I automate code cleanup across an entire repository?

Automate code cleanup across an entire repository by running a sequential process that executes dead code removal, cycle fixing, deduplication, type strengthening, and slop cleanup to comprehensively enhance code quality and remove redundant code.

What is the best way to remove redundant code and fix cycles in a software project?

The best way to remove redundant code and fix cycles is to run an automated sequential cleanup process that handles deduplication and cycle fixing step-by-step, verifying code changes at each stage to maintain codebase integrity.

Do I need a clean working tree before running automated code optimization?

Yes, you need a clean working tree before running automated code optimization. The sequential cleanup process executes multiple tasks and verifies code changes at each step, requiring a clean state to maintain codebase integrity.

How does sequential code cleanup prevent generating additional issues?

Sequential code cleanup prevents additional issues by running multiple cleanup tasks in an optimized sequence and verifying code changes at each step, ensuring that dead code removal and type strengthening do not introduce new errors before proceeding.

Can I run a full code quality review that includes type strengthening and deduplication?

Yes, you can run a full code quality review that includes type strengthening and deduplication. The automated cleanup executes these tasks sequentially alongside dead code removal and slop cleanup to comprehensively optimize the entire codebase.