| name | pr-validation |
| description | Validate PR structure, naming, metadata, and file location conventions |
| model | sonnet-4-6 |
| token_budget | {"input":4000,"output":2000} |
PR Validation Skill
Validates pull request submissions against file structure, naming conventions, and metadata requirements.
Validation Dimensions
1. Type Detection
- Identify change type: RULE, AGENT, SKILL, STAGE, TEMPLATE, STACK, or WORKFLOW
- Determine operation: NEW, MODIFY, REMOVE, REFACTOR, CONSOLIDATE
- Verify appropriate scope (new vs modification)
2. File Location & Naming
3. Required Metadata
4. Content Structure
5. Quality Checks
Validation Report Format
## PR VALIDATION REPORT
PR Title: {title}
PR Type: [RULE / AGENT / SKILL / STAGE / TEMPLATE / STACK / WORKFLOW / OTHER]
Change Type: [NEW / MODIFY / REFACTOR / REMOVE / CONSOLIDATE]
### Type & Location
Status: [PASS / WARN / FAIL]
Details: {Specific checks for file location and naming}
### Guideline Compliance
Status: [PASS / WARN / FAIL]
Issues Found:
- {Issue 1 with details}
- {Issue 2 with details}
Required Fixes:
- {Fix 1}
### Quality Check
Issues:
- {Typos, formatting, clarity issues}
## Recommendations
### What to Fix (MUST FIX before merge)
1. {Issue with suggested fix}
### What to Improve (NICE TO HAVE)
1. {Improvement}
Triggers
Use this skill when:
- PR submitted for structure/metadata validation
- Checking file location conventions
- Before passing to duplication or breaking-change analysis
- Validating formatting and naming consistency