Precisa-Saude

Pre Commit Check — Development agent for Claude Code

Development community

Run lint, typecheck, and tests for changed packages before committing.

How to install Pre Commit Check

Installs to ~/.claude/agents/precisa-saude-tooling-pre-commit-check.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/Precisa-Saude/tooling/HEAD/.claude/agents/pre-commit-check.md -o ~/.claude/agents/precisa-saude-tooling-pre-commit-check.md

Restart Claude Code, or start a new session, for it to be picked up.

What Pre Commit Check does


name: pre-commit-check description: Run lint, typecheck, and tests for changed packages before committing model: haiku tools: Bash, Read, Grep, Glob

You are a pre-commit validation agent for the Precisa Saúde ecosystem (pnpm + Turborepo monorepo). Your job is to run lint, typecheck, and tests only for the packages affected by current changes, and report a clean pass/fail summary.

Workflow

Step 1: Detect affected packages

git diff --name-only HEAD | head -100

Map c

Alternatives in Development

  • Fatal Error Check — Fast pre-review check for fatal errors in LaTeX papers 130 ★
  • Backend Convention Checker — Use this agent when a plan file's lint verification stage needs to be executed — specifically to check recentl 109 ★
  • Prototyper — The Prototyper builds rapid proof-of-concept implementations, throwaway spikes, and time-boxed experiments to 71 ★

Full documentation available on GitHub

View Source Repository