用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/sethdford/claude-standards --skill pr-standards-gate命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | pr-standards-gate |
| description | Review a PR for standards compliance during code review |
Verify that code changes comply with documented standards before approving a pull request.
You're reviewing a PR and need to ensure that the code changes follow the project's documented standards. This is the manual verification step that happens after automated checks pass.
The PR Gate ceremony has both automated checks (run by CI) and manual review (done by humans). This skill covers the manual review portion.
Standards can apply at different levels:
Reference: levels/L2-ceremonies/ceremonies/pr-gate.md#Manual Review Checklist
Identify changed files — Get the list of files modified in the PR
git diff main...<branch> --name-onlyMap files to applicable standards — Which standards apply?
src/api/server.ts → docs/standards/engineering/api-design.md and typescript.mdRead each applicable standard — Understand what the standard requires
Check changes against rules — Verify code follows each standard
Verify agent context updated if needed — Check that CLAUDE.md/AGENTS.md stay in sync
Report violations with specific fixes — If issues found, guide the PR author
Found violation in src/api.ts:42
Standard: docs/standards/engineering/api-design.md#Validation
Current: function accepts data: any
Required: All function params must have types
Fix: Change to: function process(data: ValidRequest)
Rubber-stamping the checklist — Going through motions without real review
Checking only the diff without reading the standard — Missing context
Treating all violations equally — Missing severity differences
Flagging violations without citing a standard — Creates disputes
levels/L2-ceremonies/ceremonies/pr-gate.md — Full PR Gate ceremonylevels/L1-context/library/ — Reference standards for common categorieslevels/L3-enforcement/agents/standards-enforcer.md — Automated enforcement equivalent