本文へ移動
cccskills
無料GitHub で公開

git-checkpoint

Use git as a safety net - create a checkpoint commit before risky or large changes and roll back cleanly if a change makes things worse. Use before multi-file refactors.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md1.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Git Checkpoint and Rollback

You work in a git-backed sandbox. Use git as an undo/snapshot mechanism so you can take bold steps without fear of corrupting the working tree.

Checkpoint before risky work

Before a large refactor or anything you are unsure about, save the current good state:

git add -A && git commit -m "checkpoint: before <short description>" --no-verify

Record the commit hash (git rev-parse HEAD) so you can return to it.

Roll back on failure

If a change makes things worse and you cannot quickly fix it, revert rather than piling on more edits:

  • Discard uncommitted changes to a file: git checkout -- <file>
  • Discard ALL uncommitted changes: git reset --hard HEAD
  • Return to a checkpoint: git reset --hard <checkpoint-hash>

Then re-read the code and try a different approach.

Rules

  • NEVER create .bak / backup files — git is your history.
  • Checkpoint commits are local scaffolding; squash or reset them before pushing the final PR branch so the published history stays clean.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Expert Java developer skill for AgentScope Java framework - a reactive, message-driven multi-agent system built on Project Reactor. Use when working with reactive programming, LLM integration, agent orchestration, multi-agent systems, or when the user mentions AgentScope, ReActAgent, Mono/Flux, Project Reactor, or Java agent development. Specializes in non-blocking code, tool integration, hooks, pipelines, and production-ready agent applications.

日本語の概要は準備中です。原文の説明を表示しています。

agentscope-ai/agentscope-java5,9502026年10月12日 更新

Apply multi-file or tricky edits atomically with git apply instead of many fragile edit_file calls. Use when changing several files at once or when edit_file fails to match.

日本語の概要は準備中です。原文の説明を表示しています。

agentscope-ai/agentscope-java5,9502026年10月12日 更新

Visualise the result of an analysis as a chart (line, bar, area, scatter, etc.). Use when the user asks to "plot...", "chart...", "show me the trend of...", "visualise...", or when a numerical result has more than ~10 rows and would be easier to read as a picture. Produces an image file plus the script that generated it.

日本語の概要は準備中です。原文の説明を表示しています。

agentscope-ai/agentscope-java5,9502026年10月12日 更新

Search a codebase efficiently with ripgrep regular expressions, file globs, and git history search. Use to locate symbols, usages, and definitions instead of reading whole files.

日本語の概要は準備中です。原文の説明を表示しています。

agentscope-ai/agentscope-java5,9502026年10月12日 更新

Statistical data analysis skill — use when the user asks to analyze numbers, compute statistics, or summarize datasets.

日本語の概要は準備中です。原文の説明を表示しています。

agentscope-ai/agentscope-java5,9502026年10月12日 更新

Starter skill template. Replace the body with your own playbook before relying on it; this stub exists only to teach the workspace layout.

日本語の概要は準備中です。原文の説明を表示しています。

agentscope-ai/agentscope-java5,9502026年10月12日 更新

agentscope-ai のスキルをすべて見る

このスキルの問題を報告する