wasintoh/toh-framework/version-control
Claude Code and agent skill by wasintoh/toh-framework
- community
Checking that the SKILL.md file is still in the repository.
Natural-language undo, rollback, and checkpoints that hide git entirely — "ย้อนกลับ", "undo", "ไม่เอาแล้ว", "เอาอันเดิมคืน" map to safe git stash/revert/checkpoint operations with cleanup and dev-server restart, reported in plain language. Use when the user wants to undo changes, restore a previous state, or save a safe checkpoint.
Install
npx vskill@latest install wasintoh/toh-framework/version-controlSKILL.md
⏪ Version Control Skill
Purpose: Easy undo/rollback without knowing gitVersion: 1.0.0Author: Toh Framework Team
Overview
This skill enables users to undo changes easily using natural language, without needing to understand git commands or version control concepts.
Core Principle
HIDE GIT COMPLEXITY - User just says what they want.
Trigger Words
Undo/Rollback
| User Says | AI Understands | |
|---|---|---|
| ย้อนกลับ | Undo last change | |
| undo | Undo last change | |
| เอาอันเดิมคืน | Revert to previous | |
| ไม่เอาแล้ว | Discard current changes | |
| กลับไปก่อนหน้า | Go back to previous state | |
| ยกเลิกที่ทำไป | Cancel what was done | |
| rollback | Revert changes |
Checkpoint/Save
| User Says | AI Understands | |
|---|---|---|
| save ไว้ก่อน | Create checkpoint | |
| checkpoint | Create savepoint | |
| เซฟไว้ | Save current state | |
| บันทึกจุดนี้ | Mark this point |
Auto-Checkpoint System
AI automatically creates checkpoints at key moments:
Auto-Checkpoint Triggers
| Event | Checkpoint Name | |
|---|---|---|
After /toh-vibe | vibe-[project-name]-initial | |
After /toh-ui completion | ui-[component-name]-done | |
After /toh-dev completion | dev-[feature-name]-done | |
After /toh-connect | connect-supabase-done | |
| Before major changes | pre-[action]-backup |
Checkpoint Storage
checkpoint-log.json:
Undo Operations
Quick Undo (Last Change)
Rollback to Checkpoint
View History
Safety Features
Before Destructive Operations
Auto-Backup Before Risky Changes
AI automatically creates backup before:
- Deleting files
- Major refactoring
- Changing database schema
/toh-connect(in case of data loss)
Git Operations Mapping
User Language → Git Commands
| User Says | Git Operation | |
|---|---|---|
| ย้อนกลับ | git checkout -- . or git stash | |
| กลับไป checkpoint | git checkout [ref] | |
| save ไว้ | git add . && git commit -m "[auto]" | |
| ดูประวัติ | git log --oneline | |
| ดู diff | git diff | |
| ลบทิ้งหมด | git reset --hard HEAD |
AI Never Shows
- Raw git commands
- Commit hashes (use checkpoint names instead)
- Merge conflicts (resolve automatically)
- Git error messages (translate or fix)
Response Templates
Successful Undo
Checkpoint Created
Cannot Undo
Integration with Memory
Update .toh/memory/active.md after undo:
Best Practices
DO:
- ✅ Auto-checkpoint at key moments
- ✅ Use friendly checkpoint names
- ✅ Confirm before destructive operations
- ✅ Show what will be undone
DON'T:
- ❌ Show raw git commands
- ❌ Show commit hashes to user
- ❌ Allow undo without confirmation for major changes
- ❌ Lose user's work without backup
Last Updated: 2024-12-03
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/skills/version-control/SKILL.md
Popularity
- Repository stars
- 75
- Repository forks
- 17
- Repository npm downloads, 7 days
- 5
- 7-day trend score
- 29
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 16 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/wasintoh/toh-framework/version-control)