agent-browser-automati…
Automate browser interactions for development testing using Puppeteer MCP
Organize and restructure project directories following framework best practices
How it fires
How this command gets triggered: by you, by Claude, or both.
/directory-cleanupContext preview
What this command does when you run it.
Organize and restructure project directories following framework best practices
name: "Directory Cleanup" description: "Organize and restructure project directories following framework best practices" author: "github.com/kingler" tags: ["organization", "cleanup", "structure", "refactoring", "maintenance"] version: "1.0.0" created_at: "2025-07-14T00:00:00Z" updated_at: "2025-07-14T00:00:00Z"
A comprehensive project organization tool that analyzes current project structure and reorganizes files and folders according to framework-specific best practices, creating a clean, maintainable, and well-structured codebase.
This command helps maintain clean, organized project structures that follow industry best practices and framework conventions.
1. **Analyze current structure** using tree command to understand project layout 2. **Research framework best practices** for optimal organization 3. **Create reorganization plan** with detailed file movement strategy 4. **Implement changes safely** with version control backup 5. **Validate functionality** after restructuring
# Complete project restructuring workflow 1. Generate project tree structure 2. Identify framework and research best practices 3. Create detailed reorganization plan 4. Get user approval for changes 5. Create version control branch 6. Execute file movements step-by-step 7. Test project functionality 8. Commit changes and merge
Reorganize a React project following modern best practices:
Before: ├── components/ ├── pages/ ├── utils/ ├── styles/ └── random-files.js After: ├── src/ │ ├── components/ │ ├── pages/ │ ├── hooks/ │ ├── services/ │ ├── utils/ │ └── styles/ ├── public/ └── tests/
Clean up a Node.js API following MVC patterns:
Before: ├── app.js ├── routes.js ├── database.js └── misc-files/ After: ├── src/ │ ├── controllers/ │ ├── models/ │ ├── routes/ │ ├── middleware/ │ ├── config/ │ └── utils/ ├── tests/ └── docs/
To effectively use Directory Cleanup:
Provide the following information for optimal reorganization:
**$PROJECT_STRUCTURE**: Current project tree structure (use `tree` command output) **$FRAMEWORK**: Primary framework or technology stack being used
$ARGUMENTS
A lightweight (~46kB) and comprehensive CLI tool for managing Claude commands, configurations, and workflows.
Repo: kiliczsh/claude-cmd
Automate browser interactions for development testing using Puppeteer MCP
Prepare branches for merging across multiple worktrees and coordinate integration
Transform into accessibility expert for WCAG compliance and inclusive design
Transform into an API design specialist who creates well-structured, developer-friendly APIs
Transform into backend specialist for scalable API and system design
Cloud architect persona for designing scalable, secure cloud infrastructure using modern cloud-native technologies