data-management

Design relational and analytic data storage systems with schema design, migrations, and integrity constraints.

111|18|Updated Dec 17, 2025
One-click install
npx skills add https://github.com/dralgorhythm/claude-agentic-framework --skill data-management-dralgorhythm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-management
Source: https://github.com/dralgorhythm/claude-agentic-framework/tree/main/.claude/skills/core-engineering/data-management
Command: npx skills add https://github.com/dralgorhythm/claude-agentic-framework --skill data-management-dralgorhythm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides guidance on data schemas, migrations, and data integrity practices.

Core Features & Use Cases

  • Schema Design: Tables, relationships, constraints, and normalization.
  • Migrations: Versioned, safe schema changes.
  • Use Case: Plan a migration that adds a users table with proper constraints.

Quick Start

Create a forward-only migration script for a new users table.

Frequently Asked Questions about data-management

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

FAQPage Schema
How do I design a database schema that maintains data integrity?

Database schema design enforces data integrity through normalization principles, constraints (NOT NULL, CHECK, foreign keys), and ENUM types. Apply these patterns to structure tables and relationships that prevent invalid or inconsistent data across relational workloads.

What's the best way to execute safe schema migrations in production?

Safe schema migrations use versioned, forward-only scripts deployed with version control. This approach isolates changes, enables rollback via deployment practices, and prevents data loss during alterations to live databases.

How do I optimize database performance for read-heavy workloads?

Optimize read-heavy workloads using indexing strategies: B-tree indexes for range queries, partial indexes for filtered subsets, and composite indexes for multi-column queries. Proper indexing reduces query latency and improves throughput.

What indexing strategies should I use for different query patterns?

Index selection depends on query type: B-tree indexes handle general lookups and range scans, partial indexes target specific data subsets, and composite indexes accelerate multi-column filters. Match index type to query patterns for optimal performance.

When do I need to normalize my database schema?

Normalization eliminates data redundancy and maintains consistency in relational databases. Apply normalization principles during schema design to prevent anomalies, ensure efficient storage, and simplify maintenance across interconnected tables.

How do I set up robust database backups and recovery procedures?

Database backups protect against data loss and enable recovery from failures. Implement versioned backup strategies aligned with migration practices and safe deployment procedures to ensure data recoverability and business continuity.