agentleFS
srinidhis05srinidhis05/agentura/skills/dev/pr-slt-validator/SKILL.md

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.…

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
  1. Distinctive:

    If the PR has no API-facing changes, report cleanly rather than inventing issues.

    line 68

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 PR
  • changed_files — list of changed file objects
  • repo — repository full name
  • pr_number — PR number

Execution Protocol

Phase 1: API Contract Analysis

Scan changed files for:

  1. API endpoint modifications (routes, handlers, controllers)
  2. Request/response schema changes (DTOs, models, protobuf)
  3. Database migration files
  4. Configuration changes that affect behavior

Phase 2: Breaking Change Detection

For each API-facing change:

  1. Is the change backward compatible?
  2. Are deprecated fields handled gracefully?
  3. Are new required fields added without defaults?

Phase 3: Integration Readiness

Check for:

  1. Integration test files in the changeset
  2. Environment configuration changes
  3. Dependency version bumps with known issues
  4. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.