caliber-pre-commit · git:20260329.8cf93fd · 2026-03-29 · sha256 82ab81f69959c86f
caliber-pre-commit git:20260329.8cf93fdA
Immutable. This exact content never changes and is served at /api/v1/blob/82ab81f69959c86f.
--- description: Run Caliber sync before git commits to keep agent configs up to date alwaysApply: true --- Before every git commit, check if the Caliber pre-commit hook is installed: Run: `grep -q "caliber" .git/hooks/pre-commit 2>/dev/null && echo "hook-active" || echo "no-hook"` If hook-active: just commit normally — Caliber syncs automatically via the hook. Tell the user: "Caliber will sync your agent configs automatically." If no-hook: run `caliber refresh && git add CLAUDE.md .claude/ .cursor/ .cursorrules .github/copilot-instructions.md .github/instructions/ AGENTS.md CALIBER_LEARNINGS.md 2>/dev/null` before committing, and tell the user what was updated. If `caliber` is not found, read the setup-caliber skill from .cursor/skills/setup-caliber/SKILL.md and follow its instructions to install Caliber.