database-migration
Database Migration
Migration File Conventions
Every schema change must be captured in a versioned migration file. Follow these conventions:
- Timestamped naming: Use
YYYYMMDDHHMMSS_descriptive_name(e.g.,20240315143022_add_status_to_orders.sql). - Sequential ordering: Migrations run in order. Never insert a migration before one that has already been applied.
- One concern per file: Each migration handles a single logical change. Do not combine unrelated schema changes.
- Descriptive names: The filename should describe the change, not the ticket number. Use verbs like
add,remove,create,drop,rename,alter. - Idempotent when possible: Use
IF NOT EXISTS/IF EXISTSguards to make re-runs safe.
migrations/
20240301100000_create_users_table.sql
20240305120000_add_email_index_to_users.sql
20240310090000_create_orders_table.sql
20240315143022_add_status_to_orders.sql
More from claude-code-community-ireland/claude-code-resources
design-ui
This skill should be used when the user asks to "design a UI", "create a landing page", "build a dashboard", "generate a website design", "make a product page", or needs guidance on UI design patterns, accessibility standards, design tokens, or eliminating generic AI-generated design patterns (vibe-code).
12security-review
Security review checklist covering OWASP Top 10, authentication, authorization, input validation, secrets management, and common vulnerability patterns. Reference when reviewing code for security.
7design-patterns
Reference library of proven UI design patterns, component templates, and sector-specific conventions for high-quality design generation.
6architecture-decision-record
ADR format and methodology for documenting significant technical decisions with context, alternatives considered, and consequences. Use when making or documenting architectural decisions.
5pr-description
Pull request authoring standards — structured descriptions, linking issues, providing test evidence, and writing good summaries. Reference when creating or describing pull requests.
4refactoring-patterns
Safe refactoring techniques — extract method, rename, move, inline, and structural patterns. Includes code smell identification and transformation recipes. Use when refactoring code or improving structure.
4