generate-pr-description
Skill2 starsChanged 7 months agoMITView on GitHub
基于 git log 和 diff 自动生成标准 PR 描述,包含变更摘要、改动范围、测试覆盖、数据库变更等节
8 other projects use a version of this.
Adopted by
Most recently taken up by
- Ronnasayd/aipptheir own version, first seen Oct 20, 2026
- jealous-sound/azerothcore-wotlk-coatheir own version, first seen Oct 8, 2026
- mod-playerbots/azerothcore-wotlktheir own version, first seen Oct 8, 2026
- azerothcore/azerothcore-wotlktheir own version, first seen Oct 8, 2026
- carlosedm10/skillstheir own version, first seen Aug 8, 2026
- emaraschio/cursor-commandstheir own version, first seen Aug 7, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- azerothcore/azerothcore-wotlk★ 9.2ksame name
- mod-playerbots/azerothcore-wotlk★ 449same name
- jealous-sound/azerothcore-wotlk-coa★ 327same name
- emaraschio/cursor-commands★ 9same name
- kimgoetzke/coding-agent-configs★ 2same name
- carlosedm10/skills★ 1same name
- Ronnasayd/aipp★ 1same name
- gologo13/agent-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- advise-tech-stackSkill
- commit-with-affectsSkill
- db-dev-guideSkill
- export-db-indexesSkill
- frontend-dev-guideSkill
- frontend-ux-evaluatorSkill
- generate-test-from-impactSkill
- generate-test-skeletonSkill
- lock-global-conventionsSkill
- plan-component-hierarchySkill
- plan-page-mapSkill
- proposal-reviewSkill
- propose-workflow-improvementsSkill
- pr-self-reviewSkill
- record-decisionSkill
- review-guardrailsSkill
- run-pending-specsSkill
- run-testsSkill
- scan-bundle-bloatSkill
- scan-code-hygieneSkill
- scan-dead-routesSkill
- scan-frontend-qualitySkill
- scan-orphan-componentsSkill
- scan-unused-exportsSkill
- sync-llm-contextSkill
- verify-specSkill
The file
Files
Generate PR Description Skill
单独调用:
/generate-pr-description或/generate-pr-description --base=main在工作流中调用:由pr-review工作流 Step 1 自动触发
执行步骤
Step 1:提取变更信息
git log main..HEAD --oneline
git diff main...HEAD --statStep 2:分析变更范围
根据 diff 路径判断涉及哪些层:
backend/路径 → 后端改动(路由、服务、模型)frontend/路径 → 前端改动(页面、组件、状态)alembic//migrations/路径 → 数据库变更tests/路径 → 测试覆盖
Step 3:生成 PR 描述
## 变更摘要
{{1-3 句话描述这个 PR 做了什么,解决了什么问题}}
## 改动范围
### 后端(如有)
- 新增/修改路由:{{列表}}
- 数据库变更:{{如无请删除此行}}
- 新增/修改 Service:{{列表}}
### 前端(如有)
- 新增/修改页面:{{列表}}
- 新增/修改组件:{{列表}}
## 测试覆盖
- [ ] 已运行 run-tests(快速模式),结果:PASSED / FAILED
- [ ] 已人工验证核心交互路径
## 数据库变更(如有)
{{粘贴 export-db-indexes 生成的 DDL;如无请删除此节}}
## Review 重点
{{告诉 Reviewer 哪里需要重点看,哪里是非显而易见的决策}}
## 相关背景
{{Issue 链接、需求规格确认书版本、或背景说明}}约束
- MUST 变更摘要用用户语言(业务语言)而非技术语言
- NEVER 在描述中夸大变更范围或使用不确定的措辞
- 若涉及数据库变更但未见
tmp/db_migration_*.sql,提示用户先执行export-db-indexes
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

