Curated library of 39 AI agent skills for Ruby on Rails development. Organized by category: planning, testing, code-quality, ddd, engines, infrastructure, api, patterns, context, orchestration, and workflows. Includes 5 callable workflow skills (rails-tdd-loop, rails-review-flow, rails-setup-flow, rails-quality-flow, rails-engines-flow) for complete development cycles. Covers code review, architecture, security, testing (RSpec), engines, service objects, DDD patterns, and TDD automation.
95
98%
Does it follow best practices?
Impact
95%
1.20xAverage score across 35 eval scenarios
Passed
No known issues
Rails Agent Skills are designed to work with AI-powered VS Code extensions. This guide covers setup with popular LLM extensions.
| Extension | LLM Provider | Setup Complexity | Notes |
|---|---|---|---|
| Cline | Claude, OpenAI, Anthropic | Simple | Recommended for Claude models |
| Aider | Claude, OpenAI, Local | Medium | Terminal-based, git-aware |
| GitHub Copilot | OpenAI (via GitHub) | Simple | Limited skill discovery |
| Continue | Multiple LLMs | Medium | Highly configurable |
Cline is the best integration for Rails Agent Skills because it:
In VS Code:
Create or edit .vscode/settings.json in your project:
{
"[cline]": {
"apiProvider": "anthropic",
"apiKey": "${env:ANTHROPIC_API_KEY}",
"model": "claude-3-5-sonnet-20241022"
}
}Or configure via VS Code settings UI:
anthropicclaude-3-5-sonnet-20241022 (or your preferred Claude model)ANTHROPIC_API_KEY environment variableCline reads skill definitions from the workspace. Create .vscode/cline.config.json:
{
"skillsPath": "./",
"skillPattern": "**/SKILL.md",
"workflowsPath": "./docs/",
"workflowPattern": "workflow-*.md",
"customTools": []
}Alternatively, you can manually invoke skills by name in Cline's chat:
/create-prd — Start a new feature with PRD/rails-tdd-slices — Begin TDD workflow/rails-code-review — Self-review Rails code/yard-documentation — Generate YARD docsEnsure Cline can access your Anthropic API key:
# In your shell profile (.zshrc, .bashrc, etc.)
export ANTHROPIC_API_KEY="your-api-key-here"Or create a .env file in your project root (add to .gitignore):
ANTHROPIC_API_KEY=your-api-key-hereContinue provides a highly configurable AI IDE experience with multi-model support.
In VS Code:
Edit ~/.continue/config.json:
{
"models": [
{
"title": "Claude Sonnet",
"provider": "anthropic",
"model": "claude-3-5-sonnet-20241022",
"apiKey": "${ANTHROPIC_API_KEY}",
"contextLength": 200000
}
],
"slashCommands": [
{
"name": "create-prd",
"description": "Plan a feature with PRD",
"prompt": "Use the create-prd skill to outline feature requirements"
}
],
"customTools": []
}In VS Code, open the Continue panel and add your skills directory:
{
"name": "rails-agent-skills",
"source": "file",
"path": "${workspaceFolder}/",
"pattern": "**/SKILL.md"
}Aider is git-aware and perfect for Rails development workflows.
pip install aider-chatCreate ~/.aider.conf.yml:
model: claude-3-5-sonnet-20241022
api-key: ${ANTHROPIC_API_KEY}
auto-commit: true
auto-test: true
dark-mode: true
# Reference your skills
custom-instructions: |
You have access to Rails Agent Skills.
Use these patterns when relevant:
- /rspec-best-practices for testing
- /rails-code-review for code quality
- /rails-tdd-slices for TDD workflows# In your Rails project directory
aider
# Then in the aider prompt, reference skills:
# /rails-tdd-slices what's the next failing test for user auth?
# /rails-code-review review the authentication controllerOpen Cline in VS Code (Cmd+L)
Start with PRD:
/create-prd Implement JWT-based authentication for API endpointsGet implementation plan:
/generate-tasks Based on the PRD aboveBegin TDD loop:
/rails-tdd-slices What's the first failing spec for JWT auth?Code and review:
/rails-code-review Review my authentication controllerDocument:
/yard-documentation Generate docs for the Auth serviceAdd to ~/.zshrc or ~/.bashrc:
# Anthropic API
export ANTHROPIC_API_KEY="sk-ant-..."
# Optional: Set default Claude model
export CLAUDE_MODEL="claude-3-5-sonnet-20241022"[Environment]::SetEnvironmentVariable("ANTHROPIC_API_KEY", "sk-ant-...", "User")Create .vscode/settings.json in your project:
{
"cline.apiKey": "${env:ANTHROPIC_API_KEY}",
"cline.model": "claude-3-5-sonnet-20241022",
"files.exclude": {
".vscode/settings.json": false
}
}.vscode/cline.config.json exists in your project rootskillsPath points to the correct directory (usually ./)---
name: skill-name
description: Brief description
type: workflow
---Verify ANTHROPIC_API_KEY is set:
echo $ANTHROPIC_API_KEYTest with curl:
curl https://api.anthropic.com/v1/messages \
-H "x-api-key: $ANTHROPIC_API_KEY" \
-H "content-type: application/json" \
-d '{"model": "claude-3-5-sonnet-20241022", "max_tokens": 10, "messages": [{"role": "user", "content": "hi"}]}'If using .env, ensure extension reads it (Cline does by default)
/skill-name-with-dashesls **/SKILL.mdFor Rails development with Rails Agent Skills:
Best single extension: Cline + Claude Sonnet
Best flexibility: Continue + multiple models
Best for CLI developers: Aider
/rails-tdd-slices What's our first failing test?See docs/workflow-guide.md for full workflow chains and checkpoints.
docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
scenario-11
scenario-12
scenario-13
scenario-14
scenario-15
scenario-16
scenario-17
scenario-18
scenario-19
scenario-20
scenario-21
scenario-22
scenario-23
scenario-24
scenario-25
scenario-26
scenario-27
scenario-28
scenario-29
scenario-30
scenario-31
scenario-32
scenario-33
scenario-34
scenario-35
mcp_server
skills
api
api-rest-collection
rails-graphql-best-practices
code-quality
rails-architecture-review
rails-code-conventions
rails-code-review
rails-review-response
rails-security-review
rails-stack-conventions
assets
snippets
refactor-safely
context
rails-context-engineering
rails-project-onboarding
ddd
ddd-boundaries-review
ddd-rails-modeling
ddd-ubiquitous-language
engines
rails-engine-compatibility
rails-engine-docs
rails-engine-extraction
rails-engine-installers
rails-engine-release
rails-engine-reviewer
rails-engine-testing
infrastructure
rails-api-versioning
rails-background-jobs
rails-database-seeding
rails-frontend-hotwire
rails-migration-safety
rails-performance-optimization
orchestration
rails-skills-orchestrator
patterns
ruby-service-objects
strategy-factory-null-calculator
yard-documentation
planning
create-prd
generate-tasks
ticket-planning
testing
rails-bug-triage
rails-tdd-slices
rspec-best-practices
rspec-service-testing