code-reviewer
審查程式碼的安全性與品質
當指引不一致時,程式碼審查容易漏掉安全性與可靠性問題。此技能提供結構化審查標準,涵蓋安全性、效能、正確性、可維護性與測試。
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "code-reviewer" from https://skillstore.io/skills/shubhamsaboo-code-reviewer.md and its manifest at https://skillstore.io/api/skills/shubhamsaboo-code-reviewer/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「code-reviewer」。 一個小型 API handler 會根據使用者提供的識別碼建立資料庫查詢。
預期結果:
- 安全性問題:重大,使用者查找中存在 SQL 注入風險。請改用參數化查詢並驗證識別碼。
- 摘要:應等到查詢修正並以測試覆蓋後再合併。
正在使用「code-reviewer」。 一個 Pull Request 會列出貼文,然後在迴圈中載入每位作者。
預期結果:
- 效能問題:高,貼文列表路徑存在 N+1 查詢風險。請使用預先載入、join 或批次查找修正。
- 測試:為列表端點加入查詢次數檢查。
正在使用「code-reviewer」。 一個 TypeScript function 會捕捉所有錯誤並回傳通用失敗訊息。
預期結果:
- 正確性問題:高,不清楚的錯誤處理會隱藏逾時、網路與回應解析失敗。
- 修正:捕捉特定錯誤、保留有用上下文,並測試錯誤路徑。
安全審計
安全Static analysis flagged scripts, network calls, command execution, and keylogger terms, but review found they are educational examples inside code review guidance. No evidence found of active execution, data exfiltration, prompt injection, or malicious intent in the skill files.
風險因素
⚡ 包含腳本 (6)
⚙️ 外部命令 (21)
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/shubhamsaboo-code-reviewer/audits/3?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/shubhamsaboo-code-reviewer?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/shubhamsaboo-code-reviewer?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/shubhamsaboo-code-reviewer/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/shubhamsaboo-code-reviewer.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 引用
shubhamsaboo. (2026). code-reviewer security audit report (audit version 3) [Author version 1.0]. Skillstore. https://skillstore.io/skills/shubhamsaboo-code-reviewer/audits/3BibTeX 引用
@techreport{shubhamsaboo-shubhamsaboo-code-reviewer-2026,
author = {shubhamsaboo},
title = {code-reviewer security audit report (audit version 3)},
institution = {Skillstore},
year = {2026},
number = {3},
url = {https://skillstore.io/skills/shubhamsaboo-code-reviewer/audits/3},
note = {Author version 1.0}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "code-reviewer security audit report (audit version 3)"
version: "1.0"
type: report
authors:
- name: "shubhamsaboo"
date-released: "2026-07-09"
url: "https://skillstore.io/skills/shubhamsaboo-code-reviewer/audits/3"
identifiers:
- type: other
value: "skillstore:shubhamsaboo-code-reviewer:audit:3"
description: "Skillstore immutable audit report identifier"
比較變體
10 個可安裝變體每位作者的技能都保留為獨立的可安裝項目。推薦變體依 Skillstore 證據排序。
為何此變體排名第一
alirezarezvani-code-reviewer
2026-10-22
curiouslearner-code-reviewer
2026-09-09
shubhamsaboo-code-reviewer
2026-09-09
zhaobolun-code-code-reviewer
2026-10-06
Skillstore 評分
評分依據 證據置信度: 中你可以打造什麼
審查 Pull Request
在合併前檢查提議的變更是否存在安全性、正確性、效能、可維護性與缺少測試等問題。
稽核安全敏感程式碼
將審查重點放在 SQL 注入、XSS、機密資訊、授權假設與不安全的資料處理。
提升程式碼審查一致性
在團隊中審查程式碼時,使用共用檢查清單與嚴重程度模型。
試試這些提示
請審查這段程式碼的安全性、正確性、效能與可維護性。請依嚴重程度列出發現事項,並包含行號參照與修正方式。
請將以下 diff 作為 Pull Request 進行審查。請聚焦於 SQL 注入、XSS、N+1 查詢、錯誤處理、命名、型別提示與測試。
請稽核此功能的安全性與可靠性風險。包含缺少驗證、授權假設、資料暴露、效能熱點與必要測試。
請執行阻擋式的合併前審查。將必須修正的問題與選擇性改進分開,說明影響,並提出最小且安全的變更。
最佳實務
- 提供完整 diff 或相關檔案,讓審查可以引用精確位置。
- 在決定變更是否可以合併時,要求依嚴重程度排序發現事項。
- 包含框架、資料庫與執行階段上下文,以取得更精確的建議。
避免
- 當安全性或正確性很重要時,不要只要求風格回饋。
- 不要貼上會隱藏驗證、驗證身分或資料庫存取的部分程式碼。
- 不要將審查視為測試、掃描工具或人工核准的替代品。
常見問題
此技能會審查哪些內容?
它可以審查 Pull Request 嗎?
它會執行程式碼或測試嗎?
涵蓋哪些安全性問題?
它可以找出效能問題嗎?
我應該如何格式化請求?
開發者詳細資訊
作者
shubhamsaboo授權
MIT
作者版本
v1.0
Skillstore 修訂
r1
版本提示
作者聲明的版本不符合 SemVer 規範。
引用
3e4b6c31a74a3bd1a291c98cf585d720cb9fbc88
維護新鮮度
2026/7/18
使用量
4 次下載 · 0 次瀏覽