floor

Pre Commit — Development agent for Claude Code

Development community

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

Terminal
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 Repository