← ClaudeAtlas

pr-preplisted

Prepare PR commits and body.
boshu2/agentops · ★ 384 · AI & Automation · score 79
Install: claude install-skill boshu2/agentops
# 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.