·clean-codebase
{}

clean-codebase

Remove dead code, unused imports, fix lint warnings, and normalize formatting across a codebase without changing business logic or architecture. Use when lint warnings have piled up during rapid development, unused imports and variables clutter files, dead code paths were never removed, formatting is inconsistent, or static analysis tools report fixable hygiene issues.

10Installs·1Trend·@pjt222

Installation

$npx skills add https://github.com/pjt222/development-guides --skill clean-codebase

How to Install clean-codebase

Quickly install clean-codebase AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/pjt222/development-guides --skill clean-codebase
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: pjt222/development-guides.

SKILL.md

View raw

Use this skill when a codebase has accumulated hygiene debt:

Do NOT use for architectural refactoring, bug fixes, or business logic changes. This skill focuses purely on hygiene and automated cleanup.

| codebasepath | string | Yes | Absolute path to codebase root | | language | string | Yes | Primary language (js, python, r, rust, etc.) | | cleanupmode | enum | No | safe (default) or aggressive | | runtests | boolean | No | Run test suite after cleanup (default: true) | | backup | boolean | No | Create backup before deletion (default: true) |

Remove dead code, unused imports, fix lint warnings, and normalize formatting across a codebase without changing business logic or architecture. Use when lint warnings have piled up during rapid development, unused imports and variables clutter files, dead code paths were never removed, formatting is inconsistent, or static analysis tools report fixable hygiene issues. Source: pjt222/development-guides.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/pjt222/development-guides --skill clean-codebase
Category
{}Data Analysis
Verified
First Seen
2026-03-10
Updated
2026-03-10

Browse more skills from pjt222/development-guides

Quick answers

What is clean-codebase?

Remove dead code, unused imports, fix lint warnings, and normalize formatting across a codebase without changing business logic or architecture. Use when lint warnings have piled up during rapid development, unused imports and variables clutter files, dead code paths were never removed, formatting is inconsistent, or static analysis tools report fixable hygiene issues. Source: pjt222/development-guides.

How do I install clean-codebase?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/pjt222/development-guides --skill clean-codebase Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/pjt222/development-guides