pr-prep

Solid

PR preparation: git archaeology, test validation, structured PR body generation. Mandatory user review gate before submission. Triggers: "prepare PR", "PR prep", "submit PR", "create PR body", "write PR description".

Code & Development 458 stars 44 forks Updated 5 days ago Apache-2.0

Install

View on GitHub

Quality Score: 91/100

Stars 20%
89
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# PR Preparation Skill Systematic PR preparation that validates tests and generates high-quality PR bodies. ## Overview Prepares contributions by analyzing the target repo's conventions, git history, test coverage, and generating properly-formatted PR bodies. **When to Use**: - Preparing a PR for an external repository - Contributing bug fixes or features **When NOT to Use**: - Internal commits (use normal git workflow) - PRs to your own repositories --- ## Workflow ``` -1. Prior Work Check -> BLOCKING: Final check for competing PRs 0. Isolation Check -> BLOCK if PR mixes unrelated changes 1. Context Discovery -> Understand target repo conventions 2. Git Archaeology -> Analyze commit patterns, PR history 3. Pre-Flight Checks -> Run tests, linting, build 4. Change Analysis -> Summarize what changed and why 4.5 Commit Split Advisor -> Suggest logical commit groups (manual) 5. PR Body Generation -> Create structured PR description 6. USER REVIEW GATE -> STOP. User must approve before submission. 7. Submission -> Only after explicit user approval ``` --- ## Phase 0: Isolation Check (BLOCKING) **CRITICAL**: Run this FIRST. Do not proceed if PR mixes unrelated changes. ### Commit Type Analysis ```bash # Extract commit type prefixes from branch git log --oneline main..HEAD | sed 's/^[^ ]* //' | grep -oE '^[a-z]+(\([^)]+\))?:' | sort -u ``` **Rule**: If more than one commit type prefix exists, the PR is mixing concerns. ...

Details

Author
boshu2
Repository
boshu2/agentops
Created
1 years ago
Last Updated
5 days ago
Language
Go
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category