一键导入
review-pr
Review a pull request against gopipe project standards. Usage: /review-pr [NUMBER] (omit for current branch PR)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review a pull request against gopipe project standards. Usage: /review-pr [NUMBER] (omit for current branch PR)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Provides expertise in the message package architecture for building CloudEvents-based pipelines in gopipe. Apply when working with the message package, Engine, Router, Handler, Matcher, or designing event-driven systems.
Add an entry to the CHANGELOG under [Unreleased]. Usage: /changelog TYPE DESC (e.g. /changelog Added support for Redis adapter)
Create a new Architecture Decision Record. Usage: /create-adr TITLE (e.g. /create-adr add-redis-adapter)
Create a new feature branch from develop. Usage: /create-feature NAME (e.g. /create-feature message-validation)
Create a new implementation plan document. Usage: /create-plan TITLE (e.g. /create-plan redis-adapter)
Provides Go development standards and best practices for the gopipe codebase. Apply when writing or reviewing Go code: testing patterns, godoc, error handling, API conventions, and common anti-patterns to avoid.
| name | review-pr |
| description | Review a pull request against gopipe project standards. Usage: /review-pr [NUMBER] (omit for current branch PR) |
Review PR $ARGUMENTS (or the current branch PR if no number given) against gopipe standards.
Fetch PR details:
gh pr view $ARGUMENTS
gh pr diff $ARGUMENTS
gh pr checks $ARGUMENTS
Review against each checklist item below and report pass/fail with specific line references
channel.Process for filtering (use channel.Filter)Start()AddHandler)Copy() clones Attributes map (maps.Clone)Attributes, not *MessageMust* functions)fmt.Errorf("op: %w", err)t.Parallel() used where safe[Unreleased]feat:, fix:, docs:, etc.)develop, not mainReport as:
PR #N Review: <title>
PASS ✓ / FAIL ✗ / N/A for each checklist item
Issues found:
- <specific issue with file:line reference>
Overall: APPROVED / CHANGES REQUESTED