database

Standardize DynamoDB single-table and PostgreSQL schema design practices.

1|2|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/michaelsvanbeek/personal-agent-skills --skill database-michaelsvanbeek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database
Source: https://github.com/michaelsvanbeek/personal-agent-skills/tree/main/skills/database
Command: npx skills add https://github.com/michaelsvanbeek/personal-agent-skills --skill database-michaelsvanbeek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Database design conventions for DynamoDB single-table design and SQL/PostgreSQL, providing standard patterns, best practices, and audit-ready templates.

Core Features & Use Cases

  • DynamoDB single-table design guidance, key design, and access pattern modeling.
  • PostgreSQL / SQL conventions, migrations, indexing, and connection pooling.
  • Auditing existing schemas and optimizing queries for performance and cost across both paradigms.

Quick Start

Create a consistent DynamoDB and SQL design for a new service by drafting a shared data model and migration plan for initial tables and indexes.

Frequently Asked Questions about database

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

FAQPage Schema
How do I model access patterns for DynamoDB single-table design?

DynamoDB single-table design requires modeling all access patterns upfront by structuring partition and sort keys to support query efficiency. This involves defining key conventions and GSI configurations to ensure every query pattern is covered without table scans.

What are the best practices for SQL schema design and migrations in PostgreSQL?

PostgreSQL schema design best practices include standardizing table naming, defining proper indexes, and writing structured migrations. Applying these conventions ensures schema changes are auditable, query performance is optimized, and connection pooling is configured correctly.

Does this database design guidance cover time-series patterns and soft-delete strategies?

Yes, the database design guidance covers time-series data patterns and soft-delete strategies for both DynamoDB and SQL. These patterns help manage growing datasets and preserve historical records without physical deletion while maintaining query performance.

How do I audit existing database schemas for performance and cost optimization?

Auditing existing database schemas involves reviewing table structures, index usage, and query patterns to identify performance bottlenecks. This process applies standardized conventions to optimize both DynamoDB and PostgreSQL schemas for cost efficiency and speed.

When should I not use DynamoDB single-table design for my application?

DynamoDB single-table design becomes less suitable when access patterns are highly unpredictable or rapidly changing, as it requires extensive upfront modeling. If your application needs complex joins or ad-hoc querying, SQL or PostgreSQL schemas offer better flexibility.