database-best-practices
CommunityPrisma patterns for multi-tenant Shopify apps.
Authorsarojpunde
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides Prisma ORM best practices for Shopify apps, focusing on multi-tenant data isolation, query optimization, transactions, and safe migrations.
Core Features & Use Cases
- Multi-Tenant Isolation: Always filter by shopId to prevent data leaks.
- Query Optimization: Select only needed fields, use proper indexes, and batch operations.
- Migrations & Transactions: Safe migrations and transactional patterns for consistency.
Quick Start
Implement a shop-scoped Product model with indexed fields and an upsert pattern for new/updated products.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: database-best-practices Download link: https://github.com/sarojpunde/shopify-dev-toolkit-claude-plugins/archive/main.zip#database-best-practices Please download this .zip file, extract it, and install it in the .claude/skills/ directory.