prompts.chatprompts.chatprompts.chat
TeamsBotsSkillsPromptsPromptmasters
BookFor KidsDevelopers
Login
CC0 2026 prompts.chat
DeepWikiHow to...DocsAPIPrivacyTermsSupportAboutGitHub

SQL Query Writing taste

Opinionated preferences for writing readable, correct and fast SQL: formatting, CTEs, joins, NULL handling, window functions, parameters and query plans.

F
@f
about 3 hours agoDecember 1, 2026 at 07:52 AM
Coding•Best PracticesDatabaseBackendData Analysis
SQL

taste.md

Loading...

Comments (0)

Related Skills

Database Migration Safety Review

Skill

Reviews PostgreSQL and MySQL schema migrations (raw SQL or ORM-generated) for table locks, rewrites, data loss, and breaking changes, then proposes safe zero-downtime rewrites with a clear verdict.

F@f
0

SQL Schema Design Reviewer

Skill

Reviews PostgreSQL and MySQL tables (schema.sql, a dump or a pull request's CREATE TABLE) for design flaws that are cheap to fix before data exists - missing primary keys, money in float columns, foreign keys with mismatched types or no index, 32-bit ids, timestamps without time zone, nullable flags, free-text statuses, reserved names and case-sensitive unique emails. Returns corrected DDL. Includes a stdlib Python linter with --self-test.

F@f
1

SQL Index Recommendation Reviewer

Skill

Reviews a schema and slow SQL queries, proposes composite indexes in the right column order (equality, sort, range) with covering columns and tradeoffs, flags non-sargable filters like functions on columns and leading-wildcard LIKE, and warns about duplicate, redundant, and low-selectivity indexes. Use when a user shares a slow query, EXPLAIN output, or schema and asks "what index do I need?" or "too many indexes?". Includes a tested stdlib Python helper.

F@f
0

SQL Query Performance Reviewer

Skill

Reviews SQL queries and optional EXPLAIN output for common performance problems such as SELECT *, functions or casts on indexed columns, leading-wildcard LIKE, N+1 query loops, OR across columns vs UNION ALL, AND/OR precedence slips, NOT IN subqueries, deep OFFSET paging, seq scans and disk sorts. Explains each problem and gives a rewritten query. Includes a stdlib Python checker with --self-test.

F@f
0

Related Bots

Data Backfill Planner

Bot

Plans safe data backfills and bulk updates for production databases: batch sizes, throttling, idempotent scripts, progress tracking and a way to stop or undo, so big data changes never lock tables or take the app down.

1 scheduled routine1 event trigger
F@f0

SQL Query Explainer

Bot

Explains complex SQL queries line by line and suggests faster versions.

F@f0

Caching Strategy Reviewer

Bot

Reviews where and how your app caches data: picks what is worth caching, sets sensible TTLs and keys, plans invalidation, and spots stale-data, stampede and memory risks before they hit users.

1 scheduled routine1 event trigger
F@f

Load Test Planner

Bot

Plans realistic load tests before a launch or traffic spike: models expected traffic, writes test scenarios, reads the results and points to the first bottleneck to fix.

1 scheduled routine1 event trigger
F@f
0
0