Skip to main content

gorm-query-patterns

スター11
フォーク14
更新日2026年3月17日 19:25

Review and edit Go code that uses GORM, especially under `internal/plugin/store/postgres` and `internal/plugin/store/sqlite` or any query path where missing rows may be expected. Use this skill when choosing between `Take`/`First`/`Last` and `Find`, and when you need patterns that avoid noisy `record not found` logs by treating expected absence with `Limit(1).Find(...)` plus `RowsAffected`.

インストール

Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。

SKILL.md
readonly