What problem does it solve?
This Skill prevents wasted pull-request cycles by running the repository’s required version, build, and reviewer checks locally and producing a clear pass/fail summary before you open the PR.
Core Features & Use Cases
- Repo-specific orchestration: Detects change scope (proto, code, docs, deps, site) and runs the appropriate build/check command described by the repo’s
.agents/running-builds.md.
- Version gate enforcement (when applicable): Applies the version-bump policy only if
version.gradle.kts exists at the repository root, including auto-fix behavior when the bump workflow is present.
- Reviewer integration + caching: Invokes the relevant reviewers (
kotlin-review, review-docs, dependency-audit, check-links) and supports a check-links sentinel cache via .git/check-links.ok.
- Pass/fail aggregation with a sentinel: Writes
.git/pre-pr.ok on success so the gh pr create hook can verify the checklist ran for the current HEAD.
Quick Start
Run the pre-pr skill to execute the version check (if applicable), run the correct build or docs command for your change type, run the relevant reviewers against your branch diff, and write the .git/pre-pr.ok success sentinel.