Create a new Rails 8.1+ application with full Claude Code integration including Tidewave MCP, Hotwire Club MCP, Chrome DevTools, and comprehensive documentation.
Creates a new Rails 8.1+ app with full Claude Code integration, including Tidewave MCP, Hotwire Club, Chrome DevTools, and auto-configured permissions. Use when starting a new Rails project with modern tooling.
/plugin marketplace add davidteren/claude_marketplace/plugin install davidteren-rails-hotwire-toolkit-plugins-rails-hotwire-toolkit@davidteren/claude_marketplaceCreate a fully configured Rails 8.1+ application with modern tooling and Claude Code integration.
/rails-hotwire-toolkit:new-rails-app [app_name]
If no app name is provided, prompt the user for one.
Validates the environment
rails -v)psql --version)Creates the Rails application
rails new APP_NAME --database=postgresql --css=tailwind
Adds required gems
tidewave (development group) - Runtime Rails integration for ClaudeInstalls MCP servers
hotwire_club-mcp gem - Hotwire/Turbo/Stimulus knowledge baserbenv rehash if rbenv is detectedCreates Claude Code configuration
.claude/settings.json with full auto-approval:
{
"permissions": {
"allow": [
"Bash", "Edit", "Write", "Read", "NotebookEdit", "WebFetch", "WebSearch",
"mcp__tidewave__*",
"mcp__hotwire-club-mcp__*",
"mcp__chrome-devtools__*"
]
},
"enableAllProjectMcpServers": true
}
.mcp.json with project MCP servers:
{
"mcpServers": {
"tidewave": {
"type": "http",
"url": "http://localhost:3000/tidewave/mcp"
},
"hotwire-club-mcp": {
"command": "hwc-mcp",
"args": []
}
}
}
Creates the database
bin/rails db:create db:migrate
Generates comprehensive CLAUDE_TOOLS.md documentation
Updates .gitignore to exclude .claude/settings.local.json
my_awesome_app)After the command completes, instruct the user:
Start the Rails server:
cd APP_NAME
bin/rails server
Open Claude Code in another terminal:
cd APP_NAME
claude
The following tools are now available:
get_models, get_logs, project_eval, execute_sql_queryIMPORTANT: When working with a Rails app that has Tidewave running:
Prefer Tidewave's built-in capabilities for Rails-specific tasks:
project_eval for running Ruby codeexecute_sql_query for database queriesget_logs for checking application logsUse Chrome DevTools MCP for:
Do NOT use external browser automation when Tidewave can accomplish the task directly.
User: "Create a new Rails app for a bookmark manager"
Assistant actions:
bookmark_managergem install railsbrew services start postgresql (macOS)