Back to directory

Reset Flow

Agent skill
1 skill

git reset(HEAD / ブランチポインタの移動)の安全運用ルール。reset --hard は未コミット変更をどこにも残さず消せる唯一の日常操作であり、git reset を 1 つでも実行する前に必ず本スキルを参照する。「reset して」「巻き戻して」「直前のコミットを取り消して」「コミットをやり直したい」「変更を全部捨てて」「HEAD を◯◯に戻して」と依頼される、rebase-flow の失敗から backup へ復旧する、reflog から復元する、といった場面すべてが対象。決定論スクリプトで失われるもの(外れるコミット・push 済み範囲・消える未コミット変更)を判定 → 計画提示 → ユーザー承認 → safety branch 作成(arm)→ 実行 → 検証、のゲートを固定化する。同梱の git-guard hook により arm なしの git reset は機械的にブロックされる。unstage 目的なら reset ではなく git restore --staged を使う。

Install with
Claude CodeCodexCursorGitHub CopilotGemini CLI

Supported by the Atlas install prompt. Skill-specific requirements vary.

Skill stats

Skills1CategoryGeneralStars0

About this skill

git reset(HEAD / ブランチポインタの移動)の安全運用ルール。reset --hard は未コミット変更をどこにも残さず消せる唯一の日常操作であり、git reset を 1 つでも実行する前に必ず本スキルを参照する。「reset して」「巻き戻して」「直前のコミットを取り消して」「コミットをやり直したい」「変更を全部捨てて」「HEAD を◯◯に戻して」と依頼される、rebase-flow の失敗から backup へ復旧する、reflog から復元する、といった場面すべてが対象。決定論スクリプトで失われるもの(外れるコミット・push 済み範囲・消える未コミット変更)を判定 → 計画提示 → ユーザー承認 → safety branch 作成(arm)→ 実行 → 検証、のゲートを固定化する。同梱の git-guard hook により arm なしの git reset は機械的にブロックされる。unstage 目的なら reset ではなく git restore --staged を使う。

Quick start

  1. Copy the install prompt. Use the green button above this README.
  2. Send it to your agent. Paste it into your coding agent’s chat and send.
  3. Review the setup. Your agent checks the skill’s instructions, requirements, and installation scope.
Review, license & listing details
Review the source before using this skill

This is an imported listing. We haven’t certified its safety, license, or compatibility. Skills may include executable scripts.

Automated security scan: Partial

Only SKILL.md was scanned. Supporting files and scripts were not checked. No safety grade has been assigned.

0 potential findings · Scanned 11/4/2026 · Scanner 0.2.1

Content SHA-256: 60d99775a4246407d97b9db858c9af3525d1bdc8c2e753718eb79a34750d7032

About scan coverage and limitations

About this listing

Category
General
Reported license
Not specified
Listing language (estimated)
Japanese
Review status
Not individually reviewed
Agent compatibility
Atlas installation supports Claude Code, Codex, and Cursor. Skill-specific dependencies and features are checked during setup.
Reset Flow | Agent Skills Atlas