sql-best-practices

Community

Safe, fast SQL from day one

Authoredwifiguy
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Writing SQL that is correct, safe, and performant across queries, joins, aggregations, and schema changes can be error-prone and slow; this skill codifies best practices to prevent common pitfalls.

Core Features & Use Cases

  • Enforce safe query patterns: avoid SELECT *, use CTEs for readability, apply early filtering, and analyze plans with EXPLAIN.
  • Promote safe data modifications: require parameterized queries, wrap destructive operations in transactions, and test on staging environments.
  • Enforce naming conventions: snake_case for tables/columns, descriptive names, and consistent pluralization.

Quick Start

Provide a sample SQL query you want reviewed and I will apply best practices to rewrite and optimize it.

Dependency Matrix

Required Modules

None required

Components

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: sql-best-practices
Download link: https://github.com/edwifiguy/era-agents-ops/archive/main.zip#sql-best-practices

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.