OpenParable
Skip to content
← Back to skills

Precommit

Testing & Quality
precommit

Precommit is an Agent Skill for testing & quality published in the apache/pinot repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Run Pinot's mandatory pre-commit checks (spotless, license, checkstyle) and compiler warning checks on only the modules affected by the current diff. Auto-fixes what it can, reports what it can't.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/apache/pinot/blob/HEAD/.claude/skills/precommit/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/precommit, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

/precommit

Procedure: see kb/skills/precommit.md. Read it first, then follow it.