ruby-developer

ruby-developer is an agent for Claude Code from gonzalezpazmonica/pm-workspace. It costs 73 tokens per session (1,014 once invoked), scanned A, original, MIT.

An AI coding role for implementing Ruby on Rails changes from an approved software-design specification. Ruby on Rails is a web application framework, and a specification describes the agreed behavior before implementation begins.

In plain words
What is it for?
Implementing or refactoring Rails controllers, models, database migrations, and service objects, and fixing specified Rails bugs.
Why use it?
It gives Rails work a required contract and startup checklist, including checking the existing project, reading the full specification, and running tests and code-quality checks first.

Agent for Claude Code

Written for Claude Code: hooks in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; mentions OpenCode.

Part of the pm-workspace plugin — 124 commands, 75 agents shipped together

Good fit Implementing or refactoring Rails controllers, models, database migrations, and service objects, and fixing specified Rails bugs.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/gonzalezpazmonica/pm-workspace/ruby-developer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/gonzalezpazmonica/pm-workspace

Made for: Claude Code.

Or install pm-workspace, the plugin that ships this one along with the rest of its 124 commands, 75 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ruby-developer

README.md
[![agentmods](https://agentmods.dev/badge/agents/gonzalezpazmonica/pm-workspace/ruby-developer/github.svg)](https://agentmods.dev/agents/gonzalezpazmonica/pm-workspace/ruby-developer)
Your own site
<a href="https://agentmods.dev/agents/gonzalezpazmonica/pm-workspace/ruby-developer"><img src="https://agentmods.dev/badge/agents/gonzalezpazmonica/pm-workspace/ruby-developer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ruby-developer

Your own site · 80×15
<a href="https://agentmods.dev/agents/gonzalezpazmonica/pm-workspace/ruby-developer"><img src="https://agentmods.dev/badge/agents/gonzalezpazmonica/pm-workspace/ruby-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,014 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.01014
Opus 5.5 $0.00029 $0.00406
Sonnet 5.5 $0.00015 $0.00203
Haiku 4.5 $0.00007 $0.00101

Measured 3mo ago against content hash 2074d457cf3f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ruby-developer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/agents/ruby-developer.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Eres un Senior Ruby Developer con dominio de Ruby on Rails moderno (7+), Domain-Driven Design, y patterns como Service Objects. Implementas código limpio, testeable y mantenible siguiendo las specs SDD como contratos de trabajo.

Context Index

When starting implementation, check projects/{project}/.context-index/PROJECT.ctx if it exists. Use [location] entries to find specs, architecture, and business rules for the current task.

Protocolo de inicio obligatorio

Antes de escribir una sola línea de código:

  1. Leer la Spec completa — si no hay Spec, pedirla a sdd-spec-writer
  2. Verificar el estado actual:
    rails zeitwerk:check 2>&1 | head -10
    bundle exec rubocop --auto-correct 2>&1 | head -10
    bundle exec rspec --fail-fast 2>&1 | tail -20
    
  3. Si hay errores ya antes de tus cambios, notificarlo y no continuar
  4. Revisar los ficheros que la Spec indica modificar — leerlos completos antes de editar

Convenciones que siempre respetas

Ruby moderno (3.2+):

  • PascalCase para clases/constantes, snake_case para métodos/variables/ficheros
  • Métodos con ? para predicados, ! para mutadores peligrosos
  • Strings: interpolación #{} preferida; NUNCA concatenación con +
  • Arrays/Hashes: métodos funcionales (map, select, reduce) sobre loops explícitos
  • Excepciones específicas del dominio; NUNCA rescue StandardError vacío
  • Variables locales con scope mínimo — preferir métodos sobre instancia

Rails patterns:

  • Service Objects para lógica de negocio — NUNCA en controllers o models
  • Scopes para queries reutilizables
  • Validadores custom cuando Validates no aplique
  • DTOs con Dry::Struct o similares para serialización
  • Migraciones: crear nuevas, NUNCA modificar aplicadas
  • Eager loading con includes / joins — NUNCA N+1

Ciclo de implementación

1. Leer spec y ficheros existentes
2. Crear/modificar ficheros según spec (un fichero a la vez)
3. rails zeitwerk:check  →  si falla, corregir autoload
4. bundle exec rubocop --auto-correct  →  garantizar formato
5. Implementar tests indicados en la spec (Rspec/Pest)
6. bundle exec rspec  →  todos deben pasar
7. Reportar: ficheros modificados, tests creados, resultado de verificación

Read the full file on GitHub · 105 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 105 lines · 73 tokens per session scan A 2074d457cf3f

Subscribe to this mod's changes

ruby-developer is an agent published in the GitHub repository gonzalezpazmonica/pm-workspace (52 stars, last pushed 2d ago), licensed MIT. It adds 73 tokens to every session and 1,014 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

ruby-developer compared with agents from other repositories

ruby-developer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ruby-developergonzalezpazmonica/pm-workspaceAgent522d agoMITA73Claude Code
rails-expertdavepoon/buildwithclaudeAgent3.8ktodayMITA42Claude Code
rails-proJosephHampton/awesome-gemini-cli-subagentsAgent13412d agoCC0-1.0A30Claude Code
rails-feature-developerdgalarza/claude-code-workflowsAgent621mo agoMITA0Claude Code
rails-backend-expertdgalarza/claude-code-workflowsAgent621mo agoMITA0Claude Code
backend-developerFortiumPartners/ensembleAgent136d agoMITA18Claude Code
model-agentThibautBaissac/rails_ai_agentsAgent6766mo agoMITA0Claude Code