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