Install
$ agentstack add skill-yuaicode-ai-skills-pr-desc-zh ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
pr-desc-zh — 中文 PR 描述生成
把"一堆 commit + diff"变成 reviewer 看得懂、三个月后还能回溯的中文 PR 描述。
何时触发
用户说"写个 PR / 生成 PR 描述 / 提 MR / 帮我写 PR 说明"。
用法
- 采集素材(确定性脚本,在目标分支上跑):
``bash bash /bin/collect.sh [base分支] `` 不传 base 会自动探测默认分支(origin/HEAD → origin/main → main…)。输出 BASE / COMMITS / FILES / DIFFSTAT。
- 读这些素材 +(必要时)
git diff ..HEAD细节,按下面模板产出中文描述。 - 展示给用户确认。要的话用
gh pr create --title "" --body ""直接开 PR。
描述模板
## 这个 PR 做了什么
## 动机 / 背景
## 改动点
-
## 影响面
-
## 测试
- [ ]
## 备注 / 待确认
-
硬规则
- 标题用 conventional 前缀(
feat:/fix:/refactor:…)+ 中文描述;代码标识符、API、库名保持英文。 - 不臆造:测试项、影响面拿不准就标"待确认",别编。
- 破坏性变更、DB 迁移、共享契约(如 swagger)改动必须在「影响面」点出。
- 描述基于真实 diff;commit 信息不足时看 diff 补全,而不是猜。
边界
- 只读 git,不自动推送/合并;
gh pr create仅在用户同意后执行。 - base 探测不到时要求用户显式指定。
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: YuAICode
- Source: YuAICode/ai-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.