rails-upgrade-assistant
Analyzes Rails applications and generates comprehensive upgrade reports with breaking changes, deprecations, and step-by-step migration guides for Rails 7.0 through 8.1.1
Install / Use
npx skills add maquina-app/rails-upgrade-skillInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of rails-upgrade-assistant
rails-upgrade-assistant scores 76/100 on our quality scale, 3690th of 4,606 Development & Engineering skills we index.
Its SKILL.md is 14 KB long, well organised into 40 sections with 9 code examples: a thorough specification that gives an agent plenty to work with.
It has no GitHub stars yet, so there is no community track record; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 12 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 74/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-10-26. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
rails-upgrade-assistant compared with similar skills
All 4 of these similar skills score higher than rails-upgrade-assistant; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| rails-upgrade-assistant (this skill)by maquina-app | 76 | 0 | 12mo ago | SKILL.md |
| taste-skillby Leonxlnx | 100 | 102.9k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 66.3k | today | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 45.3k | 6d ago | CLAUDE.md |
| algorithmic-artby anthropics | 100 | 177.9k | 34d ago | SKILL.md |
Frequently asked questions
- How do I install rails-upgrade-assistant?
- Run
npx skills add maquina-app/rails-upgrade-skill. The install tabs above show the steps for each supported agent. - Which AI agents does rails-upgrade-assistant work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is rails-upgrade-assistant safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It declares no license and scores 74/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is rails-upgrade-assistant still maintained?
- The repository was last updated about 12 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHubname: rails-upgrade-assistant description: Analyzes Rails applications and generates comprehensive upgrade reports with breaking changes, deprecations, and step-by-step migration guides for Rails 7.0 through 8.1.1. Use when upgrading Rails applications, planning multi-hop upgrades, or querying version-specific changes.
Rails Upgrade Assistant Skill v1.0
Skill Identity
- Name: Rails Upgrade Assistant
- Version: 1.0
- Purpose: Intelligent Rails application upgrades from 7.0 through 8.1.1
- Based on: Official Rails CHANGELOGs from GitHub
- Upgrade Strategy: Sequential only (no version skipping)
Core Functionality
This skill helps users upgrade Rails applications through a sequential three-step process:
Step 1: Breaking Changes Detection Script
- Claude generates executable bash script tailored to the specific upgrade
- Script scans user's codebase for breaking changes
- Finds issues with file:line references
- Generates findings report (TXT file)
- Runs in < 30 seconds
- Lists affected files for Neovim integration
Step 2: User Runs Script & Shares Findings
- User executes the detection script in their project directory
- Script outputs
rails_{version}_upgrade_findings.txt - User shares findings report back with Claude
Step 3: Claude Generates Reports Based on Actual Findings
- Comprehensive Upgrade Report: Breaking changes analysis with OLD vs NEW code examples, custom code warnings with ⚠️ flags, step-by-step migration plan, testing checklist and rollback plan
- app:update Preview Report: Shows exact configuration file changes (OLD vs NEW), lists new files to be created, impact assessment (HIGH/MEDIUM/LOW), Neovim buffer list ready
User Benefits:
- ⏱️ Saves 2-3 hours per upgrade (automated detection)
- 🎯 90%+ accuracy in finding breaking changes
- 📋 Clear file:line references for every issue
- 🚀 Reports based on ACTUAL detected issues, not hypothetical
- 📊 50% faster upgrades overall
Trigger Patterns
Claude should activate this skill when user says:
Initial Upgrade Requests (Generate Detection Script):
- "Upgrade my Rails app to [version]"
- "Help me upgrade from Rails [x] to [y]"
- "What breaking changes are in Rails [version]?"
- "Plan my upgrade from [x] to [y]"
- "What Rails version am I using?"
- "Analyze my Rails app for upgrade"
- "Create a detection script for Rails [version]"
- "Generate a breaking changes script"
- "Find breaking changes in my code"
After Script Execution (Generate Reports):
- "Here's my findings.txt"
- "I ran the script, here are the results"
- "The detection script found [X] issues"
- "Can you analyze these findings?"
- User shares/uploads findings.txt file
Specific Report Requests (Only After Findings Shared):
- "Show me the app:update changes"
- "Preview configuration changes for Rails [version]"
- "Generate the upgrade report"
- "Create the comprehensive report"
CRITICAL: Sequential Upgrade Strategy
⚠️ Version Skipping is NOT Allowed
Rails upgrades MUST follow this exact sequence:
7.0.x → 7.1.x → 7.2.x → 8.0.x → 8.1.x
You CANNOT skip versions. Examples:
- ❌ 7.0 → 7.2 (skips 7.1)
- ❌ 7.0 → 8.0 (skips 7.1 and 7.2)
- ✅ 7.0 → 7.1 (correct)
- ✅ 7.1 → 7.2 (correct)
If user requests a multi-hop upgrade (e.g., 7.0 → 8.1):
- Explain the sequential requirement
- Break it into individual hops
- Generate separate reports for each hop
- Recommend completing each hop fully before moving to next
Available Resources
Core Documentation
docs/README.md- Human-readable overviewdocs/QUICK-REFERENCE.md- Command cheat sheetdocs/USAGE-GUIDE.md- Comprehensive how-to
Version-Specific Guides (Load as needed)
version-guides/upgrade-7.0-to-7.1.md- Rails 7.0 → 7.1version-guides/upgrade-7.1-to-7.2.md- Rails 7.1 → 7.2version-guides/upgrade-7.2-to-8.0.md- Rails 7.2 → 8.0version-guides/upgrade-8.0-to-8.1.md- Rails 8.0 → 8.1
Workflow Guides (Load when generating deliverables)
workflows/upgrade-report-workflow.md- How to generate upgrade reportsworkflows/detection-script-workflow.md- How to generate detection scriptsworkflows/app-update-preview-workflow.md- How to generate app:update previews
Examples (Load when user needs clarification)
examples/simple-upgrade.md- Single-hop upgrade exampleexamples/multi-hop-upgrade.md- Multi-hop upgrade exampleexamples/detection-script-only.md- Detection script only requestexamples/preview-only.md- Preview only request
Reference Materials
reference/breaking-changes-by-version.md- Quick lookupreference/multi-hop-strategy.md- Multi-version planningreference/deprecations-timeline.md- Deprecation trackingreference/testing-checklist.md- Comprehensive testingreference/pattern-file-guide.md- How to use pattern filesreference/quality-checklist.md- Pre-delivery verificationreference/troubleshooting.md- Common issues and solutions
Detection Script Resources
detection-scripts/patterns/rails-72-patterns.yml- Rails 7.2 patternsdetection-scripts/patterns/rails-80-patterns.yml- Rails 8.0 patternsdetection-scripts/patterns/rails-81-patterns.yml- Rails 8.1 patternsdetection-scripts/templates/detection-script-template.sh- Bash template
Report Templates
templates/upgrade-report-template.md- Main upgrade report structuretemplates/app-update-preview-template.md- Configuration preview
MCP Tools Integration
Required: Rails MCP Server
Tools:
railsMcpServer:project_info- Get Rails version, structure, API moderailsMcpServer:get_file- Read file contentsrailsMcpServer:list_files- Browse directoriesrailsMcpServer:analyze_environment_config- Config files
Optional: Neovim MCP Server
Tools:
nvimMcpServer:get_project_buffers- List open filesnvimMcpServer:update_buffer- Update file content
High-Level Workflow
When user requests an upgrade, follow this workflow:
Step 1: Detect Current Version
1. Call: railsMcpServer:project_info
2. Store: current_version, target_version, project_type, project_root
Step 2: Load Detection Script Resources
1. Read: detection-scripts/patterns/rails-{VERSION}-patterns.yml
2. Read: detection-scripts/templates/detection-script-template.sh
3. Read: workflows/detection-script-workflow.md (for generation instructions)
Step 3: Generate Detection Script
1. Follow workflow in detection-script-workflow.md
2. Generate version-specific bash script
3. Deliver script to user
4. Instruct user to run script and share findings.txt
Step 4: Wait for User to Run Script
User runs: ./detect_rails_{version}_breaking_changes.sh
Script outputs: rails_{version}_upgrade_findings.txt
User shares findings back with Claude
Step 5: Load Report Generation Resources
1. Read: templates/upgrade-report-template.md
2. Read: version-guides/upgrade-{FROM}-to-{TO}.md
3. Read: templates/app-update-preview-template.md
4. Read: workflows/upgrade-report-workflow.md
5. Read: workflows/app-update-preview-workflow.md
Step 6: Analyze User's Actual Findings
1. Parse the findings.txt file
2. Extract detected breaking changes and affected files
3. Read user's actual config files for context
4. Identify custom code patterns from findings
Step 7: Generate Reports Based on Findings
Deliverable #1: Comprehensive Upgrade Report
- Workflow: See
workflows/upgrade-report-workflow.md - Input: Actual findings from script + version guide data
- Output: Report with real code examples from user's project
Deliverable #2: app:update Preview
- Workflow: See
workflows/app-update-preview-workflow.md - Input: Actual config files + findings
- Output: Preview with real file paths and changes
Step 8: Present Reports
1. Present Comprehensive Upgrade Report first
2. Present app:update Preview Report second
3. Explain next steps
4. Offer interactive help with Neovim (if available)
When to Load Detailed Workflows
Load workflow files when you need detailed instructions:
Step 1 - Load Before Generating Detection Script:
workflows/detection-script-workflow.md- Before creating detection scripts
Step 2 - User Runs Script (No Claude action needed)
Step 3 - Load Before Generating Reports (After receiving findings):
workflows/upgrade-report-workflow.md- Before creating upgrade reportsworkflows/app-update-preview-workflow.md- Before creating previews
Load When User Needs Examples:
examples/simple-upgrade.md- User asks about simple upgradesexamples/multi-hop-upgrade.md- User asks about complex upgradesexamples/detection-script-only.md- User wants only detection scriptexamples/preview-only.md- User wants only preview
Load When You Need Reference:
reference/pattern-file-guide.md- When processing YAML pattern filesreference/quality-checklist.md- Before delivering any outputreference/troubleshooting.md- When encountering issues
Quality Checklist
Before delivering, verify:
For Detection Script:
- [ ] All {PLACEHOLDERS} replaced with actual values
- [ ] Patterns match target Rails version
- [ ] Script includes all breaking changes from pattern file
- [ ] File paths use user's actual project structure
- [ ] User instructions are clear
After User Runs Script (Before Generating Reports):
- [ ] Received and parsed findings.txt from user
- [ ] Identified all detected breaking changes
- [ ] Collected affected file paths
- [ ] Noted custom code warnings from findings
For Comprehensive Upgrade Report:
- [ ] All {PLACEHOLDERS} replaced with actual values
- [ ] Used ACTUAL findings from script (not generic examples)
- [ ] Breaking changes section includes real file:line references
- [ ] Custom code warnings based on actual detected issues
- [ ] Code examples use user's actual code from affected files
- [ ] Next steps clearly outlined
For app:update Preview:
- [ ] All {PLACEHOLDERS} replaced with actual values
- [ ] File list matches user's actual config files
- [ ] Diffs based on real current config vs target version
- [ ] Neovim buffer list includes only affected files
- [ ] Next steps clearly outlined
Detailed Checklist: See reference/quality-checklist.md
Common Request Patterns
Pattern 1: Full Upgrade Request
User says: "Upgrade my Rails app to 8.1"
Action - Phase 1 (Generate Script):
- Load:
workflows/detection-script-workflow.md - Generate detection script
- Deliver script with instructions to run it
- Wait for user to share findings.txt
Action - Phase 2 (Generate Reports):
- Parse findings.txt
- Load:
workflows/upgrade-report-workflow.md - Load:
workflows/app-update-preview-workflow.md - Generate Comprehensive Upgrade Report (using actual findings)
- Generate app:update Preview (using actual findings)
- Reference:
examples/simple-upgrade.mdfor structure
Pattern 2: Multi-Hop Request
User says: "Help me upgrade from Rails 7.0 to 8.1"
Action:
- Explain sequential requirement
- Reference:
examples/multi-hop-upgrade.md - Follow Pattern 1 for FIRST hop (7.0 → 7.1)
- After first hop complete, repeat for next hops
Pattern 3: Detection Script Only
User says: "Create a detection script for Rails 8.0"
Action:
- Load:
workflows/detection-script-workflow.md - Generate detection script only
- Reference:
examples/detection-script-only.md - Do NOT generate reports yet (wait for findings)
Pattern 4: User Returns with Findings
User says: "Here's my findings.txt" or shares script output
Action:
- Parse findings.txt
- Load:
workflows/upgrade-report-workflow.md - Load:
workflows/app-update-preview-workflow.md - Generate Comprehensive Upgrade Report
- Generate app:update Preview
Pattern
Truncated for display — read the full file on GitHub.
Related Skills
taste-skill
102.9kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
ai-job-search
66.3kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
45.3kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
