CtrlK
BlogDocsLog inGet started
Tessl Logo

igmarin/rails-agent-skills

Curated library of 39 AI agent skills for Ruby on Rails development. Organized by category: planning, testing, code-quality, ddd, engines, infrastructure, api, patterns, context, orchestration, and workflows. Includes 5 callable workflow skills (rails-tdd-loop, rails-review-flow, rails-setup-flow, rails-quality-flow, rails-engines-flow) for complete development cycles. Covers code review, architecture, security, testing (RSpec), engines, service objects, DDD patterns, and TDD automation.

95

1.20x
Quality

98%

Does it follow best practices?

Impact

95%

1.20x

Average score across 35 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

checklist.mdskills/code-quality/rails-code-review/assets/

Rails Code Review Checklist

Quick checklist for PR reviews focusing on Rails app safety, performance, and conventions.

Security & correctness

  • Check strong params and allowed attributes in controllers
  • Verify no SQL injection or unescaped user input in find/where
  • Ensure redirects use allow_host or redirect_to root_path, status: :see_other where appropriate

Database & performance

  • Confirm indexes exist for WHERE/JOIN columns used in queries
  • Look for N+1 queries; suggest includes or counter caches
  • Ensure large deletes/updates use batched operations or delete_all with care

Migrations & schema

  • Migration safety: avoid table rewrites & ensure backfills are safe
  • Prefer reversible migrations and add safety_assured notes if necessary

Testing & coverage

  • Relevant tests added for changed behavior
  • No new behavior without tests (unit or request/integration)

Style & maintainability

  • Controllers are thin; complex logic moved to services
  • No long methods (> 40 lines) without clear decomposition
  • Public interfaces documented with YARD where needed

Release safety

  • Check feature flags exist for behavior toggles
  • Verify no hardcoded credentials or secrets

Output format for findings

  • severity, file, line (optional), risk, recommendation, proof_of_concept

Use this file as the baseline for automated review comments and reviewer guidance.

skills

code-quality

README.md

tile.json