check-pr-readiness
OfficialGate your PR with type, lint, tests, and residue.
AuthorAgentSystemLabs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents broken or low-quality code from landing in a pull request by running a consistent pre-flight check across the branch’s actual diff, then stopping immediately on the first failing gate.
Core Features & Use Cases
- Diff-scoped gauntlet: Computes the base range and checks only what changed (plus relevant residue signals from added lines).
- Tooling-aware detection: Identifies the project’s real commands for typechecking, linting, formatting, and testing instead of guessing.
- Strict failure semantics: Stops at the first red gate, reports the exact reproduction command, and never silently fixes code (except offering format auto-fix when supported).
- Residue sweep: Flags likely “forgotten” issues in the diff such as console.log, debugger statements, .only/.skip, newly added TODOs/FIXMEs, and large/binary additions.
- Use case: Before pushing a PR, ensure production readiness and catch common review blockers like type errors, formatting drift, flaky residue, or unintended file changes.
Quick Start
Run pre-pr check so the skill evaluates your branch against the base and reports whether it’s PR-ready or blocked.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: check-pr-readiness Download link: https://github.com/AgentSystemLabs/core/archive/main.zip#check-pr-readiness Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.