·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