code-review
使用 Sentry 实践进行代码审查
拉取请求审查常常会遗漏正确性、安全性、性能和测试方面的风险。此技能为 Claude、Codex 和 Claude Code 提供结构化的 Sentry 审查清单。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "code-review" from https://skillstore.io/skills/getsentry-code-review.md and its manifest at https://skillstore.io/api/skills/getsentry-code-review/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“code-review”。 审查一个添加计费工作流和数据库迁移的拉取请求。
预期结果:
- 阻塞:该迁移可能会在部署期间锁定大型表。
- 阻塞:失败付款重试需要集成测试覆盖。
- 问题:当计费失败时,支持团队是否应收到告警?
正在使用“code-review”。 审查一个加载用户特定项目数据的 React 变更。
预期结果:
- 阻塞:该 effect 可能会使用过期的项目标识符。
- 非阻塞:为项目切换器添加加载状态测试。
- 建议:让评论聚焦于用户可见风险。
正在使用“code-review”。 审查一个安全敏感型端点变更。
预期结果:
- 阻塞:确认该端点强制执行对象级访问控制。
- 阻塞:为未授权访问添加回归测试。
- 升级:在合并此变更前请求高级工程师审查。
安全审计
安全The static findings are false positives from markdown code fences, educational review examples, and a public documentation link. No prompt injection, data exfiltration intent, or executable behavior was found in SKILL.md.
风险因素
🌐 网络访问 (1)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/getsentry-code-review/audits/7?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/getsentry-code-review?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/getsentry-code-review?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/getsentry-code-review/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/getsentry-code-review.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
getsentry. (2026). code-review security audit report (audit version 7) [Author version unspecified]. Skillstore. https://skillstore.io/skills/getsentry-code-review/audits/7BibTeX 引用
@techreport{getsentry-getsentry-code-review-2026,
author = {getsentry},
title = {code-review security audit report (audit version 7)},
institution = {Skillstore},
year = {2026},
number = {7},
url = {https://skillstore.io/skills/getsentry-code-review/audits/7},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "code-review security audit report (audit version 7)"
version: "unspecified"
type: report
authors:
- name: "getsentry"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/getsentry-code-review/audits/7"
identifiers:
- type: other
value: "skillstore:getsentry-code-review:audit:7"
description: "Skillstore immutable audit report identifier"
比较变体
14 个可安装变体每位作者的技能都保持为独立的可安装项。推荐变体按 Skillstore 证据排序。
为什么此变体排名第一
adammanuel-dev-code-review
2026-09-09
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
审查拉取请求
在批准影响产品行为的变更前,应用结构化清单。
评估高风险架构变更
标记数据库、API、框架和安全敏感型变更,以便进行更深入的审查。
提高审查一致性
为团队提供关于反馈语气、测试预期和阻塞性问题的共享标准。
试试这些提示
审查此拉取请求的正确性、测试、安全性和性能。重点关注应阻止合并的问题。
审查变更后的测试,并识别业务逻辑、集成和关键用户路径中缺失的覆盖范围。
审查这些变更中的运行时错误、副作用、向后兼容性、ORM 性能和安全漏洞。
审查此拉取请求,并识别任何需要高级工程师审查的数据库、API、框架、性能关键或安全敏感型变更。
最佳实践
- 在提示中提供 diff、受影响的需求和测试结果。
- 先询问阻塞性问题,再询问非阻塞性建议。
- 使用项目上下文来验证 Sentry 特定指导是否适用。
避免
- 不要将该技能作为高风险变更的唯一批准信号。
- 当目标是降低风险时,不要只请求样式方面的反馈。
- 不要在审查中忽略失败的测试或缺失的上下文。