CtrlK
BlogDocsLog inGet started
Tessl Logo

igmarin/rails-agent-skills

Curated library of 28 public AI agent skills for Ruby on Rails development. Organized by category: testing, code-quality, engines, infrastructure, api, and context. Covers code review, architecture, security, testing (RSpec), engines, Hotwire, and TDD automation. Shared Ruby skills (YARD docs, DDD, service objects) have moved to ruby-core-skills. Repository agents remain documented in GitHub but are intentionally excluded from the Tessl tile.

93

1.78x
Quality

95%

Does it follow best practices?

Impact

93%

1.78x

Average score across 28 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

README.md

Rails Agent Skills

Rails Agent Skills Logo

It is a curated library of public Rails agent skills and callable agents that teach AI tools how to test, implement, document, and review Rails work using production-minded conventions. This repository acts as a pure Domain Knowledge Registry and asset catalog of specialized Rails & Ruby AI Skills/Agents, consumable by external MCP or CLI runtimes.

The project is built around one non-negotiable rule:

Write test -> run test -> verify it fails for the right reason -> implement -> verify it passes

That TDD gate is encoded directly into the skills and agents, so agents do not just produce plausible Rails code. They follow a repeatable engineering process.

Part of the AI Skill Ecosystem

This repo is one of 6 in a composable AI skill ecosystem:

RepoRole
ruby-core-skills15 shared Ruby skills + process discipline
rails-agent-skills28 Rails-specific skills + 9 agents
hanakai-yaku35 Hanami/dry-rb skills + 10 agents
agnostic-planning-skills10 planning skills + 4 agents
agent-mcp-runtimeRust CLI runtime (pack resolution, MCP)
ruby-skill-benchBenchmark/eval engine

See the Ecosystem Overview for the full architecture.

This repo depends on ruby-core-skills. See Migration Guide.

Supported agent environments

ChatGPT Claude Cursor GitHub Copilot Google Gemini Mistral AI OpenCode Qwen Windsurf

Official distribution

GitHub tag tessl License: MIT

What are Agent Skills?

Agent Skills are a lightweight, open format for extending AI agent capabilities with specialized knowledge and workflows. At its core, a skill is a folder containing a SKILL.md file. This file includes metadata (name and description, at minimum) and instructions that tell an agent how to perform a specific task.

This repository follows the Agent Skills standard, meaning you can install the entire catalog of Rails skills atomically into any compatible agent (e.g., Cursor, Claude Code, Goose, OpenCode, Gemini CLI) using:

npx skills add igmarin/rails-agent-skills

Who This Is For

ReaderWhat you get
Rails developersAgent instructions for common Rails work: tests, services, APIs, GraphQL, migrations, jobs, Hotwire, engines, security, and review.
Team leadsA repeatable workflow that makes AI-assisted work easier to review because tests, docs, and self-review are part of the process.
Junior developersStep-by-step Rails workflow guidance that explains what to do next instead of dumping generic code.
Senior developersOpinionated guardrails for TDD, architecture, review, DDD, engines, performance, and production-safe changes.
Recruiters and evaluatorsA concrete example of AI tooling designed around engineering discipline, validation, and distribution.

What Is In The Repository

AreaPurpose
skills/28 public atomic skills for Rails-specific development. Each skill has a SKILL.md entry point with task-specific instructions.
agents/Callable agents that chain skills into full development loops (tdd, quality, review, setup, engine, bug-fix, graphql, migration, background-job).
docs/Public documentation, architecture, agent guides, skill catalog, and evaluation policy.
tessl-evals/Tessl-native eval scenarios for publishable skills in tile.json.
personal-evals/Open examples for the upcoming ruby-skill-bench full-context evaluator.

Core Dependency: This repository depends on igmarin/ruby-core-skills for 15 foundational Ruby skills (DDD, Ruby patterns, process skills, code quality, orchestration). Install both repositories for the complete skill set.

The skills are not long-form tutorials. They are executable instructions for AI agents: when to gather context, when to stop for a checkpoint, how to write the first failing test, what Rails conventions to apply, and how to review the result.

Daily Workflow

Depending on your environment, you can orchestrate your daily Rails work using these common loops. For explicit control in Cursor or Windsurf, prepend these with @ (e.g., @load-context).

The core TDD feature loop:

load-context
  -> plan-tests
  -> write-tests
  -> [verify failing test]
  -> [implement]
  -> [verify passing test]
  -> write-yard-docs
  -> code-review

For a bug:

bug-fix (triage -> reproduce test -> fix -> verify)

For a GraphQL API:

graphql (domain modeling -> schema design -> TDD -> security review)

