Curated library of 42 public AI agent skills for Ruby on Rails development, plus 5 callable workflow skills. Organized by category: planning, testing, code-quality, ddd, engines, infrastructure, api, patterns, context, orchestration, and workflows. Covers code review, architecture, security, testing (RSpec), engines, service objects, DDD patterns, and TDD automation.
96
96%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Risky
Do not use without reviewing
Triages and decomposes any Ruby on Rails request into ordered sub-tasks, then delegates to the correct specialized skill. Enforces the Tests Gate Implementation mandate across all code-producing work.
When a task arrives, identify the matching skill from the tables below and name it explicitly as the next skill to use before responding further. Generated artifacts (YARD docs, Postman collections, READMEs) must be in English unless the user explicitly requests another language.
Invocation example:
User: "I want to add a payment feature but I'm not sure where to start."
Claude: "This is a feature request with unclear scope. I'll start by loading the codebase context, then create a PRD.\n\nNext skill: skills/context/load-context"
Non-negotiable: no implementation code until a test exists, runs, and fails for the right reason (feature missing, not config/syntax).
| Skill | Use when... |
|---|---|
| load-context | Before any code/spec/PRD in an existing Rails codebase — load schema, routes, nearest patterns, surface ambiguity |
| write-tests | Writing, reviewing, or cleaning up RSpec tests; TDD discipline for all implementation |
| plan-tests | Choosing the best first failing spec for a Rails change |
| triage-bug | Turning a bug report into a reproduction spec and fix plan |
| code-review | Reviewing Rails PRs, controllers, models, migrations, or queries — the subject is a specific file or changeset |
| review-architecture | Reviewing structure, boundaries, fat models/controllers — the question is about design or system shape, not a specific PR |
| apply-stack-conventions | Writing Rails code for PostgreSQL + Hotwire + Tailwind stack |
| refactor-code | Restructuring code while preserving behavior |
| create-prd | Planning a feature or writing requirements |
| generate-tasks | Breaking a PRD into implementation tasks |
When multiple skills could apply: TDD → Planning → Domain discovery → Process (refactor-code) → Domain implementation (rails-*, ruby-*). Use plan-tests when the first failing spec is not obvious.
Key disambiguation signals:
review-architecture vs code-review: use architecture-review when the question is about system shape, service boundaries, or design patterns; use code-review when the subject is a concrete PR, file, or changeset.plan-tests vs write-tests: use tdd-slices when the challenge is which test to write first; use write-tests when the challenge is how to write or improve a test.load-context before any other code-producing skill in an unfamiliar or existing codebase.Fallback for ambiguous requests: If no clear skill match, default to load-context to load codebase context, then re-evaluate based on findings.
User: "There's a bug where orders placed at midnight sometimes get the wrong price."
Match: Concrete bug report with a reproduction path. See "Bug fix" workflow below.
Next skill: skills/testing/triage-bug
User: "Help me improve this Rails app."
Match: Vague request, no clear skill. Use fallback: load context first.
Next skill: skills/context/load-context
User: "I have a PR that adds a new controller, changes the Order model, adds a migration, and introduces a service object."
Match: Multi-concern changeset. Load context, then decompose into appropriate review skills.
Next skill: skills/context/load-context
For additional routing examples (DDD-first features, GraphQL APIs, engines, edge cases), see assets/examples.md.
Sub-skills are invoked by stating their name as the next skill to apply, e.g. "Next skill: skills/workflows/tdd-workflow", before proceeding with that skill's instructions.
TDD Feature Loop (primary daily workflow) — use skills/workflows/tdd-workflow:
skills/context/load-context → [CHECK: context loaded] → skills/workflows/tdd-workflow → PR
Feature (standard): skills/context/load-context → [CHECK: context loaded] → skills/planning/create-prd → [CHECK: PRD approved] → skills/planning/generate-tasks → [CHECK: tasks complete] → skills/workflows/tdd-workflow
Bug fix: skills/testing/triage-bug → [GATE: reproduction spec fails] → skills/workflows/tdd-workflow → fix → verify passes
For additional workflows (DDD-first, code review, engines, refactoring, GraphQL), see assets/workflows.md.
build
docs
mcp_server
skills
api
generate-api-collection
implement-graphql
code-quality
apply-code-conventions
apply-stack-conventions
assets
snippets
code-review
refactor-code
respond-to-review
review-architecture
security-check
context
load-context
setup-environment
ddd
define-domain-language
model-domain
review-domain-boundaries
engines
create-engine
create-engine-installer
document-engine
extract-engine
release-engine
review-engine
test-engine
upgrade-engine
infrastructure
implement-background-job
implement-hotwire
optimize-performance
review-migration
seed-database
version-api
orchestration
skill-router
patterns
create-service-object
implement-calculator-pattern
write-yard-docs
planning
create-prd
generate-tasks
plan-tickets
testing
plan-tests
test-service
triage-bug
write-tests
workflows