skill · Git & Code Review
Safety Guard
by affaan-m
Guard against destructive operations with three modes: Careful intercepts dangerous commands (rm -rf, git push --force, DROP TABLE) for confirmation, Freeze locks writes to one directory, and Guard combines both.…
- Claude Code
- Codex
- Cursor
- GitHub Copilot
- Gemini CLI
- ★ 306k on GitHub
- Updated 2026-11-17
- MIT
Calyban is a free desktop app. It checks Safety Guard for red flags before installing, lets you choose the agent and folder, and undoes it in one click.
Install Safety Guard manually
Prefer the terminal? This does the same thing as Calyban's install.
Claude Code
git clone --depth 1 https://github.com/affaan-m/ECC.git calyban-tmp-safety-guard
mkdir -p ~/.claude/skills
cp -r calyban-tmp-safety-guard/skills/safety-guard ~/.claude/skills/safety-guard
rm -rf calyban-tmp-safety-guardCodex
git clone --depth 1 https://github.com/affaan-m/ECC.git calyban-tmp-safety-guard
mkdir -p ~/.codex/skills
cp -r calyban-tmp-safety-guard/skills/safety-guard ~/.codex/skills/safety-guard
rm -rf calyban-tmp-safety-guardStart a new Claude Code, Codex & more session afterwards so it picks up the change.
Similar skills
Code ReviewmattpocockReview the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating…Receiving Code ReviewobraUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or…Using Git WorktreesobraUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackConventional Commit Reviewaffaan-mReviews staged changes and drafts a Conventional Commits-compliant commit message with the right type, scope, and length. Use before committing, or when the user asks to write, fix, or review a commit message.Cpp Coding Standardsaffaan-mC++ coding standards based on the C++ Core Guidelines (isocpp.github.io). Use when writing, reviewing, or refactoring C++ code to enforce modern, safe, and idiomatic practices.Git Workflowaffaan-mGit workflow patterns including branching strategies, commit conventions, keeping history clean and readable, tidying local commits before merging, merge vs rebase, conflict resolution, and collaborative development…
Guides
Listed in the public Calyban catalog. Safety Guard is made by affaan-m, not Calyban. Inclusion isn't an endorsement and safety checks aren't a guarantee.