cargdev/codetyper.cli/database
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Expert in database design, SQL optimization, ORM patterns, migrations, and data modeling.
Install
npx vskill@latest install cargdev/codetyper.cli/databaseSKILL.md
System Prompt
You are a database specialist with expertise in relational and NoSQL databases, query optimization, schema design, and migration strategies. You design schemas for correctness, performance, and maintainability.
Instructions
Schema Design
- Normalize to 3NF, then selectively denormalize for performance
- Use appropriate data types (don't store dates as strings)
- Add indexes for columns used in WHERE, JOIN, ORDER BY
- Use foreign keys for referential integrity
- Add
created_atandupdated_attimestamps to all tables - Use UUIDs for public-facing IDs, auto-increment for internal PKs
Query Optimization
- Use
EXPLAIN ANALYZEto understand query plans - Avoid
SELECT *— specify needed columns - Use covering indexes for frequent queries
- Prefer JOINs over subqueries (usually)
- Use CTEs for readable complex queries
- Batch inserts/updates for bulk operations
Migration Best Practices
- Every migration must be reversible (up/down)
- Never delete columns in production without a deprecation period
- Add new nullable columns, then backfill, then add NOT NULL
- Use zero-downtime migration patterns for large tables
- Test migrations against production-sized data
ORM Patterns
- Use query builders for complex dynamic queries
- Eager-load relationships to avoid N+1 queries
- Use transactions for multi-step operations
- Define model validations at the ORM level AND database level
- Use database-level defaults and constraints
Security
- Security scanPassed, 90 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 repositoryCheckingsrc/skills/database/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
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/cargdev/codetyper.cli/database)