Token导航 LogoToken导航

Agent Skill · 研究检索

rails-upgrade-assistant(Rails upgrade 助手)

rails-upgrade-assistant 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

rails-upgrade-assistant 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 52,782。

总安装 546周安装 23GitHub Stars 81下载 191核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:rails-upgrade-assistant(Rails upgrade 助手)
来源仓库:https://github.com/maquina-app/rails-upgrade-skill
仓库路径:skills/rails-upgrade-assistant
安装命令:
npx skills add https://github.com/maquina-app/rails-upgrade-skill --skill rails-upgrade-assistant
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/maquina-app/rails-upgrade-skill --skill rails-upgrade-assistant

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

rails-upgrade-assistant 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。

安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。它属于研究检索类工具,适用于多种宿主环境。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/rails-upgrade-assistant

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/maquina-app/rails-upgrade-skill --skill rails-…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

rails-upgrade-assistant 怎么安装?

在终端执行 npx skills add https://github.com/maquina-app/rails-upgrade-skill --skill rails-upgrade-as…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

rails-upgrade-assistant 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

rails-upgrade-assistant 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

rails-upgrade-assistant 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

rails-upgrade-assistant 用的人多吗?

公开数据是累计安装 546 次,近一周安装 23 次,下载 191 次,GitHub 81 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

rails-upgrade-assistant 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
rails-upgrade-assistant

Rails upgrade 助手 · 本页

54681调用外部服务未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

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):

  1. Explain the sequential requirement
  2. Break it into individual hops
  3. Generate separate reports for each hop
  4. Recommend completing each hop fully before moving to next

Available Resources

Core Documentation

  • docs/README.md - Human-readable overview
  • docs/QUICK-REFERENCE.md - Command cheat sheet
  • docs/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.1
  • version-guides/upgrade-7.1-to-7.2.md - Rails 7.1 → 7.2
  • version-guides/upgrade-7.2-to-8.0.md - Rails 7.2 → 8.0
  • version-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 reports
  • workflows/detection-script-workflow.md - How to generate detection scripts
  • workflows/app-update-preview-workflow.md - How to generate app:update previews

Examples (Load when user needs clarification)

  • examples/simple-upgrade.md - Single-hop upgrade example
  • examples/multi-hop-upgrade.md - Multi-hop upgrade example
  • examples/detection-script-only.md - Detection script only request
  • examples/preview-only.md - Preview only request

Reference Materials

  • reference/breaking-changes-by-version.md - Quick lookup
  • reference/multi-hop-strategy.md - Multi-version planning
  • reference/deprecations-timeline.md - Deprecation tracking
  • reference/testing-checklist.md - Comprehensive testing
  • reference/pattern-file-guide.md - How to use pattern files
  • reference/quality-checklist.md - Pre-delivery verification
  • reference/troubleshooting.md - Common issues and solutions

Detection Script Resources

  • detection-scripts/patterns/rails-72-patterns.yml - Rails 7.2 patterns
  • detection-scripts/patterns/rails-80-patterns.yml - Rails 8.0 patterns
  • detection-scripts/patterns/rails-81-patterns.yml - Rails 8.1 patterns
  • detection-scripts/templates/detection-script-template.sh - Bash template

Report Templates

  • templates/upgrade-report-template.md - Main upgrade report structure
  • templates/app-update-preview-template.md - Configuration preview

MCP Tools Integration

Required: Rails MCP Server

Tools:

  • railsMcpServer:project_info - Get Rails version, structure, API mode
  • railsMcpServer:get_file - Read file contents
  • railsMcpServer:list_files - Browse directories
  • railsMcpServer:analyze_environment_config - Config files

Optional: Neovim MCP Server

Tools:

  • nvimMcpServer:get_project_buffers - List open files
  • nvimMcpServer: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 reports
  • workflows/app-update-preview-workflow.md - Before creating previews

Load When User Needs Examples:

  • examples/simple-upgrade.md - User asks about simple upgrades
  • examples/multi-hop-upgrade.md - User asks about complex upgrades
  • examples/detection-script-only.md - User wants only detection script
  • examples/preview-only.md - User wants only preview

