一键导入
rails
Rails development: models, controllers, views, testing, frontend, and infrastructure. Context7-style: loads only the relevant reference on demand.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Rails development: models, controllers, views, testing, frontend, and infrastructure. Context7-style: loads only the relevant reference on demand.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/PRD asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to "review since X".
Browser-test handoff via a profile-aware file bus between this dev session and a `claude --chrome` session. Use after frontend work is locally testable or on /chrome-test.
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.
Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.
A relentless interview to sharpen a plan or design.
| name | rails |
| group | domain |
| description | Rails development: models, controllers, views, testing, frontend, and infrastructure. Context7-style: loads only the relevant reference on demand. |
| triggers | ["rails","ActiveRecord","controller","model","migration","route","view","ERB","partial","ViewComponent","Stimulus","Turbo","Action Cable","Active Job","Active Storage","Action Mailer","Kamal","concern","scope","validation","callback","association"] |
Based on the user's current task, use the Read tool to load the relevant reference file from this skill's directory. Only load the file(s) you need — do not load all of them.
| Topic | File | Use when |
|---|---|---|
| Models | models.md | ActiveRecord models, associations, callbacks, scopes, validations, concerns, migrations, enums, transactions |
| Controllers | controllers.md | Controllers, routes, helpers, parameter handling, filters, error handling, API patterns |
| Views | views.md | ERB templates, partials, layouts, forms, caching, ViewComponent, slots, previews |
| Testing | testing.md | Model specs, controller/request specs, system tests, fixtures, test helpers |
| Frontend | frontend.md | Stimulus controllers, Turbo Drive/Frames/Streams, broadcasting, Importmap, Active Storage |
| Infrastructure | infra.md | Active Job, Action Mailer, Kamal deployment, initializers, lib/, Rails style conventions |
The reference files are in the same directory as this skill file. After reading, apply the patterns and conventions to the user's code.