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