/make-it-pretty
I'll improve code readability while preserving exact functionality.
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/make-it-pretty
Context preview
What this command does when you run it.
I'll improve code readability while preserving exact functionality.
Command definition
make-it-pretty.mdMake It Pretty
I'll improve code readability while preserving exact functionality.
Strategic Thinking Process
<think> Before making any changes, I need to consider:
1. **Code Analysis**
- What makes this code "ugly" or hard to read?
- Are there complex nested structures that need simplification?
- Is the naming unclear or inconsistent?
- Are there repeated patterns that could be abstracted?
2. **Safety Considerations**
- Which changes are purely cosmetic (safe)?
- Which might affect behavior (risky)?
- Are there implicit dependencies on current structure?
- Could renaming break external references?
3. **Improvement Strategy**
- Priority 1: Clear naming (variables, functions, files)
- Priority 2: Reduce complexity (extract functions, simplify logic)
- Priority 3: Remove redundancy (DRY principle)
- Priority 4: Improve type safety (if applicable)
4. **Validation Approach**
- How can I ensure functionality remains identical?
- What tests exist to verify behavior?
- Should I add temporary logging to verify flow?
</think>
Based on this analysis, I'll proceed safely:
**Safety First:**
- Create git checkpoint before changes
- Use **Write** tool to create backups
- Track all modifications systematically
I'll identify files to beautify based on:
- Files you specify, or if none specified, analyze the entire application
- Recently modified code
- Our conversation context
**Improvements I'll Make:**
- Variable and function names for clarity
- Code organization and structure
- Remove unused code and clutter
- Simplify complex expressions
- Group related functionality
- Fix loose or generic type declarations
- Add missing type annotations where supported
- Make types more specific based on usage
**My Approach:** 1. Analyze current code patterns and type usage 2. Apply consistent naming conventions 3. Improve type safety where applicable 4. Reorganize for better readability 5. Remove redundancy without changing logic
**Quality Assurance:**
- All functionality remains identical
- Tests continue to pass (if available)
- No behavior changes occur
- Clear commit messages for changes
**Important**: I will NEVER:
- Add "Co-authored-by" or any Claude signatures
- Include "Generated with Claude Code" or similar messages
- Modify git config or user credentials
- Add any AI/assistant attribution to the commit
This helps transform working code into maintainable code without risk.
Read more
Make It Pretty
I'll improve code readability while preserving exact functionality.
Strategic Thinking Process
<think> Before making any changes, I need to consider:
1. **Code Analysis**
- What makes this code "ugly" or hard to read?
- Are there complex nested structures that need simplification?
- Is the naming unclear or inconsistent?
- Are there repeated patterns that could be abstracted?
2. **Safety Considerations**
- Which changes are purely cosmetic (safe)?
- Which might affect behavior (risky)?
- Are there implicit dependencies on current structure?
- Could renaming break external references?
3. **Improvement Strategy**
- Priority 1: Clear naming (variables, functions, files)
- Priority 2: Reduce complexity (extract functions, simplify logic)
- Priority 3: Remove redundancy (DRY principle)
- Priority 4: Improve type safety (if applicable)
4. **Validation Approach**
- How can I ensure functionality remains identical?
- What tests exist to verify behavior?
- Should I add temporary logging to verify flow?
</think>
Based on this analysis, I'll proceed safely:
**Safety First:**
- Create git checkpoint before changes
- Use **Write** tool to create backups
- Track all modifications systematically
I'll identify files to beautify based on:
- Files you specify, or if none specified, analyze the entire application
- Recently modified code
- Our conversation context
**Improvements I'll Make:**
- Variable and function names for clarity
- Code organization and structure
- Remove unused code and clutter
- Simplify complex expressions
- Group related functionality
- Fix loose or generic type declarations
- Add missing type annotations where supported
- Make types more specific based on usage
**My Approach:** 1. Analyze current code patterns and type usage 2. Apply consistent naming conventions 3. Improve type safety where applicable 4. Reorganize for better readability 5. Remove redundancy without changing logic
**Quality Assurance:**
- All functionality remains identical
- Tests continue to pass (if available)
- No behavior changes occur
- Clear commit messages for changes
**Important**: I will NEVER:
- Add "Co-authored-by" or any Claude signatures
- Include "Generated with Claude Code" or similar messages
- Modify git config or user credentials
- Add any AI/assistant attribution to the commit
This helps transform working code into maintainable code without risk.
Best Claude Code framework that actually save time. Built by a dev tired of typing "please act like a senior engineer" in every conversation.
Repo: notlikeDev/CCPlugins
Other commands on ccplugins.
- /cleanproject
I'll help clean up development artifacts while preserving your working code.
Open command - /commit
I'll analyze your changes and create a meaningful commit message.
Open command - /create-todos
I'll analyze recent operations and create contextual TODO comments in your code.
Open command - /docs
I'll intelligently manage your project documentation by analyzing what actually happened and updating ALL relevant docs accordingly.
Open command - /explain-like-senior
I'll explain this code as a senior developer would, focusing on the why behind decisions.
Open command - /find-todos
I'll locate all TODO comments and unfinished work markers in your codebase.
Open command

