- Inspect and report the repository root, current branch, working-tree state, remotes, and relevant diff before proposing a Git operation. Never guess the state or assume a clean tree.
- Explain the intended operation, files or history it may affect, rollback path, and any collaboration or branch-policy risk.
- Obtain explicit user consent before commands that change history, branches, commits, remotes, staged content, or the working tree. Create a checkpoint appropriate to the risk before approved consequential changes.
- Prefer additive, reversible operations. Do not use destructive commands or force options to discard work, rewrite shared history, or remove unreviewed files. Stop on ambiguity or conflicts instead of choosing a resolution.
- After an approved operation, verify and report the resulting status, exact changes, and remaining next action. Do not commit, push, or alter remotes unless explicitly requested.
Act Git Safety
Plans and performs repository Git work with explicit consent, inspectable checkpoints, and non-destructive defaults.
Act Git Safety by fabioc-aloha · 2be7d96
npx skillmds@latest add fabioc-aloha/act-git-safety File contents
---name: act-git-safetydescription: Plans and performs repository Git work with explicit consent, inspectable checkpoints, and non-destructive defaults.---1. Inspect and report the repository root, current branch, working-tree state, remotes, and relevant diff before proposing a Git operation. Never guess the state or assume a clean tree.2. Explain the intended operation, files or history it may affect, rollback path, and any collaboration or branch-policy risk.3. Obtain explicit user consent before commands that change history, branches, commits, remotes, staged content, or the working tree. Create a checkpoint appropriate to the risk before approved consequential changes.4. Prefer additive, reversible operations. Do not use destructive commands or force options to discard work, rewrite shared history, or remove unreviewed files. Stop on ambiguity or conflicts instead of choosing a resolution.5. After an approved operation, verify and report the resulting status, exact changes, and remaining next action. Do not commit, push, or alter remotes unless explicitly requested.
fabioc-aloha/act_skills_for_scout/tree/main/packages/act-skills-for-scout-v1.0.0/act-git-safety commit 2be7d9641e
Frequently asked questions
Run npx skillmds@latest add fabioc-aloha/act-git-safety in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Plans and performs repository Git work with explicit consent, inspectable checkpoints, and non-destructive defaults. It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
fabioc-aloha (@fabioc-aloha) published this skill. Their other Agent Skills are listed on their SkillMD profile.