Analyze branch changes and generate comprehensive PR description. Use when user mentions PR作って, プルリクエスト, pull request, PR作成.
From shipnpx claudepluginhub thkt/dotclaude --plugin toolkit[issue reference or context] [--visual]opuspr//SKILLRuns `yarn extract-errors` on React project to detect new error messages needing codes, reports them, and verifies existing codes are up to date.
/SKILLManages major dependency upgrades via compatibility analysis, staged rollouts with npm/yarn, and testing for frameworks like React.
/SKILLEvaluates LLMs on 60+ benchmarks (MMLU, HumanEval, GSM8K) using lm-eval harness. Provides CLI commands for HuggingFace/vLLM models, task lists, and evaluation checklists.
/SKILLApplies STRIDE methodology to identify system threats and generates threat model docs with DFDs, assets, STRIDE tables, and mitigations.
/SKILLApplies systematic debugging strategies to track down bugs, performance issues, and unexpected behavior using checklists, scientific method, and testing techniques.
/SKILLSummarizes content from URLs, local files, podcasts, and YouTube videos. Extracts transcripts with --extract-only flag. Supports AI models, lengths, and JSON output.
Analyze all changes in the current branch and generate comprehensive PR descriptions.
$1 (optional, e.g., #456)--visual flag: run E2E recording and attach mp4 to PR$1 is empty → generate from current branch only| Type | Name | Purpose |
|---|---|---|
| Agent | pr-generator | PR description generation (fork) |
| Step | Action |
|---|---|
| 1 | Analyze: git status, git diff, git log (parallel) |
| 2 | Select base branch via AskUserQuestion (options: main / develop / [detected]) |
| 3 | If --visual: run E2E recording (see Visual Recording section) |
| 4 | Task with subagent_type: pr-generator, mode: "dontAsk" for PR content |
| 5 | Preview PR → AskUserQuestion: "Create this PR?" |
| 6 | Display push command for user to run manually |
| 7 | Create PR: gh pr create --title "..." --body "..." |
| 8 | If --visual and mp4 exists: show attach instruction (see Visual Recording below) |
Never execute git push directly. Display the command and wait for
confirmation:
Run this to push: git push -u origin HEAD
Triggered by --visual flag. Abort silently if playwright.config.* not found.
| Step | Action |
|---|---|
| 1 | Check playwright.config.ts or playwright.config.js exists (project root) |
| 2 | Run: npx playwright test --video=on |
| 3 | Find latest .webm in test-results/ |
| 4 | Convert: ffmpeg -i <input.webm> -vcodec libx264 <output.mp4> |
| 5 | Store mp4 path → show after PR creation |
After PR creation, display:
Video generated: <absolute path to mp4>
Drag and drop it into the PR description or first comment on GitHub.
| Rule | Detail |
|---|---|
| Title: No prefix | No feat:, fix:, refactor: etc. |
| Body: Direct string | Avoid heredoc (<<EOF) - sandbox restriction |
Preview shows title, base branch, current branch, summary bullets, and changes
table. Success: **Created PR**: #<number> <title> <PR URL>
| Check | Required |
|---|---|
Task called with subagent_type: pr-generator? | Yes |
Title has no prefix (feat:, fix:, etc.)? | Yes |
--visual without playwright.config → aborted? | Yes |