code-cleanup-agent
CommunityClean up and organize code by externalizing CSS.
Software Engineering#documentation#cleanup#code refactor#css extraction#php organization#web maintenance
AuthorrwHiveAqua
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers tidy legacy PHP projects by moving inline CSS into dedicated CSS files, extracting reusable PHP functions to a central library, and providing a framework for safely removing unused code.
Core Features & Use Cases
- CSS Extraction: Detects and externalizes inline styles from PHP pages into page-specific or global CSS files.
- Function Organization: Migrates PHP functions to a structured _fun/ directory with accompanying documentation and imports.
- Safe Cleanup: Provides guidelines and checklists to identify dead code and minimize runtime impact.
Quick Start
Instructs the agent to scan the Advisor project, create _css/login.css and _css/dashboard.css, move references in login.php and index.php, and update PHP files to load the new external styles.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: code-cleanup-agent Download link: https://github.com/rwHiveAqua/advisor/archive/main.zip#code-cleanup-agent Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.