Individual skill
cs-checkpoint-version
Use when the user asks to save the current repository version, create a rollback point, checkpoint dirty worktree changes, preserve staged/unstaged/untracked files before risky edits, or restore a prior checkpoint. Trigger for "$cs-checkpoint-version", "保存当前版本", "方便回退", "回退点", "checkpoint", "rollback", "restore checkpoint", or similar wording.
cs-checkpoint-version/SKILL.md
Source commit e63cb26e58e2b307e3ff9a0ad834d3c1b1b65a90
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 8, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 208
- Repository last updated
- Nov 7, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 4,546 bytesSKILL.mdcore · 4,546 bytesSKILL.mdcore · 4,546 bytesSKILL.mdcore · 4,546 bytesSKILL.mdcore · 4,546 bytesSKILL.mdcore · 4,546 bytesSKILL.mdcore · 4,546 bytesSKILL.mdcore · 4,546 bytesagents/openai.yamlasset · 309 bytesscripts/create-checkpoint.ps1runs · 5,000 bytesscripts/restore-checkpoint.ps1runs · 3,075 bytestests/cs-checkpoint-version.tests.ps1runs · 5,481 bytes
Read excerpt
<!-- CS Skills · 陈硕 | portable skill entry | https://github.com/ChenShuo2004/cs-skills -->
# Checkpoint Version
## Purpose
Use this skill to create a local, file-based rollback point for one Git repository.
The default goal is safety: preserve the current branch, HEAD, staged diff, unstaged diff, and untracked files without creating a commit or changing the branch.
## Rules
- Work in one Git repository root. Confirm with `git rev-parse --show-toplevel`.
- Create a checkpoint when requested or when this change needs a rollback artifact; do not snapshot every routine edit. Reuse a verified checkpoint only if HEAD, staged/unstaged diffs and untracked inputs have not changed.