CtrlK
BlogDocsLog inGet started
Tessl Logo

igmarin/rails-agent-skills

Curated library of 39 AI agent skills for Ruby on Rails development. Organized by category: planning, testing, code-quality, ddd, engines, infrastructure, api, patterns, context, orchestration, and workflows. Includes 5 callable workflow skills (rails-tdd-loop, rails-review-flow, rails-setup-flow, rails-quality-flow, rails-engines-flow) for complete development cycles. Covers code review, architecture, security, testing (RSpec), engines, service objects, DDD patterns, and TDD automation.

95

1.20x
Quality

98%

Does it follow best practices?

Impact

95%

1.20x

Average score across 35 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

SKILL.mdskills/engines/rails-engine-release/

name:
rails-engine-release
license:
MIT
description:
Use when preparing a Rails engine gem release. Generates CHANGELOG.md entries, produces step-by-step upgrade notes for host apps, sets semantic version constants, verifies gemspec metadata, confirms test suite passes, and sequences gem build and publish commands. Trigger words: version bump, changelog, deprecation, gemspec, upgrade, migration guide, release, publish gem, ship gem, verify gemspec, test suite.

Rails Engine Release

Use this skill when the task is to ship a Rails engine as a gem or prepare a new version.

Release work should make upgrades predictable for host applications.

HARD-GATE

DO NOT release without updating CHANGELOG and version file.

Versioning & Quick Reference

BumpWhen to useAction
PatchBug fixes and internal changes without public behavior breakageUpdate version constant, document under Fixed
MinorBackward-compatible features and new extension pointsUpdate version constant, document under Added/Changed
MajorBreaking changes to API, setup, routes, migrations, config, or supported framework versionsUpdate version constant, document under Changed/Deprecated; write explicit upgrade notes

If the engine requires host changes during upgrade, document them explicitly even if the version bump is minor.

Release Order

  1. Confirm scope and compatibility impact — is this patch, minor, or major?
  2. Run full test suite: bundle exec rspec. Fix all failures before proceeding.
  3. Set the version bump — update the version constant once: module MyEngine; VERSION = "1.2.0"; end in lib/my_engine/version.rb.
  4. Update changelog and upgrade notes.
  5. Verify gemspec metadata and dependencies match tested Rails/Ruby versions.
  6. Dry-run the gem build: gem build *.gemspec && gem push --dry-run *.gem. Verify contents.
  7. Confirm installation docs and README match the release — update if needed.
  8. Publish: gem push *.gem.

Changelog Guidelines

  • Document user-visible changes, not commits; group by Added/Changed/Fixed/Deprecated.
  • For deprecations, document removal plan and replacement; keep deprecated code for at least one minor cycle.

Examples

## [1.2.0] - 2024-03-15
### Added
- `widget_count` config option to limit dashboard widgets (default: 10).
### Changed
- Minimum Rails version is now 7.0.

See assets/examples.md for a full changelog entry and upgrade note template.

Extended Resources (Progressive Disclosure)

Load these files only when their specific content is needed:

Output Style

When asked to prepare a release, produce a release summary ready for team lead review, with code blocks for all file changes. It MUST include:

  1. Version bump recommendation — New version (patch/minor/major) with explicit reasoning
  2. Version constant — Updated lib/<engine>/version.rb with the new VERSION = "x.y.z"
  3. CHANGELOG entries — User-facing changes under Added/Changed/Fixed/Deprecated headers
  4. Upgrade notes — Steps host apps must take (config changes, migration steps, dependency updates)
  5. Gemspec verification — Confirm metadata, files, and dependencies match tested Rails/Ruby versions
  6. Test suite status — Confirm bundle exec rspec passes before proceeding to build
  7. Release blockers — Open issues preventing release, or explicitly state "No blockers"

Integration

SkillWhen to chain
rails-engine-docsWhen updating README, setup instructions, or API docs for the release
rails-engine-compatibilityWhen verifying Rails/Ruby version support or deprecation impact
rails-engine-testingWhen ensuring tests pass before release and match documented behavior

skills

README.md

tile.json