For a database migration:

migration (plan -> test -> staging -> production deployment)

For a background job:

background-job (design -> TDD -> retry config -> monitoring)

For a Rails engine:

create-engine -> test-engine -> document-engine -> review-engine -> release-engine

See docs/agent-guide.md and docs/agents/ for the full process guide containing detailed Mermaid diagrams of each phase.

Skill Catalog

The library contains 28 public Rails-specific skills organized by development concern, plus 15 core Ruby skills available from the dependency igmarin/ruby-core-skills.

CategoryLocal SkillsCore Skills (from ruby-core-skills)
Testingplan-tests, write-tests, test-servicetriage-bug, test-planning-process, tdd-process
Code Qualitycode-review, security-check, review-architecture, apply-code-conventions, apply-stack-conventions, implement-authorization, refactor-coderespond-to-review, review-process, security-review-process, refactor-process
DDDdefine-domain-language, review-domain-boundaries, model-domain
Enginescreate-engine, test-engine, document-engine, review-engine, release-engine, create-engine-installer, extract-engine, upgrade-engine
Infrastructurereview-migration, implement-background-job, seed-database, optimize-performance, version-api, implement-hotwire
APIgenerate-api-collection, implement-graphqlintegrate-api-client
Contextload-context, setup-environment
Patternscreate-service-object, implement-calculator-pattern
Orchestrationskill-router
Documentationwrite-yard-docs

Use docs/reference/skill-catalog.md for the complete catalog and docs/reference/integration-matrix.md for skill chaining.

Quality And Evaluation

This repo uses two complementary evaluation layers.

LayerStatusWhat it validates
TesslPublic and activeTessl-native scenarios in tessl-evals/ validate the quality of publishable skills from tile.json. Tessl does not validate repository agents today.
ruby-skill-benchComing soonThe upcoming Ruby gem will run personal-evals/ examples with full skill or agent context, including SKILL.md plus companion resources bundled as XML.

Root evals/ is generated Tessl staging output and must stay untracked. tessl-evals/ is the tracked Tessl source. personal-evals/ is the tracked source for open custom-evaluator examples.

See docs/eval-provenance.md for the canonical eval ownership policy and docs/skill-optimization-guide.md for the baseline-vs-context optimization loop.

Install Selected Skills With GitHub CLI

Requires GitHub CLI v2.90.0+ with gh skill.

# Install the core dependency first for complete functionality
gh skill install igmarin/ruby-core-skills

# Install all skills interactively
gh skill install igmarin/rails-agent-skills

# Install a specific skill for the current project
gh skill install igmarin/rails-agent-skills code-review --scope project

# Install a specific skill globally
gh skill install igmarin/rails-agent-skills code-review --scope user

# Install pinned to a release tag
gh skill install igmarin/rails-agent-skills code-review --pin v6.0.0 --scope user

# Search this repository's skills
gh skill search rails --owner igmarin

To target a specific agent host:

gh skill install igmarin/rails-agent-skills plan-tests --agent claude-code --scope user
gh skill install igmarin/rails-agent-skills plan-tests --agent cursor --scope user
gh skill install igmarin/rails-agent-skills plan-tests --agent codex --scope user
gh skill install igmarin/rails-agent-skills plan-tests --agent gemini-cli --scope user
gh skill install igmarin/rails-agent-skills plan-tests --agent windsurf --scope user

Update installed skills:

gh skill update --dry-run
gh skill update --all
gh skill update --force --all
gh skill update --unpin

Pinning to a tag or commit SHA gives you reproducible installs. Provenance metadata is written into each installed SKILL.md frontmatter.

Documentation Map

NeedDocument
Understand the docs systemdocs/README.md
Browse all skillsdocs/reference/skill-catalog.md
Understand skill chainingdocs/reference/integration-matrix.md
Follow agent guidesdocs/agent-guide.md
Understand repository structuredocs/architecture.md
Understand eval ownershipdocs/eval-provenance.md
Optimize skill eval qualitydocs/skill-optimization-guide.md

Contributing

When contributing skills, agents, or docs:

  • Keep generated artifacts in English unless a user explicitly asks for another language.
  • Preserve the tests-gate-implementation rule for every code-producing skill.
  • Do not add tickets unless the user asks for ticket generation.
  • Do not commit generated root evals/ output.
  • Keep public docs consistent with tile.json and the latest release tag.

Acknowledgments

Huge thanks to Mumo Carlos (@mumoc). His mentorship shaped many of the habits reflected here, especially the discipline around quality, clarity, and thoughtful use of tools.

README.md

tile.json