rails-scaffold

Create a Ruby on Rails 8.1 application with selected options via rails new.

Updated Jun 13, 2026
One-click install
npx skills add https://github.com/jcuervo/rails-skills --skill rails-scaffold-jcuervo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rails-scaffold
Source: https://github.com/jcuervo/rails-skills/tree/main/rails-scaffold
Command: npx skills add https://github.com/jcuervo/rails-skills --skill rails-scaffold-jcuervo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps solve the problem of starting a new Ruby on Rails 8.1 application by guiding users through a series of questions to set up their application with the right options for their project needs.

Core Features & Use Cases

  • Application Scaffold: Automatically generates a new Rails application by collecting information about the application type, database, asset pipeline, test framework, authentication, and other settings.
  • API vs Web Choice: Allows the selection between API-only, full-stack (with Hotwire), or API + separate frontend, which sets the stage for different project architectures.
  • Customization and Options: Provides a range of choices for each component of the Rails application, ensuring the final product fits the project's specific requirements.

Quick Start

Use the 'rails-scaffold' skill to generate a new full-stack Hotwire Rails 8.1 application named 'myapp'.

Frequently Asked Questions about rails-scaffold

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

FAQPage Schema
How do I scaffold a new Ruby on Rails 8.1 application with Hotwire?

Scaffolding a Ruby on Rails 8.1 application with Hotwire involves selecting the full-stack application type during setup. This generates your project with the Hotwire asset pipeline and frontend integration preconfigured for interactive web pages.

Can I generate an API-only Rails 8.1 backend?

Yes, you can generate an API-only Rails 8.1 backend by selecting the API option during setup. This configures the application without view and asset pipeline layers, providing a lightweight backend structure for serving endpoints.

What options can I configure when creating a new Rails application?

When creating a new Rails application, you can configure the application type, database, asset pipeline, test framework, and authentication settings. These choices customize the generated application structure to fit your specific project requirements.

Do I need Ruby and Rails installed before scaffolding a new app?

Yes, you need Ruby and Rails 8.1 installed and operational on your system before scaffolding a new app. The setup requires these dependencies to execute the 'rails new' command and generate the application files successfully.

How do I set up a Rails 8.1 app with a separate frontend?

To set up a Rails 8.1 app with a separate frontend, select the API plus separate frontend option during the application setup. This configures the backend as an API while establishing the architecture for an independent frontend client.