rails-8
把 Rails 8.1 的常见做法、约定和最佳实践浓缩成一套操作手册,覆盖从生成应用到测试、重构、升级、文档和用 Kamal 部署的全栈工作流。有 Hotwire、Turbo、Stimulus、Propshaft、importmap、RSpec、OpenAPI 等生态要点,适合创建或维护遵循 Rails 约定的项目。特点是追求 idiomatic Rails 风格,让代码看起来像 Rails 核心开发者会写的一样。
▸ 展开 SKILL.md 英文原文
Playbook for building full-stack Ruby on Rails 8.1 applications "the Rails way" — vanilla Rails, Hotwire (Turbo + Stimulus), the Solid stack, Propshaft + importmap, RSpec testing, ecosystem gems, OpenAPI docs, AI features, observability, and Kamal 2 deployment. Use this skill whenever the user is creating, extending, debugging, refactoring, testing, upgrading, documenting, or deploying a Rails app — or mentions Ruby on Rails, a Gemfile containing rails, ERB templates, Active Record, migrations, Hotwire, Turbo, Stimulus, Action Mailer, Active Storage, Action Text, Action Cable, Solid Queue, Solid Cache, Kamal, Thruster, RSpec, FactoryBot, simple_form, Tailwind, OpenAPI, Swagger, rswag, ruby_llm, or `bin/rails` commands. Trigger it for indirect phrasings like "my Ruby web app", "add a background job", "make this page update live", "add login to my app", "document my API", or "add AI to my app" when the project is Rails. Also for "how should I structure this in Rails?" questions.
帮我安装这个 skill:https://raw.githubusercontent.com/fmanimashaun/claude-skills/dev/skills/rails-8/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/fmanimashaun/claude-skills/dev/skills/rails-8/SKILL.md"# Rails 8 Full-Stack Development — The Rails Way This skill encodes the officially recommended way to build Rails 8.1.x applications, distilled from the Rails Guides (v8.1.3) and the framework's own generated defaults. Follow it to produce code a Rails core contributor would recognize as idiomatic: the *omakase* menu, the one-person-framework, the majestic monolith. ## Operating principles 1. **Convention over configuration.** Before writing configuration, glue code, or a new abstraction, check whether Rails already has a convention for it. It almost always does. Naming alone (singular model `Order`, table `orders`, controller `OrdersController`, partial `_order.html.erb`) wires