Domains
Forms
Domains
Forms
Mechanism
Breaks down how the skill works and what it produces, so you can quickly judge whether it fits your scenario and value.
When setting up Claude Code (or similar AI agent) projects that need to enforce commit quality gates and prevent skipping of git pre-commit hooks.
PreToolUse hook to .claude/settings.json targeting Bash tool calls only.$TOOL_INPUT, uses printf + grep to detect git commands with --no-verify or --no-gpg-sign.A configured guard that rejects any Bash tool call trying to bypass git safety mechanisms, ensuring pre-commit hooks, linting, tests, and signing always execute.
Use Cases
A team lead initializes a new Claude Code project and wants to guarantee that all agent-generated commits pass linting and security checks. They use this skill to add the PreToolUse hook to .claude/settings.json and commit it to the repo. Now any agent attempt to run `git commit --no-verify` is blocked with exit code 2, keeping the main branch clean and compliant without manual oversight.
An engineering org mandates GPG-signed commits across all repositories. The platform team applies this skill globally via ~/.claude/settings.json to block `--no-gpg-sign` on every developer and agent machine. This centrally prevents unsigned commits, satisfies audit requirements, and pairs with existing pre-commit hooks to maintain a consistent signing policy enterprise-wide.
Skill Relationships
Dependency relationships read as "the upper tier points to the lower tier." The current Skill sits in the middle tier — above are Skills that depend on it, below are Skills it depends on.
Tier 1 · These Skills Use Me
Tier 2 · Current Skill
Tier 3 · I Use These Skills
Browse this skill's relationships within its skillset. Click a node to switch the side panel; use the search box to jump to any skill.
Skill File