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)
2. Early Exit on Clean State (95% savings)
Related skills
More from manastalukdar/claude-devstudio
duplication-detect
Find and eliminate code duplication with DRY refactoring strategies
20db-diagram
Generate database ER diagrams from schema for documentation
17lighthouse
Run Lighthouse audits and implement performance, accessibility, and SEO fixes
13session-resume
Resume previous work from archived session with full context restoration
12owasp-check
OWASP Top 10 vulnerability scanning and remediation
12database-connect
Database MCP server integration for PostgreSQL, MySQL, MongoDB
11