用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/johnalbertini14-glitch/openclaw-skills --skill rails命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | Rails |
| slug | rails |
| version | 1.0.1 |
| description | Build reliable Rails apps avoiding ActiveRecord traps, N+1 queries, and callback pitfalls. |
| metadata | {"clawdbot":{"emoji":"🛤️","requires":{"bins":["rails"]},"os":["linux","darwin","win32"]}} |
| Topic | File |
|---|---|
| N+1, callbacks, validations, scopes | activerecord.md |
| Strong params, filters, render | controllers.md |
| Route conflicts, constraints | routing.md |
| Partials, helpers, caching, XSS | views.md |
| ActiveJob, Sidekiq, retries | jobs.md |
| Mass assignment, CSRF, SQL injection | security.md |
save returns false on failure — save! raises, check return or use bangupdate_all/delete_all skip callbacks and validations — data corruption if unawarefind_each for batches — Model.all.each loads entire table into memoryredirect_to doesn't halt execution — code after it runs, use and returndependent: :destroy missing — orphan records accumulate foreverdefault_scope pollutes all queries including joins — almost always wrongthrow :abort stops save but returns false, not exceptionincludes without references in where string — N+1 still happens||= memoization caches nil/false — use defined?(@var) ? @var : @var = computehas_many through: vs has_and_belongs_to_many — latter has no join model for attrsbefore_action — multiple inheritance makes flow unreadablerender doesn't stop action — code continues, duplicate render crashes