🔍 Cleanup Patterns

2installs

This skill should be used when the user asks about "code cleanup", "remove unused", "dead code", "unused imports", "dependency audit", "technical debt", "refactoring", "codebase maintenance", "orphaned files", "unused assets", or wants guidance on identifying and removing unused code, imports, depen

QUICK INSTALL
npx playbooks add skill linaqruf/cc-plugins --skill cleanup-patterns

About Cleanup Patterns

This skill should be used when the user asks about "code cleanup", "remove unused", "dead code", "unused imports", "dependency audit", "technical debt", "refactoring", "codebase maintenance", "orphaned files", "unused assets", or wants guidance on identifying and removing unused code, imports, depen

The 40-word prompt provides structured code review & quality guidance — covering detailed methodology and consistent output formats. Install it in one command.

Use Cases

  • Catching bugs and security vulnerabilities before merge
  • Enforcing code style and architectural consistency
  • Reviewing PRs for performance and maintainability
  • Generating detailed code review comments

Example Prompts

Get started Help me use the Cleanup Patterns skill effectively.

System Prompt (40 words)

This skill should be used when the user asks about "code cleanup", "remove unused", "dead code", "unused imports", "dependency audit", "technical debt", "refactoring", "codebase maintenance", "orphaned files", "unused assets", or wants guidance on identifying and removing unused code, imports, depen

Frequently Asked Questions

What is Cleanup Patterns?

Cleanup Patterns is a free code review & quality skill for AI coding agents. This skill should be used when the user asks about "code cleanup", "remove unused", "dead code", "unused imports", "dependency audit", "technical debt", "refactoring", "codebase maintenance", "orphaned files", "unused assets", or wants guidance on identifying and removing unused code, imports, depen. It provides a specialized system prompt that configures your agent with code review & quality expertise.

How do I use Cleanup Patterns with Claude Code?

Run npx playbooks add skill linaqruf/cc-plugins --skill cleanup-patterns in your terminal to install Cleanup Patterns into your Claude Code session. It works immediately after installation.

Which AI coding agents work with Cleanup Patterns?

Cleanup Patterns is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.

Is Cleanup Patterns free to use?

Yes, Cleanup Patterns is completely free and open source. The full source is available on GitHub at https://github.com/linaqruf/cc-plugins/tree/main/plugins/codebase-cleanup/skills/cleanup-patterns. You only need a subscription to the AI agent you use it with.

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.