sql-dao
星标0
分支0
更新时间2025年11月6日 08:26
SQL data access best practices for AIRBot reviewers
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
SQL data access best practices for AIRBot reviewers
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Kotlin backend layering and packaging guidelines
Coroutine usage guardrails for Kotlin backend reviewers
Security review guardrails for AIRBot
Testing expectations for AIRBot reviewers
TypeScript style standards for AIRBot reviewers
| name | sql-dao |
| description | SQL data access best practices for AIRBot reviewers |
| license | MIT |
SELECT col1, col2) rather than SELECT *.jdbi.inTransaction {}; avoid mixing suspend calls inside transactions.@SqlBatch, @BatchChunkSize(2000)) for bulk inserts/updates and chunk large WHERE IN arguments (SQL Server limit ~2200 params).@BlockingClass, @BlockingCall) exist for DAL/Repo classes and consumers.updated_at timestamps update alongside data mutations.CURRENT_TIMESTAMP) to set them.created_at/updated_at columns, primary keys, and consider unique constraints where appropriate.NVARCHAR over VARCHAR; align column nullability with Kotlin model nullability.mockRun, wrap per-row mutations in try/catch, and notify stakeholders before production runs.BulkExecutor; discourage ad-hoc parallel loops.Grep for SELECT *, @SqlBatch, inTransaction, or AsyncResponse inside DAO code to ensure patterns align.Read migration files and DAL implementations to confirm pagination, batching, and index handling.Glob *Dao.kt, *Repository.kt, *Script.kt to review related data access or scripting changes together.