kooleklabs

Smart PR — Testing skill for Claude Code

Testing community

Generate a structured PR description from the current branch diff.

How to install Smart PR

Installs to ~/.claude/commands/kooleklabs-agentic-setup-smart-pr.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/kooleklabs/agentic-setup/HEAD/.claude/commands/smart-pr.md -o ~/.claude/commands/kooleklabs-agentic-setup-smart-pr.md

Restart Claude Code, or start a new session, for it to be picked up.

What Smart PR does


description: Generate a structured PR description from the current branch diff. Run after /self-review passes. Produces title, summary, test plan, and risk notes ready to paste into GitHub/GitLab.

Generate a pull request description for the current branch:

Step 1 — Gather diff data

git diff main...HEAD --stat
git diff main...HEAD
git log main...HEAD --oneline

Step 2 — Classify changes

Group changed files into categories:

  • Features: new capabilities added
  • **Fix

Alternatives in Testing

  • Al PR Prepare.Prompt — Prepare a clean, documented pull request draft for AL features or fixes with summary, testing notes, and check 109 ★
  • Mobile Scan — Quick QA scan of an existing mobile app 107 ★
  • Skill Trigger Test — PHẢI dùng khi: vừa tạo agent/skill mới, vừa sửa description frontmatter, nghi ngờ routing conflict giữa 2 agen 90 ★

Full documentation available on GitHub

View Source Repository