PR Truth Gate is a production-grade review skill that catches high-risk AI-generated pull requests before merge. It enforces evidence-backed review decisions, trust-boundary checks, and rollback-readiness in one repeatable workflow.
Supported agents:
- Codex
- Claude
- Gemini
Modern teams ship faster than ever, and AI-assisted code can look correct while still introducing hidden security, reliability, or business-logic regressions. PR Truth Gate gives teams a structured gate that is strict enough for production, but fast enough for daily CI workflows.
- Prevents merge of PRs with unsupported or risky changes
- Detects trust-boundary violations (auth, secrets, permissions, external inputs)
- Flags rollback-hostile migrations and side effects
- Requires evidence for each risk claim
- Produces a final merge verdict with confidence
- Risk score (0-100)
- Severity-ranked findings
- Merge verdict: APPROVE / APPROVE_WITH_GUARDS / BLOCK
- Minimal fix checklist
- Rollback and verification plan
SKILL.md: Core workflowskill.json: Metadatapolicies/risk_matrix.md: Scoring modelprompts/: Reusable promptsadapters/: Codex, Claude, Gemini adapterstemplates/report.md: Required final report formatexamples/: Example PR assessment input/outputscripts/validate.ps1: Package validation
cd "E:\Github Automation\pr-truth-gate-skill"
powershell -ExecutionPolicy Bypass -File ".\scripts\validate.ps1"Adapter entry points:
adapters/codex/AGENTS.mdadapters/claude/.claude/commands/pr-truth-gate.mdadapters/gemini/GEMINI.md
- No evidence -> no claim
- Security and trust-boundary findings outrank style issues
- Prefer small, reversible fixes
- Block when exploitability is credible and tests are missing
MIT