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
When to use: Apply conventions, refactor existing code, or maintain quality during development.
graph TB
subgraph Prepare [🧪 Phase 1: Prepare]
direction TB
A[Refactor needed] --> B[refactor-code]
B --> C[Characterization tests]
C --> D{Tests pass?}
end
subgraph Refactor [🔧 Phase 2: Refactor]
direction TB
D -- Yes --> E[Extract/refactor]
E --> F{Tests pass?}
F -- No --> G[Revert + fix]
G --> E
end
subgraph Iterate [🔄 Phase 3: Iterate]
direction TB
F -- Yes --> H{More to refactor?}
H -- Yes --> E
end
H -- No --> I[code-review]
%% Styling
style Prepare fill:#f5f5f5,stroke:#333,stroke-dasharray: 5 5
style Refactor fill:#e1f5fe,stroke:#01579b
style Iterate fill:#fff3e0,stroke:#e65100
style D fill:#ffd54f
style F fill:#ffd54f
style H fill:#ffd54fGoal: Change structure without changing behavior.
Key rule: Separate behavior changes from structural changes. Never both.
Goal: Clean code following Rails principles.
| Path | Rules |
|---|---|
app/controllers | Thin controllers, 1 line actions, strong params |
app/models | No complex business logic, scopes for queries |
app/services | .call pattern, response contract, YARD |
app/jobs | Idempotency, retry strategy, log context |
config/routes | Resourceful, shallow nesting |
Goal: Document public API after implementation.
# @param params [Hash] :user_id, :amount
# @return [Hash] { success: Boolean, response: Hash }
# @raise [ArgumentError] when user_id is nilLanguage: All YARD in English unless user requests otherwise.
| Skill | Description | Trigger words |
|---|---|---|
| refactor-code | Restructure preserving behavior | "refactor", "extract", "restructure" |
| apply-code-conventions | Clean code principles | "code review", "conventions", "DRY", "YAGNI" |
| write-yard-docs | Inline API docs | "YARD", "documentation", "@param", "@return" |
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