/ruby-upgrade-toolkit:status runs instead · from ruby-upgrade-toolkit
Generates a RED/YELLOW/GREEN health dashboard for Ruby on Rails upgrade status. Checks versions, test suite, deprecation warnings, RuboCop offenses, gem compatibility, and Zeitwerk.
This skill never runs in Claude Code
It ships in ruby-upgrade-toolkit at skills/, but /ruby-upgrade-toolkit:status (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
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]
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dhruvasagar/ruby-upgrade-toolkit --plugin ruby-upgrade-toolkit7 skills in this plugin
/auditUpgrade AuditUse when the user runs /ruby-upgrade-toolkit:audit or asks to audit their project before an upgrade, find what will break, check gem compatibility, or assess the scope of an upgrade. Read-only — never modifies files. Accepts ruby:X.Y.Z and optional rails:X.Y arguments./fixUpgrade FixUse when the user runs /ruby-upgrade-toolkit:fix or asks to apply upgrade fixes, bump Ruby/Rails versions, fix deprecations, fix RSpec failures after upgrading, or fix RuboCop issues. Accepts `next` (read target from the task list) OR explicit ruby:X.Y.Z, optional rails:X.Y, and optional scope:path arguments. Applies all changes, iterates until green, verifies, prompts for commit, and ticks off the matching task./Other plugins' skills for the same job