undo
Installation
SKILL.md
Undo Last Operation
I'll help you rollback the last destructive operation performed by Claude DevStudio commands.
Token Optimization Strategy
Target: 80% reduction (2,000-3,000 → 400-600 tokens)
Core Optimization Patterns
1. Pure Git Operations (90% savings)
- All undo operations use git commands (external tools)
- No file reading required - git provides all context
- Git log shows what changed (timestamps, commits, files)
- Git status reveals uncommitted changes
- Git diff for change preview (optional, user confirmation only)
- Example:
git reset --hard HEAD~1(0 tokens, fully external)