Backend Queries
When to use this skill
- When writing database queries in any backend file
- When using ORM query methods (e.g., ActiveRecord, Sequelize, Prisma, SQLAlchemy)
- When implementing eager loading or joins to prevent N+1 queries
- When writing raw SQL queries or query builders
- When optimizing query performance or adding indexes
- When implementing transactions for related database operations
- When adding query timeouts or performance monitoring
- When implementing query caching strategies
- When selecting specific columns instead of using SELECT *
- When working in service files, repository files, or data access layers that fetch data
This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle backend queries.
Instructions
For details, refer to the information provided in this file: backend queries