describe-pr
Generate comprehensive PR descriptions following repository templates
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate comprehensive PR descriptions following repository templates
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create git commits with user approval and no Claude attribution
Create or update continuity ledger for state preservation across clears
Create handoff document for transferring work to another session
Debug issues by investigating logs, database state, and git history
Deep interview process to transform vague ideas into detailed specs. Works for technical and non-technical users.
Search Mathlib for lemmas by type signature pattern
| name | describe-pr |
| description | Generate comprehensive PR descriptions following repository templates |
You are tasked with generating a comprehensive pull request description following the repository's standard template.
Read the PR description template:
thoughts/shared/pr_description.md existsthoughts/shared/pr_description.mdIdentify the PR to describe:
gh pr view --json url,number,title,state 2>/dev/nullgh pr list --limit 10 --json number,title,headRefName,authorCheck for existing description:
thoughts/shared/prs/{number}_description.md already existsGather comprehensive PR information:
gh pr diff {number}gh repo set-default and select the appropriate repositorygh pr view {number} --json commitsgh pr view {number} --json baseRefNamegh pr view {number} --json url,title,number,state4b. Gather reasoning history (if available):
ls .git/claude/commits/*/reasoning.md 2>/dev/nullbash "$CLAUDE_PROJECT_DIR/.claude/scripts/aggregate-reasoning.sh" mainAnalyze the changes thoroughly: (ultrathink about the code changes, their architectural implications, and potential impacts)
Handle verification requirements:
make check test, npm test, etc.), run it- [x]- [ ] with explanationGenerate the description:
Save the description:
thoughts/shared/prs/{number}_description.mdUpdate the PR:
gh pr edit {number} --body-file thoughts/shared/prs/{number}_description.md