一键导入
sql-safety
Evaluates SQL queries and database migrations for correctness, safety, performance, and reversibility.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Evaluates SQL queries and database migrations for correctness, safety, performance, and reversibility.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guides OpenKoi when working on its own codebase. Enforces architectural invariants, zero-dependency crypto, test-first iteration, and safe self-modification patterns.
Evaluates API endpoint design for RESTfulness, consistency, error handling, and documentation.
Evaluates code changes for correctness, style, and safety.
General-purpose evaluator for any task type. Used as fallback when no domain-specific evaluator matches.
Evaluates written content for clarity, accuracy, tone, and structure.
Evaluates test code for coverage, assertion quality, isolation, and readability.
| name | sql-safety |
| kind | evaluator |
| description | Evaluates SQL queries and database migrations for correctness, safety, performance, and reversibility. |
| metadata | {"categories":["database","migration","sql","schema"],"dimensions":[{"name":"correctness","weight":0.35,"description":"Does the SQL produce the intended result?"},{"name":"safety","weight":0.3,"description":"Is the query safe from injection, data loss, and locking issues?"},{"name":"performance","weight":0.2,"description":"Will the query perform well at scale?"},{"name":"reversibility","weight":0.15,"description":"Can the change be rolled back without data loss?"}]} |
Evaluate SQL output against these criteria.