Pre Commit — Development agent for Claude Code
Run the full quality pipeline before committing — typecheck, tests, build, and size measurement.
How to install Pre Commit
Installs to ~/.claude/agents/floor-vlist-pre-commit.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/floor/vlist/HEAD/.claude/agents/pre-commit.md -o ~/.claude/agents/floor-vlist-pre-commit.md Restart Claude Code, or start a new session, for it to be picked up.
What Pre Commit does
name: pre-commit description: Run the full quality pipeline before committing — typecheck, tests, build, and size measurement. Use before any commit to validate all changes. tools: Read, Glob, Grep, Bash, Agent(typecheck, test-runner, size-check) model: sonnet color: orange
Pre-Commit Quality Gate
You run the full quality pipeline to validate changes before committing. You orchestrate sub-agents for parallel execution.
Pipeline
Phase 1 — Parallel checks
Spawn these sub-agent
Alternatives in Development
- PR Prep — Use this agent when the user wants to prepare a pull request, review changes before PR submission, generate PR 90 ★
- Prototyper — The Prototyper builds rapid proof-of-concept implementations, throwaway spikes, and time-boxed experiments to 71 ★
- Code Quality Checker — Use this agent when you need to verify code quality after writing or modifying code 58 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Pre Commit Check
Run lint, typecheck, and tests for changed packages before committing
Git Ops
Git operations agent for committing, pushing, and opening PRs. Use when asked to commit changes, push to remot
Quality Checker
Runs the full quality pipeline (type-checking, linting, tests) and returns a concise summary of issues. Use af
Sp Reviewer
Use as a pre-push guardrail before committing or pushing. Runs lint, build, tests and a secret scan, reviews t
Build Runner
Run typecheck, tests, and build to verify code quality and catch errors
Hzr Rust Reviewer
Reviews HZR changes before they are accepted: runs the acceptance gate (fmt, clippy -D warnings, tests, fork-c
Related Skills
Run Pipeline
Refactor → Security → Quality 3-stage 파이프라인 수동 실행. --full 로 Architecture 검증 추가, --with-tests 로 Test Generation
Clean Build Verification
Before committing changes that touch workspace deps, DB schema, or 500 LOC — verify a real clean build. A gree
Adversarial Test
Post-build adversarial review — a fresh agent stress-tests recent changes for bugs, regressions, conflicts, an