Version: 1.0.0 Status: Stable License: MIT Rails Support: 7.0, 7.1, 7.2, 8.0, 8.1 Ruby Support: 3.2, 3.3+
Professional Rails development skills for Claude Code. Modular, extensible, and community-driven.
A collection of 13 specialized AI skills for Ruby on Rails development. Each skill focuses on a specific area (testing, security, API, etc.) and follows Rails best practices.
Key Features:
- β Automatic routing - Claude selects the right specialist based on your request
- β TDD enforced - All specialists follow test-first development
- β Modular - Each skill is independent and versioned
- β Extensible - Easy to add new skills or update existing ones
- β Open Source - Community contributions welcome
Claude Code (Recommended):
git clone https://github.com/alec-c4/claude-skills-rails-dev.git ~/.claude/skills/rails-devClaude Desktop:
git clone https://github.com/alec-c4/claude-skills-rails-dev.git ~/.claude/skills/rails-devClaude Web: See INSTALLATION.md for manual setup options.
π Full installation guide: INSTALLATION.md (includes project-specific installation, updates, troubleshooting)
Start using - Claude will automatically activate skills based on your requests!
Just describe what you want:
# Automatically activates rails-testing
"Write tests for User model with email validation"
# Automatically activates rails-viewcomponents
"Create a ButtonComponent with primary and danger variants"
# Automatically activates rails-security
"Add Pundit authorization to Articles controller"
# Complex tasks activate rails-project-manager
"Help me build a notification system"No configuration needed - it just works! π
| Skill | Purpose | Version |
|---|---|---|
| rails-project-manager | Coordinates tasks, plans features | 1.0.0 |
| ruby-on-rails-development | Routes to specialists, core principles | 1.0.0 |
| Skill | Purpose | Version |
|---|---|---|
| rails-testing | RSpec, FactoryBot, TDD workflows | 1.0.0 |
| rails-viewcomponents | ViewComponent, Turbo, Stimulus | 1.0.0 |
| rails-business-logic | ActiveInteraction, AASM, decorators | 1.0.0 |
| Skill | Purpose | Version |
|---|---|---|
| rails-api | REST APIs, JWT, serialization | 1.0.0 |
| rails-graphql | GraphQL schemas, mutations | 1.0.0 |
| rails-inertia | Inertia.js SPAs with React/Vue/Svelte | 1.0.0 |
| Skill | Purpose | Version |
|---|---|---|
| rails-background-jobs | Solid Queue, scheduled tasks | 1.0.0 |
| rails-devops | Docker, CI/CD, deployment | 1.0.0 |
| rails-security | Pundit, Lockbox, authentication | 1.0.0 |
| Skill | Purpose | Version |
|---|---|---|
| rails-analyst | JTBD, use cases, estimation, risk analysis | 1.0.0 |
| rails-technical-writer | Documentation, README, guides | 1.0.0 |
Full details: See SKILLS_REGISTRY.md
Claude analyzes your request and activates the appropriate skill:
YOU: "Optimize the slow dashboard query"
CLAUDE: [Detects keywords: "optimize", "slow", "query"]
[Activates: rails-analyst]
Analyzing query performance...
Found N+1 query...
Adding eager loading...
For complex tasks, rails-project-manager coordinates multiple skills:
YOU: "Build a commenting system"
CLAUDE: [Activates: rails-project-manager]
Planning implementation...
Stage 1: Model & Tests β rails-testing
Stage 2: Business Logic β rails-business-logic
Stage 3: API Endpoints β rails-api
Stage 4: UI Components β rails-viewcomponents
Starting Stage 1...
All skills follow these NON-NEGOTIABLE principles:
# RED β GREEN β REFACTOR
# Write test first, make it pass, then improve# Don't create abstractions until actually needed# Follow Rails conventions unless compelling reason# Authorization, encryption, HTTPS by default# Every commit: compiles + tests pass + deployable-
Create directory:
mkdir .claude/skills/rails-new-skill
-
Create SKILL.md:
--- name: rails-new-skill description: Brief description --- # Content...
-
Register in SKILLS_REGISTRY.md:
- Add skill entry with version, keywords
- Define routing rules
- Document dependencies
-
Test:
# Try various requests that should trigger your skill
- Update skill content in
rails-xxx/SKILL.md - Increment version in
SKILLS_REGISTRY.md - Document changes in skill's changelog
- Test to ensure routing still works
MAJOR.MINOR.PATCH
MAJOR: Breaking changes, new Rails version
MINOR: New features, significant additions
PATCH: Bug fixes, minor improvements
| Document | Purpose |
|---|---|
| SKILLS_REGISTRY.md | Complete catalog of all skills |
| ruby-on-rails-development/SKILL.md | Router & core principles |
Each skill's SKILL.md |
Detailed skill documentation |
We welcome contributions!
-
Report Issues
- Skill not activating correctly?
- Documentation unclear?
- Bug in skill logic?
-
Improve Skills
- Add examples
- Fix errors
- Improve explanations
- Update for new Rails versions
-
Add New Skills
- Follow the extension guide
- Ensure clear routing keywords
- Include comprehensive examples
-
Improve Documentation
- Clarify instructions
- Add use cases
- Fix typos
- Fork the repository
- Create feature branch (
git checkout -b feature/amazing-skill) - Make changes
- Update
SKILLS_REGISTRY.mdwith version bumps - Commit (
git commit -m 'Add amazing skill') - Push (
git push origin feature/amazing-skill) - Open Pull Request
- Rails 8.1 specific features
- Enhanced Kamal 2.x deployment patterns
- Solid Cache integration
- Solid Cable patterns
- Multi-database patterns
- Advanced Hotwire patterns
- Rails 9.0 preparation
- Performance benchmarking skill
All skills must:
- β Follow TDD principles
- β Include practical examples
- β Document Rails version compatibility
- β Have clear routing keywords
- β Pass quality checks (RuboCop, Brakeman, etc.)
- Total Skills: 13
- Categories: 5
- Rails Versions Supported: 7.0 - 8.1
- Lines of Documentation: 10,000+
- Code Examples: 200+
Built with best practices from:
- Rails official guides
- Rails community conventions
- Modern Rails patterns (ViewComponent, Hotwire, etc.)
- Production experience
MIT License - See LICENSE file for details
- Documentation: SKILLS_REGISTRY.md
- Issues: GitHub Issues
- Discussions: GitHub Discussions
If you find this helpful:
- β Star the repository
- π’ Share with your team
- π€ Contribute improvements
- π¬ Provide feedback
Made with β€οΈ for the Rails community
Current Version: 1.0.0 Last Updated: 2025-10-21 Maintained By: Community