By zerobearing2
Coordinates Rails 8+ development with Hotwire, TDD, and security best practices — scaffolds controllers, models, views, and tests; configures SolidQueue/SolidCache; enforces vulnerability prevention and accessibility standards.
Use when building Rails controllers - RESTful actions, nested resources, skinny controllers, concerns, strong parameters
Use when debugging Rails issues - provides Rails-specific debugging tools (logs, console, byebug, SQL logging) integrated with systematic debugging process
Use when adding interactivity to Rails views - Hotwire Turbo (Drive, Frames, Streams, Morph) and Stimulus controllers
Use when setting up background jobs, caching, or WebSockets - SolidQueue, SolidCache, SolidCable (TEAM RULE
Use when sending emails - ActionMailer with async delivery via SolidQueue, templates, previews, and testing
npx claudepluginhub zerobearing2/rails-ai --plugin rails-aiBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Executables (bin/) — files in this plugin's bin/directory are added to the Bash tool's PATH while the plugin is enabled.
⚠️ EXPERIMENTAL: Under active development. APIs and architecture may change. Phase 2 of 4.
Rails domain expertise for Claude Code. Built on Superpowers workflows.
Build Rails apps so autonomously they leave today's Next.js and React generators in the dust. We're not playing catch-up—we're setting the pace and showing what LLM-driven development really looks like when Rails is in the driver's seat.
Right now, LLMs excel at Next.js and Node code. Ask them to build a Rails app and you get... okay results. Ask for a Next.js app and you get production-ready code.
Why? Training data. JavaScript/TypeScript dominates the training sets. Rails, despite being more mature and productive, is underrepresented.
The irony? Rails is actually better suited for AI code generation:
Rails was built to make developers productive by removing decisions. That same philosophy makes it perfect for LLMs — fewer choices, more consistency, clearer patterns.
Adds Rails-specific skills to Claude Code: ActiveRecord patterns, Hotwire, Minitest/TDD, security, Solid Stack (Rails 8), and 20+ team conventions.
The /rails-ai:architect command loads Superpowers workflows (process) and Rails-AI skills (domain knowledge), then coordinates general-purpose agents to build features end-to-end.
# 1. Install Superpowers (required)
claude
/plugin marketplace add obra/superpowers
/plugin install superpowers
# 2. Install rails-ai
/plugin marketplace add zerobearing2/rails-ai
/plugin install rails-ai
To contribute or test changes locally:
# 1. Clone the repository
git clone https://github.com/zerobearing2/rails-ai.git
cd rails-ai
# 2. Install Superpowers (required dependency)
claude
/plugin marketplace add obra/superpowers
/plugin install superpowers
# 3. Add local directory as a marketplace and install
/plugin marketplace add /path/to/rails-ai
/plugin install rails-ai@rails-ai
# 4. Restart Claude Code to load the plugin
Verify installation:
/plugin
# Opens plugin management interface - verify rails-ai is listed
Run tests before submitting changes:
bin/ci
/rails-ai:architect add user authentication
/rails-ai:architect debug failing test
/rails-ai:architect refactor UserController
Local Development Note: If you're developing rails-ai locally (installed from a local directory), SessionStart hooks don't execute due to a Claude Code limitation. Manually use the skill once per session:
Use the skill: using-rails-ai
This uses the full protocol including Superpowers integration and skill-loading enforcement. Not needed when installed from GitHub.
Two-layer system:
The /rails-ai:architect slash command loads both layers, then dispatches general-purpose agents as workers to implement features.
Opinionated Rails development:
We're turning that gap into a roadmap instead of a wish list.
Phase 1 — Architect Coordinator ✅ Complete
Clean architecture with /rails-ai:architect slash command that coordinates development: loads Superpowers workflows (HOW) and Rails-AI skills (WHAT), then dispatches general-purpose workers to implement. No complexity, clear separation between coordination and execution.
Phase 2 — Domain Skills & Team Rules 🚧 Current 12 focused domain skills, 20+ team conventions, and custom RuboCop cops. Every decision backed by Rails best practices in reusable, testable modules.
Phase 3 — Memory & Context 🔬 Next Index thousands of production Rails patterns, wire them into local memory + knowledge graph, and retrieve the right snippet at the right time with RAG + SQLite vector search.
Phase 4 — Fully Autonomous Rails 🚀 Goal Ship end-to-end features—auth, payments, background jobs, admin, APIs—complete with tests and security. Target: 85%+ first-pass success rate.
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Harness-native ECC plugin for engineering teams - 67 agents, 279 skills, 94 legacy command shims, reusable hooks, rules, MCP conventions, and operator workflows for Claude Code plus adjacent agent harnesses
Lazy senior dev mode. Forces the simplest, shortest solution that actually works: YAGNI, stdlib first, no unrequested abstractions.
Tools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.
Matt Pocock's agent skills for real engineering — grilling, spec/ticket flows, TDD, code review, domain modelling and more. Plug-and-play, not vibe coding.
Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques