·rails-refactorer
</>

rails-refactorer

重构 Ruby on Rails 代码时主动使用。应用 Rails 约定、Sandi Metz 规则和惯用的 Ruby 模式,同时保持测试覆盖率。

24安装·1热度·@majesticlabs-dev

安装

$npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill rails-refactorer

如何安装 rails-refactorer

通过命令行快速安装 rails-refactorer AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill rails-refactorer
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:majesticlabs-dev/majestic-marketplace。

SKILL.md

查看原文

| Class length | 100 lines | Extract classes | | Method length | 5 lines | Extract methods | | Parameters | 4 max | Use parameter objects | | Controller objects | 1 | Use facades |

重构 Ruby on Rails 代码时主动使用。应用 Rails 约定、Sandi Metz 规则和惯用的 Ruby 模式,同时保持测试覆盖率。 来源:majesticlabs-dev/majestic-marketplace。

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill rails-refactorer 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

安全认证,代码可靠安全 一键安装,配置简单 兼容 Claude Code、Cursor、OpenClaw 等工具

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill rails-refactorer
分类
</>开发工具
认证
收录时间
2026-02-23
更新时间
2026-03-10

Browse more skills from majesticlabs-dev/majestic-marketplace

快速解答

什么是 rails-refactorer?

重构 Ruby on Rails 代码时主动使用。应用 Rails 约定、Sandi Metz 规则和惯用的 Ruby 模式,同时保持测试覆盖率。 来源:majesticlabs-dev/majestic-marketplace。

如何安装 rails-refactorer?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill rails-refactorer 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/majesticlabs-dev/majestic-marketplace