checkpoint

Creates a git safety commit before Claude implements or refactors code.

1|Updated Jun 29, 2026
One-click install
npx skills add https://github.com/natthasath/natthasath-marketplace --skill checkpoint-natthasath
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: checkpoint
Source: https://github.com/natthasath/natthasath-marketplace/tree/main/plugins/projects/skills/checkpoint
Command: npx skills add https://github.com/natthasath/natthasath-marketplace --skill checkpoint-natthasath

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It prevents code loss by creating a git safety commit before Claude starts implementing or refactoring, so you can always roll back if something breaks. ## Core Features & Use Cases - Automatic Safety Commit: Stages all changes with git add . and commits them with a conventional emoji-prefixed message before any work begins. - Rollback Guidance: Reports the commit hash and reminds you that git reset --hard HEAD restores the previous state if everything breaks. - Clean-State Detection: Tells you when there is nothing to commit, confirming it is safe to start work. - Use Case: Before asking Claude to refactor a module, run the checkpoint skill so your current working state is preserved and recoverable. ## Quick Start Ask Claude to create a checkpoint before implementing the task, for example by saying "checkpoint ก่อน" or "เซฟ code ก่อน".

Frequently Asked Questions about checkpoint

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a git safety commit before AI code changes?▼

Run the checkpoint skill before asking Claude to implement or refactor. It stages all changes with git add, commits them with an emoji-prefixed message, and reports the commit hash so you can roll back if needed.

How to undo changes after a git checkpoint commit?▼

Use git reset --hard HEAD to discard all changes made after the checkpoint commit. The skill prints this rollback command along with the commit hash after every checkpoint.

What happens if there are no changes to commit?▼

The skill checks git status first and reports that there is nothing to commit, confirming it is safe to start work. No empty commit is created in that case.

Does the checkpoint skill work with any git repository?▼

Yes, it uses standard git commands (status, add, commit) that work in any initialized git repository. It also reads a commit-emoji convention reference file from the plugin to format commit messages.

When should I use a checkpoint commit in my workflow?▼

Use it before every AI-driven implementation or refactoring task. It acts as a snapshot of your working tree so experimental changes can be discarded without losing prior work.