[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E7C9HG152AC4H4APZ38KNP":3,"skill-same:01M7E7C9HG152AC4H4APZ38KNP":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7E7C9HG152AC4H4APZ38KNP","database-schema-designer",null,"Design robust, scalable database schemas for SQL and NoSQL databases. Provides normalization guidelines, indexing strategies, migration patterns, constraint design, and performance optimization. Ensures data integrity, query performance, and maintainable data models.","irfanfaraaz\u002Fclaude-kit","irfanfaraaz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87533725?v=4","01M7E6ZGQPF7DTPAFQ4N695DBW","Syed Irfan Faraz","01M7E6ZGR6NERV5QMACPYC8GK2",0,"MIT","https:\u002F\u002Fgithub.com\u002Firfanfaraaz\u002Fclaude-kit\u002Fblob\u002Fmain\u002Fskills\u002Fdatabase-schema-designer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: database-schema-designer\ndescription: Design robust, scalable database schemas for SQL and NoSQL databases. Provides normalization guidelines, indexing strategies, migration patterns, constraint design, and performance optimization. Ensures data integrity, query performance, and maintainable data models.\nlicense: MIT\n---\n\n# Database Schema Designer\n\nDesign production-ready database schemas with best practices built-in.\n\n---\n\n## Quick Start\n\nJust describe your data model:\n\n```\ndesign a schema for an e-commerce platform with users, products, orders\n```\n\nYou'll get a complete SQL schema like:\n\n```sql\nCREATE TABLE users (\n  id BIGINT AUTO_INCREMENT PRIMARY KEY,\n  email VARCHAR(255) UNIQUE NOT NULL,\n  created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP\n);\n\nCREATE TABLE orders (\n  id BIGINT AUTO_INCREMENT PRIMARY KEY,\n  user_id BIGINT NOT NULL REFERENCES users(id),\n  total DECIMAL(10,2) NOT NULL,\n  INDEX idx_orders_user (user_id)\n);\n```\n\n**What to include in your request:**\n- Entities (users, products, orders)\n- Key relationships (users have orders, orders have items)\n- Scale hints (high-traffic, millions of records)\n- Database preference (SQL\u002FNoSQL) - defaults to SQL if not specified\n\n---\n\n## Triggers\n\n| Trigger | Example |\n|---------|---------|\n| `design schema` | \"design a schema for user authentication\" |\n| `database design` | \"database design for multi-tenant SaaS\" |\n| `create tables` | \"create tables for a blog system\" |\n| `schema for` | \"schema for inventory management\" |\n| `model data` | \"model data for real-time analytics\" |\n| `I need a database` | \"I need a database for tracking orders\" |\n| `design NoSQL` | \"design NoSQL schema for product catalog\" |\n\n---\n\n## Key Terms\n\n| Term | Definition |\n|------|------------|\n| **Normalization** | Organizing data to reduce redundancy (1NF → 2NF → 3NF) |\n| **3NF** | Third Normal Form - no transitive dependencies between columns |\n| **OLTP** | Online Transaction Processing - write-heavy, needs normalization |\n| **OLAP** | Online Analytical Processing - read-heavy, benefits from denormalization |\n| **Foreign Key (FK)** | Column that references another table's primary key |\n| **Index** | Data structure that speeds up queries (at cost of slower writes) |\n| **Access Pattern** | How your app reads\u002Fwrites data (queries, joins, filters) |\n| **Denormalization** | Intentionally duplicating data to speed up reads |\n\n---\n\n## Quick Reference\n\n| Task | Approach | Key Consideration |\n|------|----------|-------------------|\n| New schema | Normalize to 3NF first | Domain modeling over UI |\n| SQL vs NoSQL | Access patterns decide | Read\u002Fwrite ratio matters |\n| Primary keys | INT or UUID | UUID for distributed systems |\n| Foreign keys | Always constrain | ON DELETE strategy critical |\n| Indexes | FKs + WHERE columns | Column order matters |\n| Migrations | Always reversible | Backward compatible first |\n\n---\n\n## Process Overview\n\n```\nYour Data Requirements\n    |\n    v\n+-----------------------------------------------------+\n| Phase 1: ANALYSIS                                   |\n| * Identify entities and relationships               |\n| * Determine access patterns (read vs write heavy)   |\n| * Choose SQL or NoSQL based on requirements         |\n+-----------------------------------------------------+\n    |\n    v\n+-----------------------------------------------------+\n| Phase 2: DESIGN                                     |\n| * Normalize to 3NF (SQL) or embed\u002Freference (NoSQL) |\n| * Define primary keys and foreign keys              |\n| * Choose appropriate data types                     |\n| * Add constraints (UNIQUE, CHECK, NOT NULL)         |\n+-----------------------------------------------------+\n    |\n    v\n+-----------------------------------------------------+\n| Phase 3: OPTIMIZE                                   |\n| * Plan indexing strategy                            |\n| * Consider denormalization for read-heavy queries   |\n| * Add timestamps (created_at, updated_at)           |\n+-----------------------------------------------------+\n    |\n    v\n+-----------------------------------------------------+\n| Phase 4: MIGRATE                                    |\n| * Generate migration scripts (up + down)            |\n| * Ensure backward compatibility                     |\n| * Plan zero-downtime deployment                     |\n+-----------------------------------------------------+\n    |\n    v\nProduction-Ready Schema\n```\n\n---\n\n## Commands\n\n| Command | When to Use | Action |\n|---------|-------------|--------|\n| `design schema for {domain}` | Starting fresh | Full schema generation |\n| `normalize {table}` | Fixing existing table | Apply normalization rules |\n| `add indexes for {table}` | Performance issues | Generate index strategy |\n| `migration for {change}` | Schema evolution | Create reversible migration |\n| `review schema` | Code review | Audit existing schema |\n\n**Workflow:** Start with `design schema` → iterate with `normalize` → optimize with `add indexes` → evolve with `migration`\n\n---\n\n## Core Principles\n\n| Principle | WHY | Implementation |\n|-----------|-----|----------------|\n| Model the Domain | UI changes, domain doesn't | Entity names reflect business concepts |\n| Data Integrity First | Corruption is costly to fix | Constraints at database level |\n| Optimize for Access Pattern | Can't optimize for both | OLTP: normalized, OLAP: denormalized |\n| Plan for Scale | Retrofitting is painful | Index strategy + partitioning plan |\n\n---\n\n## Anti-Patterns\n\n| Avoid | Why | Instead |\n|-------|-----|---------|\n| VARCHAR(255) everywhere | Wastes storage, hides intent | Size appropriately per field |\n| FLOAT for money | Rounding errors | DECIMAL(10,2) |\n| Missing FK constraints | Orphaned data | Always define foreign keys |\n| No indexes on FKs | Slow JOINs | Index every foreign key |\n| Storing dates as strings | Can't compare\u002Fsort | DATE, TIMESTAMP types |\n| SELECT * in queries | Fetches unnecessary data | Explicit column lists |\n| Non-reversible migrations | Can't rollback | Always write DOWN migration |\n| Adding NOT NULL without default | Breaks existing rows | Add nullable, backfill, then constrain |\n\n---\n\n## Verification Checklist\n\nMoved to `references\u002Fverification-checklist.md`. Open it when the task needs this part.\n\n\n## Extension Points\n\n1. **Database-Specific Patterns:** Add MySQL vs PostgreSQL vs SQLite variations\n2. **Advanced Patterns:** Time-series, event sourcing, CQRS, multi-tenancy\n3. **ORM Integration:** TypeORM, Prisma, SQLAlchemy patterns\n4. **Monitoring:** Query performance tracking, slow query alerts\n","# Database Schema Designer\n\nDesign production-ready database schemas with best practices built-in.\n\n---\n\n## Quick Start\n\nJust describe your data model:\n\n```\ndesign a schema for an e-commerce platform with users, products, orders\n```\n\nYou'll get a complete SQL schema like:\n\n```sql\nCREATE TABLE users (\n  id BIGINT AUTO_INCREMENT PRIMARY KEY,\n  email VARCHAR(255) UNIQUE NOT NULL,\n  created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP\n);\n\nCREATE TABLE orders (\n  id BIGINT AUTO_INCREMENT PRIMARY KEY,\n  user_id BIGINT NOT NULL REFERENCES users(id),\n  total DECIMAL(10,2) NOT NULL,\n  INDEX idx_orders_user (user_id)\n);\n```\n\n**What to include in your request:**\n- Entities (users, products, orders)\n- Key relationships (users have orders, orders have items)\n- Scale hints (high-traffic, millions of records)\n- Database preference (SQL\u002FNoSQL) - defaults to SQL if not specified\n\n---\n\n## Triggers\n\n| Trigger | Example |\n|---------|---------|\n| `design schema` | \"design a schema for user authentication\" |\n| `database design` | \"database design for multi-tenant SaaS\" |\n| `create tables` | \"create tables for a blog system\" |\n| `schema for` | \"schema for inventory management\" |\n| `model data` | \"model data for real-time analytics\" |\n| `I need a database` | \"I need a database for tracking orders\" |\n| `design NoSQL` | \"design NoSQL schema for product catalog\" |\n\n---\n\n## Key Terms\n\n| Term | Definition |\n|------|------------|\n| **Normalization** | Organizing data to reduce redundancy (1NF → 2NF → 3NF) |\n| **3NF** | Third Normal Form - no transitive dependencies between columns |\n| **OLTP** | Online Transaction Processing - write-heavy, needs normalization |\n| **OLAP** | Online Analytical Processing - read-heavy, benefits from denormalization |\n| **Foreign Key (FK)** | Column that references another table's primary key |\n| **Index** | Data structure that speeds up queries (at cost of slower writes) |\n| **Access Pattern** | How your app reads\u002Fwrites data (queries, joins, filters) |\n| **Denormalization** | Intentionally duplicating data to speed up reads |\n\n---\n\n## Quick Reference\n\n| Task | Approach | Key Consideration |\n|------|----------|-------------------|\n| New schema | Normalize to 3NF first | Domain modeling over UI |\n| SQL vs NoSQL | Access patterns decide | Read\u002Fwrite ratio matters |\n| Primary keys | INT or UUID | UUID for distributed systems |\n| Foreign keys | Always constrain | ON DELETE strategy critical |\n| Indexes | FKs + WHERE columns | Column order matters |\n| Migrations | Always reversible | Backward compatible first |\n\n---\n\n## Process Overview\n\n```\nYour Data Requirements\n    |\n    v\n+-----------------------------------------------------+\n| Phase 1: ANALYSIS                                   |\n| * Identify entities and relationships               |\n| * Determine access patterns (read vs write heavy)   |\n| * Choose SQL or NoSQL based on requirements         |\n+-----------------------------------------------------+\n    |\n    v\n+-----------------------------------------------------+\n| Phase 2: DESIGN                                     |\n| * Normalize to 3NF (SQL) or embed\u002Freference (NoSQL) |\n| * Define primary keys and foreign keys              |\n| * Choose appropriate data types                     |\n| * Add constraints (UNIQUE, CHECK, NOT NULL)         |\n+-----------------------------------------------------+\n    |\n    v\n+-----------------------------------------------------+\n| Phase 3: OPTIMIZE                                   |\n| * Plan indexing strategy                            |\n| * Consider denormalization for read-heavy queries   |\n| * Add timestamps (created_at, updated_at)           |\n+-----------------------------------------------------+\n    |\n    v\n+-----------------------------------------------------+\n| Phase 4: MIGRATE                                    |\n| * Generate migration scripts (up + down)            |\n| * Ensure backward compatibility                     |\n| * Plan zero-downtime deployment                     |\n+-----------------------------------------------------+\n    |\n    v\nProduction-Ready Schema\n```\n\n---\n\n## Commands\n\n| Command | When to Use | Action |\n|---------|-------------|--------|\n| `design schema for {domain}` | Starting fresh | Full schema generation |\n| `normalize {table}` | Fixing existing table | Apply normalization rules |\n| `add indexes for {table}` | Performance issues | Generate index strategy |\n| `migration for {change}` | Schema evolution | Create reversible migration |\n| `review schema` | Code review | Audit existing schema |\n\n**Workflow:** Start with `design schema` → iterate with `normalize` → optimize with `add indexes` → evolve with `migration`\n\n---\n\n## Core Principles\n\n| Principle | WHY | Implementation |\n|-----------|-----|----------------|\n| Model the Domain | UI changes, domain doesn't | Entity names reflect business concepts |\n| Data Integrity First | Corruption is costly to fix | Constraints at database level |\n| Optimize for Access Pattern | Can't optimize for both | OLTP: normalized, OLAP: denormalized |\n| Plan for Scale | Retrofitting is painful | Index strategy + partitioning plan |\n\n---\n\n## Anti-Patterns\n\n| Avoid | Why | Instead |\n|-------|-----|---------|\n| VARCHAR(255) everywhere | Wastes storage, hides intent | Size appropriately per field |\n| FLOAT for money | Rounding errors | DECIMAL(10,2) |\n| Missing FK constraints | Orphaned data | Always define foreign keys |\n| No indexes on FKs | Slow JOINs | Index every foreign key |\n| Storing dates as strings | Can't compare\u002Fsort | DATE, TIMESTAMP types |\n| SELECT * in queries | Fetches unnecessary data | Explicit column lists |\n| Non-reversible migrations | Can't rollback | Always write DOWN migration |\n| Adding NOT NULL without default | Breaks existing rows | Add nullable, backfill, then constrain |\n\n---\n\n## Verification Checklist\n\nMoved to `references\u002Fverification-checklist.md`. Open it when the task needs this part.\n\n\n## Extension Points\n\n1. **Database-Specific Patterns:** Add MySQL vs PostgreSQL vs SQLite variations\n2. **Advanced Patterns:** Time-series, event sourcing, CQRS, multi-tenancy\n3. **ORM Integration:** TypeORM, Prisma, SQLAlchemy patterns\n4. **Monitoring:** Query performance tracking, slow query alerts\n",{"name":5,"license":15,"description":7},"main","3ae3bc0cf4ff6299a28a9721fecddc617cf23713","skills\u002Fdatabase-schema-designer","https:\u002F\u002Fgithub.com\u002Firfanfaraaz\u002Fclaude-kit","https:\u002F\u002Fgithub.com\u002Firfanfaraaz","irfanfaraaz.in","AI-native Software Engineer","2026-10-20 19:39:08",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add irfanfaraaz\u002Fclaude-kit --skill database-schema-designer",{"tool":38,"command":39},"bunx","bunx skills add irfanfaraaz\u002Fclaude-kit --skill database-schema-designer",{"tool":41,"command":42},"pnpm","pnpm dlx skills add irfanfaraaz\u002Fclaude-kit --skill database-schema-designer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Firfanfaraaz\u002Fclaude-kit\u002Fblob\u002Fmain\u002Fskills\u002Fdatabase-schema-designer\u002FSKILL.md",true,[46,52,58],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"assets\u002Ftemplates\u002Fmigration-template.sql","ASSET","资产文件",1922,"https:\u002F\u002Fgithub.com\u002Firfanfaraaz\u002Fclaude-kit\u002Fblob\u002Fmain\u002Fskills\u002Fdatabase-schema-designer\u002Fassets\u002Ftemplates\u002Fmigration-template.sql",{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fschema-design-checklist.md","REFERENCE","参考文档",3384,"https:\u002F\u002Fgithub.com\u002Firfanfaraaz\u002Fclaude-kit\u002Fblob\u002Fmain\u002Fskills\u002Fdatabase-schema-designer\u002Freferences\u002Fschema-design-checklist.md",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fverification-checklist.md",11993,"https:\u002F\u002Fgithub.com\u002Firfanfaraaz\u002Fclaude-kit\u002Fblob\u002Fmain\u002Fskills\u002Fdatabase-schema-designer\u002Freferences\u002Fverification-checklist.md",[63,72,80,88,95,102],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":67,"licenseFileUrl":68,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7E86STEC48SA7NJPTKS52X6","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Firfanfaraaz\u002Fclaude-kit\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Firfanfaraaz\u002Fclaude-kit\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":67,"licenseFileUrl":76,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7E86KJEDAHV8X8TAZVJGH20","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002Firfanfaraaz\u002Fclaude-kit\u002Fblob\u002Fmain\u002Fskills\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Firfanfaraaz\u002Fclaude-kit\u002Fblob\u002Fmain\u002Fskills\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":84,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7E85NJYTPHAFDTEEDX2YSHD","video-use","Edit any video by conversation. Transcribe, cut, color grade, generate overlay animations, burn subtitles — for talking heads, montages, tutorials, travel, interviews. No presets, no menus. Ask questions, confirm the plan, execute, iterate, persist. Production-correctness rules are hard; everything else is artistic freedom.","https:\u002F\u002Fgithub.com\u002Firfanfaraaz\u002Fclaude-kit\u002Fblob\u002Fmain\u002Fskills\u002Fvideo-use\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Firfanfaraaz\u002Fclaude-kit\u002Fblob\u002Fmain\u002Fskills\u002Fvideo-use\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7E85B7TYMKMW2CTH86PENS7","vercel-react-native-skills","React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.","https:\u002F\u002Fgithub.com\u002Firfanfaraaz\u002Fclaude-kit\u002Fblob\u002Fmain\u002Fskills\u002Fvercel-react-native-skills\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M7E847V548VFTH4TK2VQWAMC","threejs","Build 3D web apps with Three.js (WebGL\u002FWebGPU). Use for 3D scenes, animations, custom shaders, PBR materials, VR\u002FXR experiences, games, data visualizations, product configurators.","https:\u002F\u002Fgithub.com\u002Firfanfaraaz\u002Fclaude-kit\u002Fblob\u002Fmain\u002Fskills\u002Fthreejs\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":106,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M7E83TBAQ8K371G1NS0NFXQA","threads-carousel","Convert text posts into visual carousel images or presentations for Threads, Instagram, LinkedIn, TikTok, YouTube. 12 slide types (incl. image\u002Femoji\u002Fnumber), 6 format presets (incl. 1920×1080 wide), 8 background styles (incl. ruled paper), 3-axis style system (font × color × purpose), highlighted keywords with optional italic-box style. Generates PNG or single-file PDF via Next.js preview + browser export. RU\u002FEN toolbar. Triggers: threads carousel, instagram carousel, linkedin carousel, tiktok carousel, карусель, slides, carousel images, presentation deck, presentation pdf.","https:\u002F\u002Fgithub.com\u002Firfanfaraaz\u002Fclaude-kit\u002Fblob\u002Fmain\u002Fskills\u002Fthreads-carousel\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Firfanfaraaz\u002Fclaude-kit\u002Fblob\u002Fmain\u002Fskills\u002Fthreads-carousel\u002FSKILL.md",[],[]]