Use when shipping a Rails engine gem — FIRST run full test suite (`bundle exec rspec`) and fix ALL failures, verify gemspec metadata and dependencies match tested Rails/Ruby versions, dry-run: `gem build *.gemspec && gem push --dry-run *.gem` and verify contents, generate CHANGELOG.md organized by category (added/changed/deprecated/removed/fixed), produce step-by-step upgrade notes with before/after code, set semantic version in `lib/[engine_name]/version.rb`, document deprecations with migration paths, load release assets conditionally and state which one informed the output. Trigger words: version bump, changelog, deprecation, gemspec, upgrade, release, publish gem, ship gem.
التثبيت
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Use when shipping a Rails engine gem — FIRST run full test suite (`bundle exec rspec`) and fix ALL failures, verify gemspec metadata and dependencies match tested Rails/Ruby versions, dry-run: `gem build *.gemspec && gem push --dry-run *.gem` and verify contents, generate CHANGELOG.md organized by category (added/changed/deprecated/removed/fixed), produce step-by-step upgrade notes with before/after code, set semantic version in `lib/[engine_name]/version.rb`, document deprecations with migration paths, load release assets conditionally and state which one informed the output. Trigger words: version bump, changelog, deprecation, gemspec, upgrade, release, publish gem, ship gem.
metadata
{"version":"1.0.0","user-invocable":"true"}
Release Engine
Use this skill when the task is to ship a Rails engine as a gem or prepare a new version.
Quick Reference
Bump
When to use
Action
Patch
Bug fixes and internal changes without public behavior breakage
Update version constant, document under Fixed
Minor
Backward-compatible features and new extension points
Update version constant, document under Added/Changed
Major
Breaking changes to API, setup, routes, migrations, config, or supported framework versions
Update version constant, document under Changed/Deprecated; write explicit upgrade notes
HARD-GATE
DO NOT release without updating CHANGELOG and version file.
Core Process
Confirm scope and compatibility impact — is this patch, minor, or major?
Run full test suite: bundle exec rspec. Fix all failures before proceeding.
Set the version bump — update the version constant once: module MyEngine; VERSION = "1.2.0"; end in lib/my_engine/version.rb.
Update changelog and upgrade notes.
Verify gemspec metadata and dependencies match tested Rails/Ruby versions.
Asset usage — state which of assets/release_checklist.md, assets/release_notes_template.md, assets/examples.md was loaded, or explicitly say none was needed.
GitHub release notes — concise draft with summary, highlights, upgrade notes, and verification status.
Release blockers — open issues, or explicitly "No blockers".
Integration
Skill
When to chain
document-engine
Updating README, setup instructions, or API docs for the release
upgrade-engine
Verifying Rails/Ruby version support or deprecation impact
test-engine
Ensuring tests pass before release and match documented behavior