database-development

Design schemas, generate reversible migrations, and validate indexing and row-level security.

1|Updated May 15, 2026
One-click install
npx skills add https://github.com/Blaze-sports-Intel/uber-engineer --skill database-development-blaze-sports-intel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-development
Source: https://github.com/Blaze-sports-Intel/uber-engineer/tree/main/plugins/uber-engineer/skills/database-development
Command: npx skills add https://github.com/Blaze-sports-Intel/uber-engineer --skill database-development-blaze-sports-intel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Database Development helps teams design schemas, migrations, and access controls that stay correct and performant in real production environments, including safe schema evolution and predictable query performance.

Core Features & Use Cases

  • Schema and migration safety: Produce reversible, online, lock-aware migrations (with explicit up/down behavior).
  • Indexing and query-plan optimization: Review queries and adjust indexing based on expected EXPLAIN/EXPLAIN ANALYZE behavior rather than guessing.
  • Security at the database layer: Apply row-level security (RLS) and validate both allow and deny paths using tests.
  • Read-only-by-default posture: Default toward safer access patterns that require explicit approval for writes.

Quick Start

Use database-development when you need to design or change a database schema, write a migration, review query plans for indexing, or apply/verify row-level security for a specific table or service.

Frequently Asked Questions about database-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write reversible database migrations that avoid production table locks?

Reversible database migrations require explicit up/down behavior with lock-aware rollback planning. You must verify successful up/down tests on a production-like environment, ensuring schema changes can roll back safely without disrupting table access.

What's the best way to optimize slow SQL queries using query plans and indexing?

Optimize slow queries by reviewing EXPLAIN ANALYZE output to confirm index usage rather than guessing. Adjust indexing strategies based on expected query plans, and verify slow query log cleanliness after changes to validate performance improvements in production.

How does row-level security work for Postgres tables?

Row-level security (RLS) for Postgres applies access control policies directly at the database layer. You implement RLS policies and validate both allow and deny paths using tests, ensuring users only access rows they are explicitly permitted to read or modify.

Can I test database backup restore procedures to meet a specific recovery time objective?

Yes, you verify backup restore procedures by completing a full restore rehearsal. This confirms your database recovery process meets your defined Recovery Time Objective (RTO), ensuring production data can be restored within required time constraints.

When do I need to use a read-only-by-default posture for database access?

You need a read-only-by-default posture when designing safe database schemas and access controls. This approach requires explicit approval for writes, defaulting toward safer access patterns that protect production data from unintended or unauthorized modifications.