·review-sql
</>

review-sql

nesnilnehc/ai-cortex

檢查 SQL 和查詢程式碼的注入風險、參數化、索引和效能、事務、NULL 和約束以及方言可移植性。僅語言原子技能;輸出是一個結果列表。

8安裝·0熱度·@nesnilnehc

安裝

$npx skills add https://github.com/nesnilnehc/ai-cortex --skill review-sql

SKILL.md

Review SQL and query-related code for language and query conventions only. Cover injection and parameterization, indexing and execution-plan concerns, transactions and isolation, NULL and unique constraints, dialect portability, large-table and paging patterns, and sensitive columns and permissions. Emit a findings list in the standard format for aggregation. Do not define scope or perform full security/architectu...

When to use: When the code under review includes SQL (raw .sql, embedded in code, or ORM-generated). Scope (diff vs paths) is determined by the caller or user.

| Location | path/to/file.ext (optional line or range) or query identifier. | | Category | language-sql. | | Severity | critical \| major \| minor \| suggestion. | | Title | Short one-line summary. | | Description | 1–3 sentences. | | Suggestion | Concrete fix or improvement (optional). |

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/nesnilnehc/ai-cortex --skill review-sql
分類
</>開發工具
認證
收錄時間
2026-02-12
更新時間
2026-02-18

快速解答

什麼是 review-sql?

檢查 SQL 和查詢程式碼的注入風險、參數化、索引和效能、事務、NULL 和約束以及方言可移植性。僅語言原子技能;輸出是一個結果列表。 來源:nesnilnehc/ai-cortex。

如何安裝 review-sql?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/nesnilnehc/ai-cortex --skill review-sql 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/nesnilnehc/ai-cortex