New Rails Project

VerifiedCaution

Create a new Rails project with Inertia.js, React, Vite, Tailwind CSS, Sidekiq, and PostgreSQL.

Sby Skills Guide Bot
DevelopmentAdvanced
8/10/2026
Claude Code
#rails#react#inertia#postgresql#scaffolding

Recommended for

Automated summary

Generates a complete new Ruby on Rails 8 project with PostgreSQL, Inertia.js, React, Vite, Tailwind, Sidekiq and Redis, applying specific database and testing conventions.

Strengths

  • Locks in a precise, coherent stack (Rails 8, Inertia 2.3, React 19, Vite 5, Tailwind 4, Sidekiq 8) rather than letting the agent improvise
  • Enforces solid database conventions: pgcrypto UUID primary keys, timestamptz timestamps, JSONB metadata and encrypted fields
  • Explicitly pushes for clarifying questions during planning, which cuts down on wrong assumptions
  • Ends with a real verification step: boot the server and exercise the app at localhost:3000 through Playwright MCP

Limitations

  • Assumes PostgreSQL, Redis and the Ruby/Node toolchain are already installed and configured locally
  • Instructions are tightly coupled to Claude Code (AskUserQuestionTool, Playwright MCP, @CLAUDE.md) and port poorly to other tools
  • It is a preferences scaffold, not a generator: the agent still has to write and debug all the actual scaffolding code
When to use it

Use it when kicking off a brand-new Rails project where you want a predefined stack and team conventions applied from the start.

When not to use it

Avoid it when adding features to an existing Rails app or for projects not built on PostgreSQL, Sidekiq and Inertia.

Security analysis

Caution
Quality score82/100

The skill uses powerful but legitimate development commands: rails generators, bundle/npm/yarn installs, project bin scripts, and a local server. There is no evidence of destructive commands, secret exfiltration, obfuscation, or safety disabling. The main risks are normal supply-chain and local execution risks from installing dependencies and running generated code.

Findings
  • •Runs Rails generators and package installs through Bash, which can execute third-party gem/npm code
  • •Starts a local Rails server and accesses localhost:3000
  • •Dependency versions are approximate and not pinned, adding supply-chain variability
  • •References Playwright MCP and AskUserQuestionTool that are not in the declared allowed-tools list
How this analysis is made

Examples

Bootstrap a fresh Rails app
Create a new Rails project called acme-portal in the current directory with the stack described in this skill.
Plan-first project setup
Start a new Rails project named ledger-app — ask me clarifying questions about models, auth and background jobs before scaffolding.
Verify the scaffold
Generate the new Rails project and then run bin/rails server and confirm the homepage loads at http://localhost:3000.

name: new-rails-project argument-hint: [project name] description: Create a new Rails project allowed-tools: Bash(rails *), Bash(bundle ), Bash(bin/), Bash(npm *), Bash(yarn *) context: fork risk: unknown source: community metadata: author: Shpigford version: "1.0"

Generate a new Rails project named $1 in the current directory. You may reference @CLAUDE.md for general guidance, though the guidance here takes precedence.

Tech Stack

Set up the following tech stack:

  • Rails ~8 with PostgreSQL - Server-side framework and database
  • Inertia.js ~2.3 - Bridges Rails and React for SPA-like experience without API
  • React ~19.2 - Frontend UI framework
  • Vite ~5 - JavaScript bundler with HMR
  • Tailwind CSS ~4 - Utility-first CSS framework
  • Sidekiq 8 - Background job processing with scheduled jobs via sidekiq-scheduler
  • Redis - Sessions, caching, and job queue

Rails guidance

  • Do not use Kamal or Docker
  • Do not use Rails "solid_*" components/systems
  • Development should generally match production settings where possible
  • Use Redis for caching

Database

  • All tables use UUID primary keys (pgcrypto extension)
  • Timestamps use timestamptz for timezone awareness
  • JSONB columns for flexible metadata storage
  • Comprehensive indexing strategy for performance
  • Encrypted fields for sensitive data (OAuth tokens, API keys)

Background jobs

  • Use Sidekiq 8 with Redis

Testing

  • Always use minitest
  • Use mocha gem and VCR for external services (only in the providers layer)
  • Prefer OpenStruct for mock instances
  • Only mock what's necessary

Code maintenace

  • Run bundle exec rubocop -a after significant code changes
  • Use .rubocop.yml for style configuration
  • Security scanning with bundle exec brakeman

Frontend

  • All React components and views should be TSX

General guidance

  • Ask lots of clarifying questions when planning. The more the better. Make extensive use of AskUserQuestionTool to gather requirements and specifications. You can't ask too many questions.

Verify

Verify the boilerplate is working by running bin/rails server and accessing the application at http://localhost:3000 via playwright MCP.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/new-rails-project-msmr5got/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/new-rails-project-msmr5got' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/new-rails-project-msmr5got/download' --output '.skill-downloads/new-rails-project-msmr5got/SKILL.md.part' && mv '.skill-downloads/new-rails-project-msmr5got/SKILL.md.part' '.skill-downloads/new-rails-project-msmr5got/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Bash(rails *), Bash(bundle *), Bash(bin/*), Bash(npm *), Bash(yarn *)

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/new-rails-project-msmr5got/SKILL.md' && test -s '.skill-downloads/new-rails-project-msmr5got/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/new-rails-project' && cp -R '.skill-downloads/new-rails-project-msmr5got' '.claude/skills/new-rails-project'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/new-rails-project-msmr5got'

openskills read 'new-rails-project-msmr5got'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/new-rails-project-msmr5got/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills