From ruby-upgrade-toolkit
Generates RED/YELLOW/GREEN health report for Ruby/Rails upgrade status: detects versions, test suite, deprecation/Ruby warnings, RuboCop offenses, outdated gems, Zeitwerk.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ruby-upgrade-toolkit:statusThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate a health dashboard for the current state of the upgrade. Run this after each fix phase to confirm readiness before proceeding.
Generate a health dashboard for the current state of the upgrade. Run this after each fix phase to confirm readiness before proceeding.
This skill is a thin consumer of the canonical verification commands — load $CLAUDE_PLUGIN_ROOT/skills/rails-upgrade-guide/references/verification-suite.md once at the start and use its blocks for each step below.
Apply the "Load" section of
$CLAUDE_PLUGIN_ROOT/skills/rules/references/rules-engine.md.
If .ruby-upgrade-toolkit/rules.yml is absent, set RULES_LOADED = false
and skip the Custom gates section in Step 8 — the report is byte-identical
to pre-rules behavior.
If rules are loaded, collect the active verification-gate rules whose
when.phases includes the current project's state (use the engine's "Rule
resolution" section). These will be run and reported in Step 8.
ruby -v 2>/dev/null || echo "Ruby: unknown"
cat .ruby-version 2>/dev/null
grep "^ruby " Gemfile 2>/dev/null
bundle exec rails -v 2>/dev/null || echo "Rails: not present"
grep "load_defaults" config/application.rb 2>/dev/null || true
git branch --show-current 2>/dev/null
Use the "Test suite — full run" block from the verification suite reference.
Use the "Deprecation warnings" block (simple counter form) from the verification suite reference.
Use the "Ruby warnings" block from the verification suite reference.
Use the "RuboCop — offense count (JSON)" block from the verification suite reference.
Use the "Outdated gems signal" block from the verification suite reference.
Use the "Zeitwerk" block from the verification suite reference.
# Upgrade Status Report
Generated: [datetime]
Branch: [branch name]
## Versions
| | Current | Target |
|-|---------|--------|
| Ruby | [current] | [from .ruby-version or user context] |
| Rails | [current] | [from Gemfile or user context] |
| load_defaults | [value] | — |
## Test Suite
- Status: [PASSING / FAILING / NOT FOUND]
- [N] examples, [F] failures, [P] pending
## Warnings
- Deprecation warnings: [N]
- Ruby warnings: [N]
- RuboCop offenses: [N]
## Gem Health
- Outdated gems: [N]
## Zeitwerk (Rails only)
- [OK / N errors]
## Custom gates (include only if RULES_LOADED is true AND active verification-gate rules exist)
For each active verification-gate rule:
- Run the gate's `command`, capture exit code + last 40 lines.
- Exit 0 → `[rule-id] PASS`
- Non-zero + required → `[rule-id] FAIL (required) — see output below`, contributes to RED tier
- Non-zero + advisory → `[rule-id] ADVISORY (N issues, not blocking)`, does NOT affect tier
Render as:
## Overall Readiness: [RED / YELLOW / GREEN]
See "Readiness tiers" in `$CLAUDE_PLUGIN_ROOT/skills/rails-upgrade-guide/references/verification-suite.md` for the canonical tier definitions.
## Suggested Next Step
[Most actionable next step based on the report]
[Command to run]
npx claudepluginhub dhruvasagar/ruby-upgrade-toolkit --plugin ruby-upgrade-toolkitOrchestrates fully automated, phased Ruby and optional Rails upgrades to target versions via task lists, fix delegation, verification gating, and failure handling with continue/retry/abort options.
Analyzes Rails apps and generates upgrade reports from 2.3 to 8.1 with breaking changes, deprecations, and step-by-step migration guides. Use for upgrades, multi-hop plans, or version queries.
Analyzes Rails apps for upgrades: verifies structure via Gemfile and config files, extracts current version, fetches latest release, summarizes official guides and railsdiff.org file diffs.