Pre Commit Check banner
Precisa-Saude Precisa-Saude

Pre Commit Check

Development community

Description

--- 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 ```bash git diff --name-only HEAD | head -100 ``` Map c

Installation

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.

Full documentation available on GitHub

View Source Repository