julianromli/opencode-template/database-design
Claude Code and agent skill by julianromli/opencode-template
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 julianromli/opencode-template/database-designSKILL.md
The same SKILL.md was published earlier as julianromli/opencode-template/database-design.
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, 95 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 repositoryCheckingskill/database-design/SKILL.md
Popularity
- 7-day trend score
- 0
Refreshed 28 Oct 2026, a month 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/julianromli/opencode-template/database-design)