Rails Playbook

Operational playbook for Ruby on Rails — version/test-framework detection, ActiveRecord loading strategy, callback boundaries, migration discipline, and exact verification commands. Read in full at the start of every task on this team.

49 stars 3 forksSoftware Development Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add toffyui/ccteams

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add toffyui/ccteams --skill rails-playbook
Manual install
git clone --depth 1 https://github.com/toffyui/ccteams.git /tmp/ccteams
mkdir -p ~/.claude/skills
cp -r /tmp/ccteams/teams/rails/skills/rails-playbook ~/.claude/skills/rails-playbook

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Rails Playbook

This is the literal procedure a frontier model follows on a Rails codebase.
Follow it in order; most Rails defects come from skipping the reconnaissance
steps and writing "generic Rails" instead of THIS project's Rails.

## Operating loop

1. **Pin the stack before writing a line.** Read `Gemfile.lock`:
   - Rails version: the `rails (x.y.z)` line. Stay inside that version's API —
     no Rails 7.x features in a 6.1 project.
   - Test framework: `rspec-rails` in the lockfile + a `spec/` directory →
     `bundle exec rspec`; otherwise `test/` → `bin/rails test`.
   - Lint: `rubocop` in the lockfile + `.rubocop.yml` present → rubocop is part
     of verification.
2. **Check reality before adding to it.**
   - Routes: `bin/rails routes -g <resource>` before adding any route — the
     route may already exist, or a catch-all may shadow yours.
   - Columns: read `db/schema.rb` (or `structure.sql`) for actual columns and
     indexes. Model files do not list columns; guessing them from attribute
     usage is how phantom-column bugs happen.
   - Pending migrations: `bin/rails db:migrate:status | grep down` — writing on
     top of an unmigrated schema wastes the whole session.
3. **Read one neighboring model + controller in the same area** and mirror
   them: service objects vs model methods, concerns usage, scope style,
   callback style. Convention in THIS repo beats convention in general.
Read the full skill on GitHub

Details

Skill name
rails-playbook
Path
teams/rails/skills/rails-playbook/SKILL.md
License
MIT
Repo updated
31 August 2026

FAQ

What does the Rails Playbook skill do?

Operational playbook for Ruby on Rails — version/test-framework detection, ActiveRecord loading strategy, callback boundaries, migration discipline, and exact verification commands. Read in full at the start of every task on this team.

How do I install the Rails Playbook skill?

Claude Code plugin: /plugin marketplace add toffyui/ccteams. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Rails Playbook popular?

It lives in toffyui/ccteams, which has 49 GitHub stars and 3 forks.

Related skills

Choose Team

49

toffyui/ccteams

Pick and apply the best ccteams agent team for a described need using natural language — reads team metadata, selects the closest match, and applies it.

AI, LLMs & Agents

Debug Playbook

49

toffyui/ccteams

Operational playbook for systematic debugging — hypothesis ledgers, discriminating experiments, mechanism sentences, minimal fixes, sibling hunts. Read in full at the start of every bug investigation.

Software Development

Django Playbook

49

toffyui/ccteams

Operational playbook for Django + DRF — settings/version detection, ORM loading strategy, migration discipline, serializer field hygiene, timezone rules, and exact verification commands. Read in full at the start of every task on this team.

Software Development

Runtime Frameworks

49

dynamics365ninja/d365fo-cli

Use the D365FO platform frameworks that decide behaviour at runtime — Feature Management, the SysExtension plug-in factory, telemetry and infolog, and the Global Address Book. Invoke when the user asks to add a feature flag, replace an if/switch chain with a registered strategy, log or capture infolog output, or read a party's address or contact details.

Software Development26

Python Fastapi Playbook

49

toffyui/ccteams

Operational playbook for FastAPI + Pydantic v2 async services — event-loop discipline, boundary validation, dependency lifetimes, response_model leaks, async ORM N+1s. Read in full at the start of every task on this team.

Software Development

SDK Analysis

44

ivRodriguezCA/MobHunt

Load when assessing third-party SDKs and frameworks embedded in a mobile app, covering SDK fingerprinting, version extraction, CVE matching and reachability, debug SDK detection, and React Native, Flutter, and Cordova framework surfaces.

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.