ruby-on-rails-development
Rails skills router and knowledge base. Routes your request to the appropriate specialist skill. Contains core Rails principles and conventions. Use when unsure which specialist to choose or for general Rails questions.
Install
mkdir -p .claude/skills/ruby-on-rails-development && curl -L -o skill.zip "https://mcp.directory/api/skills/download/232" && unzip -o skill.zip -d .claude/skills/ruby-on-rails-development && rm skill.zipInstalls to .claude/skills/ruby-on-rails-development
About this skill
Rails Development Router
Welcome! I'll help route your Rails development task to the appropriate specialist.
šÆ How This Works
Based on your request, I'll automatically activate the right specialist skill:
| Your Task | Specialist Activated |
|---|---|
| Writing tests, TDD | ā rails-testing |
| UI components, Turbo | ā rails-viewcomponents |
| Security, encryption | ā rails-security |
| Business logic, workflows | ā rails-business-logic |
| Background jobs | ā rails-background-jobs |
| REST API | ā rails-api |
| GraphQL | ā rails-graphql |
| Inertia.js SPA | ā rails-inertia |
| Docker, deployment | ā rails-devops |
| Performance, optimization | ā rails-analyst |
| Documentation | ā rails-technical-writer |
| Project planning | ā rails-project-manager |
š Quick Start
Just describe what you want to build:
ā
"Create User model with email validation"
ā
"Add authentication with Devise"
ā
"Build a dashboard component"
ā
"Setup CI/CD pipeline"
ā
"Optimize slow queries"
I'll analyze your request and activate the right specialist!
š Core Rails Principles
All specialists follow these NON-NEGOTIABLE principles:
1. Test-First Development (TDD)
Every feature MUST follow Red-Green-Refactor:
# 1. RED - Write failing test FIRST
RSpec.describe User do
it "validates email presence" do
user = User.new(email: nil)
expect(user).not_to be_valid
end
end
# 2. Run test - MUST fail
# 3. GREEN - Write minimal code to pass
# 4. REFACTOR - Improve while tests pass
Rules:
- ā Tests written BEFORE implementation
- ā Never commit failing tests
- ā Never skip/disable tests to pass builds
- ā Red-Green-Refactor cycle strictly enforced
2. YAGNI Principle
You Aren't Gonna Need It - Don't create abstractions until needed.
# ā Don't create prematurely
# app/services/ (until pattern emerges)
# app/presenters/ (use decorators instead)
# config/constants.rb (for values used once)
# ā
Create when actually needed
# app/interactions/ (ActiveInteraction)
# app/components/ (ViewComponents)
3. Convention Over Configuration
Follow Rails conventions unless compelling reason:
- Naming: Models singular, Controllers plural
- Routes: RESTful design
- Structure: Standard Rails directories
- Patterns: Rails way first
4. Security by Design
Always:
- ā Strong parameters in controllers
- ā Authorization on all actions (Pundit)
- ā Encrypt sensitive data (Lockbox)
- ā HTTPS in production
- ā Rate limiting on APIs
5. Incremental Progress
Each commit should:
- ā Compile successfully
- ā Pass all tests
- ā Be deployable
- ā Represent complete feature slice
š Available Specialists
For detailed information about each specialist, see SKILLS_REGISTRY.md
šÆ Coordination
- rails-project-manager - Plans features, coordinates specialists
š» Development
- rails-testing - RSpec, FactoryBot, TDD
- rails-viewcomponents - ViewComponent, Turbo, Stimulus
- rails-business-logic - ActiveInteraction, AASM, decorators
š API & Frontend
- rails-api - REST APIs, JWT, serialization
- rails-graphql - GraphQL schemas, mutations
- rails-inertia - Inertia.js SPAs
šļø Infrastructure
- rails-background-jobs - Solid Queue, jobs
- rails-devops - Docker, CI/CD, deployment
- rails-security - Pundit, Lockbox, authentication
š Analysis
- rails-analyst - Performance, optimization
- rails-technical-writer - Documentation
š Need Help Choosing?
Ask yourself:
What am I building?
- Data/logic ā rails-business-logic
- UI component ā rails-viewcomponents
- API endpoint ā rails-api or rails-graphql
- Background task ā rails-background-jobs
What am I fixing?
- Slow queries ā rails-analyst
- Security issue ā rails-security
- Test failure ā rails-testing
- Deployment problem ā rails-devops
What am I documenting?
- README ā rails-technical-writer
- Code comments ā rails-technical-writer
What am I planning?
- Complex feature ā rails-project-manager
- Architecture decision ā rails-project-manager
š” Example Workflows
Simple Task (One Specialist)
YOU: "Add email validation to User model"
CLAUDE: [Activates rails-testing]
Writing test first (TDD)...
Test fails (RED) ā
Adding validation...
Test passes (GREEN) ā
Complex Task (Multiple Specialists)
YOU: "Build comment system for articles"
CLAUDE: [Activates rails-project-manager]
Analyzing requirements...
Plan:
Stage 1: Model & Tests (rails-testing)
Stage 2: Business Logic (rails-business-logic)
Stage 3: API (rails-api)
Stage 4: UI Components (rails-viewcomponents)
Starting Stage 1...
š ļø Tech Stack Reference
Our specialists support:
Core Framework
- Rails 7.0, 7.1, 7.2, 8.0, 8.1
- Ruby 3.2, 3.3+
- PostgreSQL 14+
Frontend
- ViewComponent 3.x
- Hotwire (Turbo 8.x, Stimulus 3.x)
- Tailwind CSS
- Inertia.js 1.x
Backend
- ActiveInteraction 5.x
- AASM 5.x
- Pundit 2.x
- Lockbox 1.x
- Solid Queue (Rails 7.1+)
DevOps
- Docker
- GitHub Actions / GitLab CI
- Kamal 2.x (Rails 8.0+)
š Quality Checklist
Before any commit, specialists ensure:
# All must pass:
bundle exec rspec # Tests
bundle exec rubocop # Linting
bundle exec erblint --lint-all # ERB linting
bundle exec brakeman --no-pager # Security
bundle exec bundle-audit check # Vulnerabilities
š Continuous Improvement
This system is:
- ā Extensible - Easy to add new specialists
- ā Updatable - Each specialist versioned independently
- ā Open Source - Community contributions welcome
- ā Documented - All patterns and practices recorded
See SKILLS_REGISTRY.md for:
- Complete specialist catalog
- Version history
- Extension guide
- Contributing guidelines
š¬ Ready to Start?
Just tell me what you want to build, and I'll activate the right specialist!
Examples:
- "Create an Article model with validations"
- "Setup authentication system"
- "Build a commenting feature"
- "Optimize slow dashboard queries"
- "Deploy to production with Docker"
Let's build something great! š
You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
rust-coding-skill
UtakataKyosui
Guides Claude in writing idiomatic, efficient, well-structured Rust code using proper data modeling, traits, impl organization, macros, and build-speed best practices.
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.