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
Conventions and structure for every SKILL.md in this library.
rails-agent-skills/
├── .claude-plugin/ # Claude Code plugin metadata
│ ├── plugin.json
│ └── marketplace.json
├── .codex/ # Codex installation instructions
│ └── INSTALL.md
├── .cursor-plugin/ # Cursor plugin metadata
│ └── plugin.json
├── hooks/ # Session hooks
│ ├── hooks.json
│ └── session-start
├── docs/ # Documentation
│ ├── implementation-guide.md
│ ├── architecture.md
│ ├── workflow-guide.md
│ └── skill-template.md
├── skill-router/ # Bootstrap skill (loaded at session start)
│ └── SKILL.md
├── <skill-name>/ # One directory per skill
│ ├── SKILL.md # Main skill file (required)
│ └── reference.md # Optional reference material
├── README.md
└── .gitignoreEvery skill follows this structure:
---
name: skill-name
description: >
Use when [concrete trigger conditions]. Covers [key topics].
[Additional trigger words for discovery].
---Rules:
name: kebab-case, matches directory namedescription: starts with "Use when...", third person# Skill Title
Use this skill when [brief trigger].
**Core principle:** [One sentence philosophy]A scannable table at the top for fast lookup:
## Quick Reference
| Aspect | Rule |
|--------|------|
| ... | ... |Non-negotiable blockers in a code block:
## HARD-GATE
\```
DO NOT [forbidden action].
ALWAYS [required action].
\```The main instructions. Use numbered steps for processes, bullet lists for rules.
Table format with "Mistake" and "Reality" columns:
## Common Mistakes
| Mistake | Reality |
|---------|---------|
| "Excuse or bad practice" | Why it's wrong and what to do instead |Bullet list of signals that the skill is being violated:
## Red Flags
- Signal that something is wrong
- Another signalTable of related skills and when to chain them:
## Integration
| Skill | When to chain |
|-------|---------------|
| **other-skill** | When [condition] |"Claude Search Optimization" — how the description helps AI agents find the right skill:
Good:
description: >
Use when reviewing Rails pull requests, checking controller conventions,
or validating migration safety. Covers routing, query optimization, security.Bad:
description: >
This skill reviews code by checking routing, then controllers, then models,
then queries, then migrations, then security, then caching.Follow exactly. Do not adapt away discipline.
write-tests (tests gate / TDD discipline)refactor-code (characterization tests hard-gate)review-migration (phased rollout hard-gate)Adapt principles to context.
apply-stack-conventionsapply-code-conventionsplan-ticketscreate-service-objectimplement-background-jobmodel-domainProduce findings with severity levels.
code-review — giving a reviewrespond-to-review — receiving and responding to feedback (split from code-review)review-architecturesecurity-checkreview-enginereview-domain-boundariesBeyond HARD-GATEs (which block entirely), some skills use checkpoints — explicit pause-and-confirm steps that require user approval before continuing. Checkpoints differ from gates in that they pause for collaboration, not to enforce a rule.
Defined in: plan-tests (step after writing the first failing spec).
Purpose: Present the failing test(s) to the user before implementation begins. Confirm:
Only proceed to the Implementation Proposal once the test design is approved.
Defined in: write-tests (step in the gate cycle between test validation and implementation).
Purpose: Before writing implementation code, propose the approach in plain language:
Wait for confirmation before writing code. This prevents surprise implementations that require full rewrites.
Defined in: docs/workflow-guide.md (TDD Feature Loop), code-review.
Purpose: Run linters (bundle exec rubocop or project equivalent) and the full test suite before proceeding to YARD documentation or PR. Fix all failures before continuing.
All skills use standard Markdown and YAML frontmatter, which is compatible across:
| Platform | How skills are loaded |
|---|---|
| Cursor | Read from ~/.cursor/skills/ directories |
| Codex | Read from ~/.codex/skills/ directories |
| Claude Code | Loaded via .claude-plugin/plugin.json |
Platform-specific features (hooks, commands, agents) are handled by the infrastructure files, not the skills themselves.
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