sm-engine-migration
CommunityMigration conventions for Source Monitor engine.
Authordchuk
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Ensures consistent, safe, and portable database migrations for the Source Monitor Rails engine by standardizing table prefixes, naming conventions, data typing, and constraint strategies across all migrations.
Core Features & Use Cases
- Establishes engine table prefixing (default: sourcemon_) and STI-compatible naming across all migrations.
- Defines consistent JSONB defaults, nullability, and index/constraint strategies to improve reliability and rollback safety.
- Provides guidance for reversible migrations, backfills, and data migration patterns to preserve data integrity during upgrades.
- Serves as a centralized reference for host app migrations to maintain compatibility with engine upgrades.
Quick Start
Apply these conventions to all new migrations generated for the Source Monitor engine to ensure consistency and maintainability.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: sm-engine-migration Download link: https://github.com/dchuk/source_monitor/archive/main.zip#sm-engine-migration Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.