ruby-railslisted
Install: claude install-skill matthull/my-skills
# Ruby/Rails Practice
Load this skill for any Ruby on Rails work. Core mandates below apply universally. **Then load resource files** based on what you're touching.
## Progressive Disclosure — Resource Loading
Match the files you're working with against this table. **Load every matching resource** using the Read tool before starting work.
| Files you're touching | Load resource |
|---|---|
| `app/models/` | `resources/models.md` |
| `app/controllers/`, `spec/requests/` | `resources/controllers.md` |
| `app/services/`, `app/jobs/`, `app/workers/` | `resources/services.md` |
| `app/views/**/*.jbuilder`, `*_serializer.rb` | `resources/serialization.md` |
| `db/migrate/` | `resources/migrations.md` |
**Multiple matches are expected.** A jbuilder change that adds eager loading touches both serialization and controllers — load both.
**Re-check as you go.** If you discover during work that you're touching a new area (e.g., fixing a jbuilder N+1 leads you into the controller), come back to this table and load the newly relevant resource before continuing.
**For PR reviews:** map the diff's file list against this table.
Resource paths are relative to this skill's directory: `~/.claude/skills/ruby-rails/`
---
## CRITICAL: Fixture Builder Constraint (ABSOLUTE)
**You MUST NEVER create or edit manual fixture .yml files.**
This project uses fixture_builder gem which regenerates ALL fixtures — manual .yml files WILL BE DELETED on next regeneration.
You MUST NEVER:
- Create .yml