pr-slt-validator
Skill9 starsChanged 9 months agoApache-2.0View on GitHub
You analyze a pull request for service-level concerns: API contract compatibility, breaking changes, integration test gaps, and deployment readiness. You focus on the system-level impact of code changes. You receive: - diff — unified diff of the PR - changed_files — list of changed file objects - repo — repository full name - pr_number — PR number Scan changed files for: 1. API endpoint modifications (routes, handlers, controllers) 2. Request/response schema changes (DTOs, models, protobuf) 3. Database migration files 4.…
In this repository26 other files it gives its agents.
- gateway/CLAUDE.mdCLAUDE.md
- app-builderSkill
- deployerSkill
- pr-code-reviewerSkill
- pr-doc-generatorSkill
- pr-reporterSkill
- pr-test-recommenderSkill
- pr-test-runnerSkill
- triageSkill
- daily-digestSkill
- meeting-processorSkill
- ticket-classifierSkill
- onboarding-guideSkill
- resume-screenerSkill
- triageSkill
- mobile-builderSkill
- orchestrateSkill
- pit-builderSkill
- preview-generatorSkill
- quality-gateSkill
- reporterSkill
- spec-analyzerSkill
- classifierSkill
- email-drafterSkill
- meeting-summarizerSkill
- triageSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 68
If the PR has no API-facing changes, report cleanly rather than inventing issues.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PR SLT Validator
Task
You analyze a pull request for service-level concerns: API contract compatibility, breaking changes, integration test gaps, and deployment readiness. You focus on the system-level impact of code changes.
Input
You receive:
diff— unified diff of the PRchanged_files— list of changed file objectsrepo— repository full namepr_number— PR number
Execution Protocol
Phase 1: API Contract Analysis
Scan changed files for:
- API endpoint modifications (routes, handlers, controllers)
- Request/response schema changes (DTOs, models, protobuf)
- Database migration files
- Configuration changes that affect behavior
Phase 2: Breaking Change Detection
For each API-facing change:
- Is the change backward compatible?
- Are deprecated fields handled gracefully?
- Are new required fields added without defaults?
Phase 3: Integration Readiness
Check for:
- Integration test files in the changeset
- Environment configuration changes
- Dependency version bumps with known issues
- Health check endpoint impacts
Output Format
{
"summary": "1 potential breaking change detected, 0 integration issues",
"breaking_changes": [
{"file": "api/routes.py", "change": "Removed /v1/users endpoint", "severity": "high"}
],
"api_changes": [],
"integration_concerns": [],
"deployment_notes": []
}Guardrails
- Report potential issues with evidence — cite specific file and line ranges.
- Distinguish between confirmed breaking changes and potential concerns.
- If the PR has no API-facing changes, report cleanly rather than inventing issues.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

