qhjqhj00/research-skills-pool/039-git-pr-review
- community
Checking that the SKILL.md file is still in the repository.
Generate a concise and structured PR description from commit history with minimal token usage
Install
npx vskill@latest install qhjqhj00/research-skills-pool/039-git-pr-reviewSKILL.md
Objective
Create a clean, objective pull request description by analyzing commit history between base and current branch.
When to Use
Use this skill when you need to generate a structured pull request description based on commit history, especially for maintaining consistency and reducing manual effort.
Strategy (Token Efficient)
- DO NOT scan full diffs initially
- START with commit messages only
- ONLY inspect diffs if intent is unclear
Steps
1. Identify range
Default:
- base: main
- target: HEAD
Command: git log --no-merges --pretty=format:"%h|%s" main..HEAD
2. Pre-process commits
For each commit:
- Extract type if exists:
- feat, fix, refactor, chore, docs, test
- If missing:
- infer from message keywords:
- "add", "create" → feat
- "fix", "bug" → fix
- "refactor", "improve" → refactor
3. Remove noise (CRITICAL)
IGNORE commits that match:
- merge
- typo / docs only
- lint / format
- console.log removal
- comments only
- minor rename
4. Group by domain (VERY IMPORTANT)
Cluster commits by feature/module:
Heuristic:
- Same keyword → same group
- Same folder/file pattern → same group
Example:
- auth.service + auth.controller → "authentication"
- payment + checkout → "payment flow"
5. Conditional diff inspection (ONLY if needed)
ONLY run: git show <hash>
IF:
- commit message is vague ("update stuff")
- or grouping is unclear
Goal:
- extract intent, NOT code details
6. Build PR output
Title
Format: type(scope): short summary
Rules:
- max 72 chars
- prefer dominant group
Description Format (STRICT)
Summary
1–2 lines explaining the purpose
Changes
Grouped bullet points:
- <domain>: <what changed>
Technical Notes (optional)
Only if relevant:
- migrations
- env vars
- breaking changes
Impact
- user impact or system impact
- risks if any
Output Rules
- Max ~120–180 words total
- No repetition of commit messages
- No low-level code explanation
- No fluff
- No emojis
- No generic phrases ("this PR does...")
Limitations
- Relies on commit message quality; vague commits may reduce accuracy
- Does not deeply analyze code changes unless necessary
- Grouping heuristics may not perfectly reflect complex feature boundaries
- Assumes a relatively clean commit history without excessive noise
Example Output
Title: feat(auth): implement JWT authentication and session handling
Summary
Adds authentication flow and resolves session persistence issues.
Changes
- authentication: added JWT middleware and login flow
- session: fixed expiration handling
- user: refactored user service logic
Impact
Improves security and fixes inconsistent login behavior.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtop100-runs/039-git-pr-review/SKILL.md
Popularity
- Repository stars
- 3
- Repository forks
- 1
- 7-day trend score
- 12
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/qhjqhj00/research-skills-pool/039-git-pr-review)