Precommit
Testing & QualityprecommitPrecommit 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.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- 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.