tkm:design-database

Designs and optimizes database schemas and queries for SQL and MongoDB.

Updated May 13, 2026
One-click install
npx skills add https://github.com/khapn-2933/agentic-coding-hands-on --skill tkm-design-database
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tkm:design-database
Source: https://github.com/khapn-2933/agentic-coding-hands-on/tree/main/.claude/skills/design-database
Command: npx skills add https://github.com/khapn-2933/agentic-coding-hands-on --skill tkm-design-database

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pymongo, psycopg2, pandas, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides comprehensive tools for designing and optimizing database schemas and queries, streamlining the process of building robust, efficient database systems.

Core Features & Use Cases

  • Database Schema Design: Offers guidelines for designing transactional (OLTP) and analytical (OLAP) schemas, ensuring consistency, performance, and maintainability.
  • Query Writing: Provides references and best practices for writing efficient SQL and MongoDB queries.
  • Performance Optimization: Offers techniques for optimizing indexes, query performance, and database maintenance.
  • ETL Design: Offers guidelines for incremental data loading and ETL processes with watermarking and control tables.
  • Use Case: Imagine you are building a new e-commerce platform. Use this Skill to design your database schema, optimize your queries for fast search and reporting, and implement robust ETL processes for data loading.

Quick Start

Use the tkm:design-database skill to create a new schema for an e-commerce platform with tables for products, customers, orders, and payments.

Frequently Asked Questions about tkm:design-database

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

FAQPage Schema
How do I design database schemas for both OLTP and OLAP systems?

Database schema design for OLTP and OLAP systems requires structuring transactional schemas for consistency and analytical schemas for performance. This Skill provides guidelines to ensure both approaches maintain data integrity, performance, and scalability across your systems.

What's the best way to optimize SQL and MongoDB query performance?

Optimizing SQL and MongoDB query performance involves applying index optimization and database maintenance techniques. This Skill provides references and best practices to write efficient queries that ensure fast search and reporting for your applications.

How do I implement ETL processes with incremental data loading?

Implementing ETL processes with incremental data loading requires using watermarking and control tables to track data movement. This Skill offers guidelines to build robust ETL processes for reliable data extraction and loading.

Do I need to know SQL and MongoDB query languages to use this database design Skill?

Yes, you need knowledge of SQL and MongoDB query languages as well as database design principles. This Skill provides comprehensive guidelines for schema optimization but requires foundational database knowledge to apply effectively.

Can I use Python dependencies like pymongo and pandas for database schema design?

Yes, this Skill leverages pymongo, psycopg2, and pandas to support database schema design and optimization. These dependencies enable you to interact with MongoDB and PostgreSQL while processing data structures efficiently.

Why does database schema design matter for e-commerce platform scalability?

Database schema design matters for e-commerce scalability because it ensures your product, customer, order, and payment tables handle fast search and reporting. Proper schema optimization prevents performance bottlenecks as transaction volumes grow.