rails

Scaffold Rails controllers, models, migrations, routes, and background jobs.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/mguinada/ai-coding-toolkit --skill rails-mguinada
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rails
Source: https://github.com/mguinada/ai-coding-toolkit/tree/main/skills/rails
Command: npx skills add https://github.com/mguinada/ai-coding-toolkit --skill rails-mguinada

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Rails development often requires repetitive setup and knowledge gaps when starting new Rails projects. This Skill provides proactive activation, detection cues, and a structured reference to speed up building controllers, models, migrations, and API or full-stack apps.

Core Features & Use Cases

  • Proactive activation: auto-detects a Rails project and offers guided workflows for common tasks (generate controllers/models/migrations, routes, and APIs)
  • Comprehensive references: includes core patterns for Active Record, routing, migrations, Active Job, Action Cable, Active Storage, and Action Mailer
  • Use cases across API and web apps: scaffolding, REST APIs, background jobs, real-time features, and authentication flows

Quick Start

Create a new Rails app scaffold and run rails server to verify the setup.

Frequently Asked Questions about rails

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a new Ruby on Rails app with controllers, models, and migrations?

Scaffolding a Ruby on Rails app automates creating controllers, models, and migrations through guided workflows. This toolkit proactively detects your project structure and enforces MVC conventions to streamline building API or full-stack applications.

How does proactive activation work when editing Rails files?

Proactive activation triggers when editing Rails files by detecting the Gemfile, config files, and MVC structure. It automatically offers guided workflows for generating controllers, models, migrations, and routes without manual configuration.

Can I use this Rails toolkit for building REST APIs and background jobs?

Yes, this toolkit supports building REST APIs and background jobs. It provides comprehensive references for Active Job, Action Cable, and Active Storage, covering scaffolding, real-time features, and authentication flows across API and full-stack apps.

What is the best way to manage Active Record migrations and routing in Rails?

Managing Active Record migrations and routing effectively requires structured references and guided workflows. This toolkit enforces Rails conventions for migrations and routing while providing proactive cues during API and full-stack project development.

Do I need an existing Gemfile to start using Rails development workflows?

You do not need an existing Gemfile to start scaffolding, but having one enables proactive project detection. The toolkit uses the Gemfile, config files, and MVC structure to auto-detect Rails projects and activate guided development workflows.

What Rails conventions are enforced when generating models and controllers?

MVC structure, Active Record patterns, and routing conventions are enforced when generating models and controllers. The toolkit applies these conventions automatically during scaffolding and guided workflows for API and full-stack applications.