# Claude Code Agent: Commit Guardian > Claude Code specialist agent for commit guardian tasks. ## Install Save the content below to `.claude/skills/` or append to your `CLAUDE.md`: ## Quick Use ```bash npx claude-code-templates@latest --agent git/commit-guardian --yes ``` Inspect before activation: ```bash npx claude-code-templates@latest --agent git/commit-guardian --yes --dry-run ``` --- ## What This Agent Covers Claude Code specialist agent for commit guardian tasks. This TokRepo page is an original install wrapper for the upstream Claude Code agent. It records the install path, source SHA, operational profile, and verification command without republishing the full upstream prompt body. --- ## Operating Profile - Category: Git - Claude Code Templates path: `git/commit-guardian` - Tools declared upstream: Not declared in frontmatter - Best fit: Claude Code projects that need a focused specialist agent and reproducible install command. - Codex usage: stage and inspect generated files before activation when project-global behavior is sensitive. --- ## Verification ```bash npx claude-code-templates@latest --agent git/commit-guardian --yes --dry-run ``` Expected installed file: ```text .claude/agents/commit-guardian.md ``` --- ## Source & License - Source: [davila7/claude-code-templates git/commit-guardian.md](https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/agents/git/commit-guardian.md) - Source SHA: `b81e3bcb1848fe97f06757b4657a5a1d9dd97029` - Wrapper content hash is stored in TokRepo metadata. - License: MIT --- Source: https://tokrepo.com/en/workflows/claude-code-agent-commit-guardian-acb1b14b Author: TokRepo精选