Rails
Build reliable Rails apps avoiding ActiveRecord traps, N+1 queries, and callback pitfalls.
от clawic★ 23 звезды на GitHub
Установить Rails в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Quick Reference
| 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 |
Critical Rules
savereturns false on failure —save!raises, check return or use bangupdate_all/delete_allskip callbacks and validations — data corruption if unawarefind_eachfor batches —Model.all.eachloads entire table into memoryredirect_todoesn't halt execution — code after it runs, useand returndependent: :destroymissing — orphan records accumulate foreverdefault_scopepollutes all queries including joins — almost always wrong- Callbacks chain silently —
throw :abortstops save but returns false, not exception includeswithoutreferencesinwherestring — N+1 still happens||=memoization caches nil/false — usedefined?(@var) ? @var : @var = computehas_many through:vshas_and_belongs_to_many— latter has no join model for attrs- Nested
before_action— multiple inheritance makes flow unreadable renderdoesn't stop action — code continues, duplicate render crashes
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- _meta.json
- activerecord.md
- controllers.md
- jobs.md
- routing.md
- security.md
- views.md
FAQ
Что делает скилл Rails?
Build reliable Rails apps avoiding ActiveRecord traps, N+1 queries, and callback pitfalls.
Как установить скилл Rails?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Rails запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…