A development framework for Ruby on Rails developers using Claude Code, inspired by SuperClaude
Ruby
817
37 commits
updated Sep 26, 2025
A Rails development framework that leverages claude-swarm to create an intelligent team of AI agents specialized in different aspects of Rails development.
Instead of managing personas manually, ClaudeOnRails automatically orchestrates a swarm of specialized agents that work together like a real development team. Simply describe what you want to build, and the swarm handles the rest.
ClaudeOnRails creates a team of specialized AI agents:
Each agent works in their specific domain (directory) and can collaborate with other agents to implement complex features.
Add to your Rails application's Gemfile:
group :development do
gem 'claude-on-rails'
end
Then run:
bundle install
rails generate claude_on_rails:swarm
During generation, you'll be offered to set up Rails MCP Server for enhanced documentation access. Simply press Y when prompted!
This will:
For detailed setup instructions, see SETUP.md.
# In your Rails project directory
claude-swarm
Once the swarm is running, just describe what you want to build in the Claude interface:
> Add user authentication with email confirmation
[The architect coordinates the implementation across all agents]
> Create a shopping cart with Stripe payment integration
[Complex features are automatically broken down and implemented]
> Optimize the dashboard - it's loading too slowly
[Performance improvements across the stack]
> Build a RESTful API for our mobile app with JWT auth
[API development with authentication]
The swarm automatically:
When using AI assistants for Rails development, you typically need to:
With ClaudeOnRails, you simply describe what you want in natural language:
> Create a user system with social login
The swarm automatically:
All coordinated by specialized agents working together.
After running the generator, you'll have:
your-rails-app/
├── claude-swarm.yml # Swarm configuration
├── CLAUDE.md # Project-specific Claude config (imports context.md)
└── .claude-on-rails/
├── context.md # Rails project context imported by CLAUDE.md
└── prompts/ # Agent-specific prompts
├── architect.md
├── models.md
├── controllers.md
└── ...
The generated claude-swarm.yml can be customized:
instances:
architect:
description: "Your project-specific architect description"
connections: [models, controllers, custom_agent]
custom_agent:
description: "Specialized agent for your domain"
directory: ./app/custom
prompt_file: .claude-on-rails/prompts/custom.md
Customize agent behavior by editing prompts in .claude-on-rails/prompts/:
ClaudeOnRails integrates with Rails MCP Server to provide your AI agents with real-time access to Rails documentation and best practices.
When you run rails generate claude_on_rails:swarm, you'll be prompted to set up Rails MCP Server automatically. Just press Y!
If you skipped it initially, you can set it up anytime:
bundle exec rake claude_on_rails:setup_mcp
This interactive command will:
To verify your Rails MCP Server installation:
bundle exec rake claude_on_rails:mcp_status
When Rails MCP Server is available:
See the examples directory for:
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
MIT License - see LICENSE for details.
965 followers · starred Jun 2025
364 followers · starred Jun 2025
488 followers · starred Jul 2025
547 followers · starred Aug 2025
A development framework for Ruby on Rails developers using Claude Code, inspired by SuperClaude
Ruby
817
37 commits
updated Sep 26, 2025
A Rails development framework that leverages claude-swarm to create an intelligent team of AI agents specialized in different aspects of Rails development.
Instead of managing personas manually, ClaudeOnRails automatically orchestrates a swarm of specialized agents that work together like a real development team. Simply describe what you want to build, and the swarm handles the rest.
ClaudeOnRails creates a team of specialized AI agents:
Each agent works in their specific domain (directory) and can collaborate with other agents to implement complex features.
Add to your Rails application's Gemfile:
group :development do
gem 'claude-on-rails'
end
Then run:
bundle install
rails generate claude_on_rails:swarm
During generation, you'll be offered to set up Rails MCP Server for enhanced documentation access. Simply press Y when prompted!
This will:
For detailed setup instructions, see SETUP.md.
# In your Rails project directory
claude-swarm
Once the swarm is running, just describe what you want to build in the Claude interface:
> Add user authentication with email confirmation
[The architect coordinates the implementation across all agents]
> Create a shopping cart with Stripe payment integration
[Complex features are automatically broken down and implemented]
> Optimize the dashboard - it's loading too slowly
[Performance improvements across the stack]
> Build a RESTful API for our mobile app with JWT auth
[API development with authentication]
The swarm automatically:
When using AI assistants for Rails development, you typically need to:
With ClaudeOnRails, you simply describe what you want in natural language:
> Create a user system with social login
The swarm automatically:
All coordinated by specialized agents working together.
After running the generator, you'll have:
your-rails-app/
├── claude-swarm.yml # Swarm configuration
├── CLAUDE.md # Project-specific Claude config (imports context.md)
└── .claude-on-rails/
├── context.md # Rails project context imported by CLAUDE.md
└── prompts/ # Agent-specific prompts
├── architect.md
├── models.md
├── controllers.md
└── ...
The generated claude-swarm.yml can be customized:
instances:
architect:
description: "Your project-specific architect description"
connections: [models, controllers, custom_agent]
custom_agent:
description: "Specialized agent for your domain"
directory: ./app/custom
prompt_file: .claude-on-rails/prompts/custom.md
Customize agent behavior by editing prompts in .claude-on-rails/prompts/:
ClaudeOnRails integrates with Rails MCP Server to provide your AI agents with real-time access to Rails documentation and best practices.
When you run rails generate claude_on_rails:swarm, you'll be prompted to set up Rails MCP Server automatically. Just press Y!
If you skipped it initially, you can set it up anytime:
bundle exec rake claude_on_rails:setup_mcp
This interactive command will:
To verify your Rails MCP Server installation:
bundle exec rake claude_on_rails:mcp_status
When Rails MCP Server is available:
See the examples directory for:
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
MIT License - see LICENSE for details.
965 followers · starred Jun 2025
364 followers · starred Jun 2025
488 followers · starred Jul 2025
547 followers · starred Aug 2025