Skip to content
Agentmart
Submit a tool

cnb-pr-summary

总结 PR 变更内容,概述主要改动点并生成变更说明。

Skill by wopal-cn

IndexedMIT★ 3
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/wopal-cn-cnb-pr-summary

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

总结 PR 变更内容,概述主要改动点并生成变更说明。

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/cnb-pr-summary

What's inside

Skill name
cnb-pr-summary
Description
总结 PR 变更内容,概述主要改动点并生成变更说明。
License
MIT
Instructions
66 lines in SKILL.md · view on GitHub

Files (2)

  • README.md
  • SKILL.md

SKILL.md (first lines)

# PR 变更总结

对 PR 的代码变更进行分析,生成结构化的变更总结。

## 执行步骤

### 1. 获取变更信息

使用 **cnb-pr-diff** Skill 获取 PR 变更:
- 先获取变更统计(`--stat`)和文件列表(`--name-only`)
- 再按需获取关键文件的具体 diff

### 2. 过滤文件

**优先分析**(核心代码):
- 业务逻辑:`src/`、`lib/`、`app/`、`packages/`
- API/接口:`api/`、`routes/`、`controllers/`
- 配置文件:`*.config.*`、`*.yml`、`*.yaml`
- 数据库/模型:`models/`、`schema/`、`migrations/`

**跳过**(非核心文件):
- 依赖锁文件:`package-lock.json`、`yarn.lock`、`go.sum`
- 构建产物:`dist/`、`build/`、`.next/`
- 生成文件:`*.min.js`、`*.map`
- 纯测试文件(除非测试是本次变更重点)

### 3. 分析变更

按以下维度分析:

| 维度 | 关注点 |
|------|--------|
| **变更类型** | feat(新功能)、fix(修复)、refactor(重构)、perf(性能)、docs(文档)、chore(配置/依赖) |
| **影响范围** | 涉及哪些模块、影响哪些功能点 |
| **关键改动** | 核心逻辑变更、API 变化、数据结构变更 |
| **破坏性变更** | 不兼容改动、需要迁移的内容 |

若上下文不足以理解代码意图,使用 Read 工具读取完整源文件。

## 输出格式

```markdown
**{type}**: {一句话描述}

**主要改动**
- {模块}: {变更说明}
- {模块}: {变更说明}

**注意**: {破坏性变更或风险点;如无则省略}
```

## 总结原则

1. **简洁明了**:突出重点,避免逐行复述 diff
2. **按功能分组**:按模块/功能组织,而非逐文件罗列
3. **突出意图**:说明"为什么改"而非仅描述"改了什么"
4. **识别风险**:主动指出破坏性变更和需要关注的点

## 大型 PR 处理

当文件数超过 20 个时:
1. 先用 `--stat` 分析变更分布,按模块归类
2. 重点分析核心模块变更(变更量大或涉及关键逻辑)
3. 在末尾概括未详细分析的文件/模块

From wopal-cn/wopal-space-ontology, MIT.

More from wopal-cn/wopal-space-ontology

Signals

Stars
3
Forks
1
Open issues
0
Last commit (this folder)
Sep 15, 2026 (1 month ago)
Last release
Oct 24, 2026 (5 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from wopal-cn

Cite this page

cnb-pr-summary skill. Agent Mart. https://agentmart.dev/skills/wopal-cn-cnb-pr-summary (last updated 2026-10-24)