moizibnyousaf/ai-agent-skills/database-design
Claude Code and agent skill by moizibnyousaf/ai-agent-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Database schema design, optimization, and migration patterns for PostgreSQL, MySQL, and NoSQL databases. Use for designing schemas, writing migrations, or optimizing queries.
Install
npx vskill@latest install moizibnyousaf/ai-agent-skills/database-designSKILL.md
Database Design
Schema Design Principles
Normalization Guidelines
Denormalization for Performance
Index Design
Common Index Patterns
Index Analysis
Migration Patterns
Safe Migration Template
Zero-Downtime Migrations
Query Optimization
EXPLAIN Analysis
Common Optimizations
Constraints & Data Integrity
Best Practices
- Use UUIDs for public-facing IDs, SERIAL/BIGSERIAL for internal
- Always add
created_atandupdated_attimestamps - Use soft deletes (
deleted_at) for important data - Design for eventual consistency in distributed systems
- Document schema decisions in migration files
- Test migrations on production-size data before deploying
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/database-design/SKILL.md
Popularity
- Repository npm downloads, 7 days
- 480
- 7-day trend score
- 15
Downloads are for the repository's npm package. Refreshed 18 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/moizibnyousaf/ai-agent-skills/database-design)