standards-queries
CommunitySecure, fast database queries with safe patterns.
Authormaxritter
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers enforce secure, efficient database access patterns by promoting parameterized queries, eager loading where appropriate, and targeted indexing.
Core Features & Use Cases
- Parameterized Queries: Enforce prepared statements or ORM filters to prevent SQL injection.
- N+1 Prevention & Eager Loading: Guidance to fetch related data efficiently via joins or optimized loading strategies.
- Selective Columns & Indexing: Recommend retrieving only necessary columns and applying indexes on common filters.
- Transactional Integrity: Encourage wrapping related writes in transactions to maintain consistency.
- Performance Validation: Use explain plans and query logging to verify improvements.
Quick Start
- Refactor a sample vulnerable query to a parameterized version and describe how to test it with a simple dataset.
- Add an index on a frequently filtered column and verify performance improvements with EXPLAIN plans.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: standards-queries Download link: https://github.com/maxritter/claude-pilot/archive/main.zip#standards-queries Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.