github.com/igmarin/rails-agent-skills
Skill | Added | Review |
|---|---|---|
rails-agent-skills This skill is the starting point for all Rails tasks. It identifies the correct, more specialized skill to use for a given task, like code reviews, TDD, or documentation, and enforces the 'Tests Gate Implementation' mandate. | 74 1.49x Agent success vs baseline Impact 91% 1.49xAverage score across 3 eval scenarios Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
rails-graphql-best-practices Use when building or reviewing GraphQL APIs in Rails with the graphql-ruby gem. Covers schema design, N+1 prevention with dataloaders, field-level auth, query limits, error handling, and testing resolvers/mutations with RSpec. | 86 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
rails-engine-installers Use when creating install generators, copied migrations, or initializer installers for Rails engines. Covers idempotent setup tasks, host-app onboarding, and route mount setup. | 79 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
ddd-rails-modeling Use when modeling Domain-Driven Design concepts in a Ruby on Rails codebase. Covers Rails-first mapping of entities, aggregates, value objects, domain services, application services, repositories, and domain events without over-engineering or fighting Rails conventions. | 88 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
rspec-service-testing Use when writing RSpec tests for service objects, API clients, orchestrators, or business logic in spec/services/. Covers instance_double, FactoryBot hash factories, shared_examples, subject/let blocks, context/describe structure, aggregate_failures, change matchers, travel_to, and error scenario testing. | 86 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
rails-engine-extraction Use when extracting existing Rails app code into a reusable engine. Trigger words: extract to engine, move feature to engine, host coupling, adapters, extraction slices, preserve behavior, incremental extraction, bounded feature. | 79 1.49x Agent success vs baseline Impact 91% 1.49xAverage score across 3 eval scenarios Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
refactor-safely Use when the goal is to change code structure without changing behavior — this includes extracting a service object from a fat controller or model, splitting a large class, renaming abstractions, reducing duplication, or reorganizing modules. Covers characterization tests (write tests that document current behavior before touching the code), safe extraction in small steps, and verification after every step. Do NOT use for bug fixes or new features — those follow the TDD gate in rspec-best-practices. Do NOT mix structural changes with behavior changes in the same step. | 90 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
rails-engine-release Use when preparing a release, updating gemspec, writing changelog, handling deprecations, setting semantic version, planning upgrade notes, migration guide, or shipping a Rails engine as a gem. Trigger words: version bump, changelog, deprecation, gemspec, upgrade, migration guide, release. | 79 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
generate-tasks Generates phased plans or step-by-step task lists in Markdown from a PRD or feature description. Tasks include checkboxes, relevant file paths, test commands, YARD documentation, and code-review gates for Rails-oriented workflows. | 78 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
rails-stack-conventions Use when writing new Rails code for a project using PostgreSQL, Hotwire, and Tailwind CSS. Covers MVC structure, query patterns, Turbo Frames/Streams, Stimulus controllers, and Tailwind components. For design principles, use rails-code-conventions. | 77 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
rails-engine-docs Use when writing or maintaining documentation for Rails engines. Trigger words: engine README, installation guide, configuration docs, mount instructions, migration notes, extension points, host integration examples, setup documentation. | 75 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
rails-migration-safety Use when planning or reviewing production database migrations, adding columns, indexes, constraints, backfills, renames, table rewrites, or concurrent operations. Covers phased rollouts, lock behavior, rollback strategy, strong_migrations compliance, and deployment ordering for schema changes. | 95 1.49x Agent success vs baseline Impact 91% 1.49xAverage score across 3 eval scenarios Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
ruby-service-objects Use when creating or refactoring Ruby service classes in Rails. Covers the .call pattern, module namespacing, YARD documentation, standardized responses, orchestrator delegation, transaction wrapping, and error handling conventions. | 90 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
ddd-ubiquitous-language Use when a Ruby on Rails feature, bug, or architecture discussion has fuzzy business terminology and you need a Domain-Driven Design ubiquitous language. Covers canonical terms, synonyms, overloaded words, naming conflicts, and glossary output for Rails-first workflows. | 78 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
api-rest-collection Use when creating or modifying REST API endpoints (Rails controllers, engine routes, API actions). Requires generating or updating an API Collection file (e.g., Postman Collection v2.1) so the new or changed endpoints can be tested. Trigger words: endpoint, API route, controller action, API collection, request collection. | 86 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
rails-bug-triage Use when investigating a bug in a Ruby on Rails codebase and you need to turn the report into a reproducible failing spec and fix plan. Covers reproduction, scope narrowing, boundary selection, and TDD-first handoff. | 80 1.49x Agent success vs baseline Impact 91% 1.49xAverage score across 3 eval scenarios Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
rails-review-response Use when you have received code review feedback on Rails code and need to decide what to implement, how to respond, and in what order. Covers evaluating reviewer suggestions, pushing back with technical reasoning, avoiding performative agreement, implementing feedback safely one item at a time, and triggering a re-review when needed. | 100 1.16x Agent success vs baseline Impact 100% 1.16xAverage score across 26 eval scenarios Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
rails-code-review Reviews Rails pull requests, focusing on controller/model conventions, migration safety, query performance, and Rails Way compliance. Covers routing, ActiveRecord, security, caching, and background jobs. Use when reviewing existing Rails code for quality. | 81 1.49x Agent success vs baseline Impact 91% 1.49xAverage score across 3 eval scenarios Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
rails-tdd-slices Use when choosing the best first failing spec or vertical slice for a Ruby on Rails change. Covers request vs model vs service vs job vs engine spec selection, system spec escalation, smallest safe slice planning, and Rails-first TDD sequencing. | 88 1.49x Agent success vs baseline Impact 91% 1.49xAverage score across 3 eval scenarios Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
rails-engine-author Use when creating, scaffolding, or refactoring a Rails engine. Covers engine types (Plain, Railtie, Engine, Mountable), namespace isolation, host-app contract definition, and recommended file structure. | 84 1.49x Agent success vs baseline Impact 91% 1.49xAverage score across 3 eval scenarios Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
rails-engine-testing Use when creating or improving RSpec test coverage for Rails engines. Covers dummy app setup, request, routing, generator, and configuration specs for proving engine behavior within a host application. | 82 1.49x Agent success vs baseline Impact 91% 1.49xAverage score across 3 eval scenarios Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
rails-security-review Use when reviewing Rails code for security risks, assessing authentication or authorization, auditing parameter handling, redirects, file uploads, secrets management, or checking for XSS, CSRF, SSRF, SQL injection, and other common vulnerabilities. | 85 1.49x Agent success vs baseline Impact 91% 1.49xAverage score across 3 eval scenarios Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
ddd-boundaries-review Use when reviewing a Ruby on Rails app for Domain-Driven Design boundaries, bounded contexts, language leakage, cross-context orchestration, or unclear ownership. Covers context mapping, leakage detection, and smallest credible boundary improvements. | 90 1.49x Agent success vs baseline Impact 91% 1.49xAverage score across 3 eval scenarios Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
rails-architecture-review Use when reviewing Rails application structure, identifying fat models or controllers, auditing callbacks, concerns, service extraction, domain boundaries, or general Rails architecture decisions. Covers controller orchestration, model responsibilities, and abstraction quality. | 92 1.49x Agent success vs baseline Impact 91% 1.49xAverage score across 3 eval scenarios Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
rspec-best-practices Use when writing, reviewing, or cleaning up RSpec tests for Ruby and Rails codebases. Covers spec type selection, factory design, flaky test fixes, shared examples, deterministic assertions, test-driven development discipline, and choosing the best first failing spec for Rails changes. Also applies when choosing between model, request, system, and job specs. | 88 1.49x Agent success vs baseline Impact 91% 1.49xAverage score across 3 eval scenarios Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
create-prd Generates a clear, actionable Product Requirements Document (PRD) in Markdown from a feature description. Use when a user asks to plan a feature, define requirements, or create a PRD. Covers goals, user stories, requirements, and non-goals for Rails-oriented workflows. | 93 1.49x Agent success vs baseline Impact 91% 1.49xAverage score across 3 eval scenarios Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
rails-engine-compatibility Use when maintaining compatibility for Rails engines across Rails and Ruby versions. Trigger words: Zeitwerk, autoloading, Rails upgrade, dependency bounds, gemspec, feature detection, CI matrix, reload safety, deprecated APIs, cross-version support. | 64 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
rails-background-jobs Use when adding or reviewing background jobs in Rails. Covers Active Job, Solid Queue (Rails 8+), Sidekiq, recurring jobs, idempotency, retry/discard strategies, and queue selection. | 82 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
rails-engine-reviewer Use when reviewing a Rails engine, mountable engine, or Railtie. Covers namespace boundaries, host-app integration, safe initialization, migrations, generators, and dummy app test coverage. Prioritizes architectural risks. | 90 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: ae8ea63 | |
ticket-planning Drafts, classifies, and optionally creates tickets from an initiative plan. Use when the user provides a plan and wants ticket drafts, wants help shaping a plan into tickets, wants sprint-placement guidance, or wants tickets created in an issue tracker after the plan is approved. | 85 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: ae8ea63 |