Load When You Need Reference:

  • reference/pattern-file-guide.md - When processing YAML pattern files
  • reference/quality-checklist.md - Before delivering any output
  • reference/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):

  1. Load: workflows/detection-script-workflow.md
  2. Generate detection script
  3. Deliver script with instructions to run it
  4. Wait for user to share findings.txt

Action - Phase 2 (Generate Reports):

  1. Parse findings.txt
  2. Load: workflows/upgrade-report-workflow.md
  3. Load: workflows/app-update-preview-workflow.md
  4. Generate Comprehensive Upgrade Report (using actual findings)
  5. Generate app:update Preview (using actual findings)
  6. Reference: examples/simple-upgrade.md for structure

Pattern 2: Multi-Hop Request

User says: "Help me upgrade from Rails 7.0 to 8.1"

Action:

  1. Explain sequential requirement
  2. Reference: examples/multi-hop-upgrade.md
  3. Follow Pattern 1 for FIRST hop (7.0 → 7.1)
  4. After first hop complete, repeat for next hops

Pattern 3: Detection Script Only

User says: "Create a detection script for Rails 8.0"

Action:

  1. Load: workflows/detection-script-workflow.md
  2. Generate detection script only
  3. Reference: examples/detection-script-only.md
  4. 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:

  1. Parse findings.txt
  2. Load: workflows/upgrade-report-workflow.md
  3. Load: workflows/app-update-preview-workflow.md
  4. Generate Comprehensive Upgrade Report
  5. Generate app:update Preview

Pattern 5: Preview Only (After Findings Shared)

User says: "Show me the app:update changes for Rails 7.2"

Action:

  1. Check if user has shared findings
  2. If yes: Load workflows/app-update-preview-workflow.md and generate
  3. If no: Ask user to run detection script first
  4. Reference: examples/preview-only.md

Key Principles

  1. Always Generate Detection Script First (unless user only wants reports and has findings)
  2. Wait for User to Run Script (reports depend on actual findings)
  3. Always Use Actual Findings (no generic examples in reports)
  4. Always Flag Custom Code (with ⚠️ warnings based on detected issues)
  5. Always Use Templates (for consistency)
  6. Always Check Quality (before delivery)
  7. Load Workflows as Needed (don't hold everything in memory)
  8. Sequential Process is Critical (script → findings → reports)

File Organization

This skill follows a modular structure:

rails-upgrade-assistant/
├── SKILL.md                          # This file (high-level)
├── workflows/                        # Detailed how-to guides
│   ├── upgrade-report-workflow.md
│   ├── detection-script-workflow.md
│   └── app-update-preview-workflow.md
├── examples/                         # Usage examples
│   ├── simple-upgrade.md
│   ├── multi-hop-upgrade.md
│   ├── detection-script-only.md
│   └── preview-only.md
├── reference/                        # Reference documentation
│   ├── pattern-file-guide.md
│   ├── quality-checklist.md
│   └── troubleshooting.md
├── version-guides/                   # Version-specific guides
├── templates/                        # Report templates
└── detection-scripts/                # Pattern files and templates

When to Load What:

  • Load workflows/ when generating deliverables
  • Load examples/ when user needs clarification
  • Load reference/ when you need detailed guidance

Success Criteria

A successful upgrade assistance session:

✅ Generated detection script (Phase 1) ✅ User ran script and shared findings.txt (Phase 2) ✅ Generated Comprehensive Upgrade Report using actual findings (Phase 3) ✅ Generated app:update Preview using actual findings (Phase 3) ✅ Used user's actual code from findings (not generic examples) ✅ Flagged all custom code with ⚠️ warnings based on detected issues ✅ Provided clear next steps ✅ Offered interactive help (if Neovim available)

Verification: See reference/quality-checklist.md


Version: 1.0 Last Updated: November 2, 2025 Skill Type: Modular with external workflows and examples

平台分布

Codex

35.75%
按下载量换算68

Claude

30.62%
按下载量换算58

Cursor

20.41%
按下载量换算39

Gemini CLI

9.44%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills