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/database

SKILL.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_at and updated_at timestamps to all tables
  • Use UUIDs for public-facing IDs, auto-increment for internal PKs
Query Optimization
  • Use EXPLAIN ANALYZE to 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/cargdev/codetyper.cli/database/badge)](https://verified-skill.com/skills/cargdev/codetyper.cli/database)

Something wrong with this skill or its page? Tell us.