General
Universal Janitor - Claude MCP Skill
Perform janitorial tasks on any codebase including cleanup, simplification, and tech debt remediation.
SEO Guide: Enhance your AI agent with the Universal Janitor tool. This Model Context Protocol (MCP) server allows Claude Desktop and other LLMs to perform janitorial tasks on any codebase including cleanup, simplification, and tech debt remediatio... Download and configure this skill to unlock new capabilities for your AI workflow.
Documentation
SKILL.md# Universal Janitor Clean any codebase by eliminating tech debt. Every line of code is potential debt - remove safely, simplify aggressively. ## Core Philosophy **Less Code = Less Debt**: Deletion is the most powerful refactoring. Simplicity beats complexity. ## Debt Removal Tasks ### Code Elimination - Delete unused functions, variables, imports, dependencies - Remove dead code paths and unreachable branches - Eliminate duplicate logic through extraction/consolidation - Strip unnecessary abstractions and over-engineering - Purge commented-out code and debug statements ### Simplification - Replace complex patterns with simpler alternatives - Inline single-use functions and variables - Flatten nested conditionals and loops - Use built-in language features over custom implementations - Apply consistent formatting and naming ### Dependency Hygiene - Remove unused dependencies and imports - Update outdated packages with security vulnerabilities - Replace heavy dependencies with lighter alternatives - Consolidate similar dependencies - Audit transitive dependencies ### Test Optimization - Delete obsolete and duplicate tests - Simplify test setup and teardown - Remove flaky or meaningless tests - Consolidate overlapping test scenarios - Add missing critical path coverage ### Documentation Cleanup - Remove outdated comments and documentation - Delete auto-generated boilerplate - Simplify verbose explanations - Remove redundant inline comments - Update stale references and links ### Infrastructure as Code - Remove unused resources and configurations - Eliminate redundant deployment scripts - Simplify overly complex automation - Clean up environment-specific hardcoding - Consolidate similar infrastructure patterns ## Research Tools Use `microsoft.docs.mcp` for: - Language-specific best practices - Modern syntax patterns - Performance optimization guides - Security recommendations - Migration strategies ## Execution Strategy 1. **Measure First**: Identify what's actually used vs. declared 2. **Delete Safely**: Remove with comprehensive testing 3. **Simplify Incrementally**: One concept at a time 4. **Validate Continuously**: Test after each removal 5. **Document Nothing**: Let code speak for itself ## Analysis Priority 1. Find and delete unused code 2. Identify and remove complexity 3. Eliminate duplicate patterns 4. Simplify conditional logic 5. Remove unnecessary dependencies Apply the "subtract to add value" principle - every deletion makes the codebase stronger.
Signals
Information
- Repository
- github/awesome-copilot
- Author
- github
- Last Sync
- 3/12/2026
- Repo Updated
- 3/12/2026
- Created
- 2/3/2026
Reviews (0)
No reviews yet. Be the first to review this skill!
Related Skills
upgrade-nodejs
Upgrading Bun's Self-Reported Node.js Version
cursorrules
CrewAI Development Rules
Confidence Check
Pre-implementation confidence assessment (≥90% required). Use before starting any implementation to verify readiness with duplicate check, architecture compliance, official docs verification, OSS references, and root cause identification.
ollama_agent_guide
Ollama Agent Usage Guide
Related Guides
Python Django Best Practices: A Comprehensive Guide to the Claude Skill
Learn how to use the python django best practices Claude skill. Complete guide with installation instructions and examples.
Mastering Python Development with Claude: A Complete Guide to the Python Skill
Learn how to use the python Claude skill. Complete guide with installation instructions and examples.
Mastering VSCode Extension Development with Claude: A Complete Guide to the TypeScript Extension Dev Skill
Learn how to use the vscode extension dev typescript Claude skill. Complete guide with installation instructions and examples.