code-review
审查变更代码的安全性和质量
代码变更可能隐藏安全、性能和正确性风险。此技能会结合 OWASP 和 ORM 指导审查 Git diff。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "code-review" from https://skillstore.io/skills/daviddworetzky-code-review.md and its manifest at https://skillstore.io/api/skills/daviddworetzky-code-review/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“code-review”。 在我提交之前审查我的未提交变更。
预期结果:
严重:用户查找中存在潜在 SQL 注入。建议:添加 eager loading 以避免重复的 post 查询。
正在使用“code-review”。 检查已暂存的后端变更是否存在安全和性能问题。
预期结果:
未发现严重问题。建议:为新的外键添加索引,并记录新模型。
正在使用“code-review”。 发布前审查最新提交。
预期结果:
严重:请求处理中存在不安全的反序列化。建议修复:使用 JSON 解析,或在加载可信 payload 前验证签名。
安全审计
安全Static analysis found many high-risk strings, but they occur in markdown security and ORM reference examples or in a benign local git helper script. I found no prompt injection, exfiltration intent, destructive automation, or executable malware behavior in the reviewed files.
风险因素
⚡ 包含脚本 (7)
⚙️ 外部命令 (30)
🌐 网络访问 (7)
🔑 环境变量 (7)
📁 文件系统访问 (1)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/daviddworetzky-code-review/audits/12?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/daviddworetzky-code-review?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/daviddworetzky-code-review?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/daviddworetzky-code-review/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/daviddworetzky-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 引用
DavidDworetzky. (2026). code-review security audit report (audit version 12) [Author version unspecified]. Skillstore. https://skillstore.io/skills/daviddworetzky-code-review/audits/12BibTeX 引用
@techreport{daviddworetzky-daviddworetzky-code-review-2026,
author = {DavidDworetzky},
title = {code-review security audit report (audit version 12)},
institution = {Skillstore},
year = {2026},
number = {12},
url = {https://skillstore.io/skills/daviddworetzky-code-review/audits/12},
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 12)"
version: "unspecified"
type: report
authors:
- name: "DavidDworetzky"
date-released: "2026-07-09"
url: "https://skillstore.io/skills/daviddworetzky-code-review/audits/12"
identifiers:
- type: other
value: "skillstore:daviddworetzky-code-review:audit:12"
description: "Skillstore immutable audit report identifier"
比较变体
14 个可安装变体每位作者的技能都保持为独立的可安装项。推荐变体按 Skillstore 证据排序。
为什么此变体排名第一
daviddworetzky-code-review
2026-09-09
adammanuel-dev-code-review
2026-09-09
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
提交前审查
在提交前审查未暂存和已暂存的变更,检查缺陷和安全问题。
后端安全审查
根据 OWASP 和 ORM 性能指导检查 Python 和 SQLAlchemy 变更。
团队标准检查
在创建 pull request 之前,将变更文件与项目约定进行比较。
试试这些提示
审查我当前的 Git 变更,检查安全、缺陷和性能问题。重点关注需要采取行动的问题。
只审查已暂存文件。将问题分类为严重或建议,并为每个问题包含修复建议。
审查我的 Python 和数据库变更。优先关注 OWASP 风险、SQLAlchemy 查询安全、N+1 问题和缺失索引。
根据我们的项目标准、OWASP 指导和 ORM 优化模式审查最新提交。用证据解释每个阻塞性问题。
最佳实践
- 在测试通过后运行审查,使发现的问题聚焦于代码质量。
- 当审查范围很重要时,提供目标分支或提交范围。
- 对于大型变更,要求分别进行安全、性能和标准审查。
避免
- 不要将它作为高风险变更的唯一发布门禁。
- 当标准很重要时,不要忽略项目特定的上下文文件。
- 不要在未审查变更代码的情况下接受自动修复。
常见问题
这个技能会审查什么?
它会运行我的测试吗?
它支持 Claude、Codex 和 Claude Code 吗?
它能发现 OWASP 问题吗?
它能审查数据库性能吗?
使用前我应该检查什么?
开发者详情
许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
b959ebfd1043a07c0c4378ab94ca4342cb0259f5
维护新鲜度
2026/7/20
使用量
14 次下载 · 245 次浏览
文件结构