/undo
I'll help you rollback the last destructive operation performed by CCPlugins commands.
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
/undo
Context preview
What this command does when you run it.
I'll help you rollback the last destructive operation performed by CCPlugins commands.
Command definition
undo.mdUndo Last Operation
I'll help you rollback the last destructive operation performed by CCPlugins commands.
Recovery Options
I'll check for available recovery methods:
**1. Git-based Recovery**
- Check uncommitted changes
- Review recent commits
- Identify safe restore points
**2. Project Backups**
- Look for `undo/backups/` in your project
- Check for operation-specific backups
- Verify backup integrity
**3. Change Analysis**
- Show what was modified
- Identify scope of changes
- Suggest targeted recovery
Recovery Process
Based on what I find, I can:
1. **Restore from Git** - If changes haven't been committed yet 2. **Use project backups** - If backups exist from previous operations 3. **Selective restoration** - Choose specific files to restore
I'll analyze the situation and suggest the safest recovery method.
If multiple restore options exist, I'll:
- Show you what each option would restore
- Explain the implications
- Let you choose the best approach
**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 ensures you can confidently undo operations without losing important work.
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

