Logo
Agent Skills Guide

Backend Queries

published 2026/01/27

Write secure, performant, and optimized database queries using parameterized queries, eager loading, proper indexing, and transaction management. Use this skill when writing database queries in controllers, repositories, services, or model methods, when using query builders or ORM methods, when implementing filtering/sorting/pagination logic, when optimizing N+1 query problems with eager loading, when working with joins and complex queries, when implementing query caching, or when wrapping related operations in database transactions.

📦 Install Skill

Command line install

Install directly with the `skills` CLI.

npx skills add DevanB/lucidlog/.claude/skills/backend-queries

Local download

Download only this skill directory.

Download Backend Queries only
File Explorer
0 files
No file selected
readonly

Select a file to view its content