data-management

Design data persistence solutions across relational, document, key-value, time-series, and graph databases.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/Jaydpatel01/.github --skill data-management-jaydpatel01
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-management
Source: https://github.com/Jaydpatel01/.github/tree/main/skills/data-management
Command: npx skills add https://github.com/Jaydpatel01/.github --skill data-management-jaydpatel01

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps design and manage data persistence in a way that is reliable, performant, and safe, addressing the critical need for well-handled data assets.

Core Features & Use Cases

  • Database Selection: Guidance on choosing between relational, document, key-value, time-series, and graph databases based on use case.
  • Data Modeling: Principles for normalization, denormalization, key strategies, and avoiding anti-patterns.
  • Indexing & Query Optimization: Strategies for efficient indexing, diagnosing missing indexes, and optimizing queries to prevent issues like N+1 problems.
  • Caching: Implementing various cache layers and invalidation strategies.
  • Migrations: Best practices for safe, backward-compatible database migrations.
  • Backup & Recovery: Implementing the 3-2-1 rule and defining RTO/RPO.
  • Data Privacy: Managing PII, encryption, and data masking.
  • Use Case: When designing a new application's database, use this Skill to select the most appropriate database type, define a normalized schema, and establish indexing strategies for optimal performance and reliability.

Quick Start

Use the data-management skill to design a relational database schema for an e-commerce application, focusing on normalization and defining primary and foreign keys.

Frequently Asked Questions about data-management

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

FAQPage Schema
How do I choose between relational and document databases for my application?

Choosing between relational and document databases depends on your use case, as this database selection guidance evaluates relational, document, key-value, time-series, and graph databases. It helps you match your specific data persistence patterns to the most appropriate database type.

What is the best way to design a relational database schema for an e-commerce application?

The best way to design a relational database schema is by applying normalization principles and defining primary and foreign keys. This data modeling approach ensures data reliability while preventing common structural anti-patterns in your e-commerce application.

How do I optimize database queries and fix N+1 problems?

To optimize database queries and fix N+1 problems, you need efficient indexing strategies and query optimization techniques. This guidance helps diagnose missing indexes and refactor queries to significantly improve overall database performance.

How do I perform safe and backward-compatible database migrations?

Safe and backward-compatible database migrations require strict adherence to best practices for schema design and migration safety. This ensures your data persistence layer remains reliable and performant throughout the migration process without downtime.

How do I implement the 3-2-1 backup rule and define RTO and RPO?

Implementing the 3-2-1 backup rule and defining RTO and RPO establishes a reliable recovery plan for your data assets. This backup and recovery guidance ensures your database persistence layer remains safe against data loss scenarios.

How should I manage PII and ensure data privacy compliance in my database?

To manage PII and ensure data privacy compliance, you should implement encryption and data masking within your database structures. This data privacy guidance keeps personal identifiable information safe across all persistence solutions.