agentleFS
Lanqiao-LucaLanqiao-Luca/ai-java-workflow/skills/sql-review/SKILL.md

sql-review

Skill220 starsChanged 8 days agoMITView on GitHub

查询审查的方法入口;需在使用者自己的环境手动接入,不自动注册或执行。

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

目的:将查询、表索引依据和访问目标适配为语义/性能发现与验证建议。

适用于:涉及 SQL、排序、分页或索引的审查;审查许可不等于执行 SQL/DDL。

查询审查

适用条件与输入

当前任务命中本能力、来源与范围已明确时采用。输入:当前 SQL、表/索引依据、动态分支与查询目标。

方法来源

  • SQL 与索引检查

步骤

区分方案静态分析和当前环境测量;核语义、查询放大、索引、排序与分页。没有实际计划不填写实测成功;索引建议保持提案。核实工具、参数及允许动作;规范中的例子不是当前执行授权。已有有效输入复用,不要求重复填表。

输出与职责

输出:查询风险、证据与隔离验证建议。查询审查者对结果意义和实际覆盖负责;Skill 不控制上层循环或自行委派角色。

验收

输出满足所选规范,携带候选身份、证据和未覆盖项,下一接收者可复核。明确标识作者自查或独立上下文审查。

异常与停止

沿所选规范保留失败、未知和恢复条件。缺能力如实列接入缺口,不伪造命令或历史结果;权限不足只停相交动作,不绕过限制。

返回:Skills。

完整角色案例:输入到交接。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.