TorbenMerrald avatar

backend-queries

Write secure, performant database queries following best practices for data retrieval and manipulati

提供方 TorbenMerrald|开源

Backend Queries

When to use this skill

  • When writing SQL queries or ORM query methods
  • When fetching related data using joins or eager loading
  • When implementing filtering, sorting, or search functionality
  • When optimizing queries to prevent N+1 query problems
  • When using parameterized queries to prevent SQL injection
  • When implementing database transactions for consistency
  • When selecting specific columns instead of using SELECT *
  • When adding query timeouts to prevent runaway queries
  • When implementing query result caching for expensive operations
  • When working with query builders or repository pattern implementations

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

backend-queries - 适用于 Claude Code 与 Cursor 的 AI 智能体 Skill | Agent Skills