CtrlK
BlogDocsLog inGet started
Tessl Logo

igmarin/rails-agent-skills

Curated library of AI agent skills for Ruby on Rails development. Covers code review, architecture, security, testing (RSpec), engines, service objects, DDD patterns, and workflow automation.

98

1.38x
Quality

99%

Does it follow best practices?

Impact

98%

1.38x

Average score across 26 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

HEURISTICS.mdrefactor-safely/

Refactor Safety Heuristics

Use this file as a review checklist during structural changes.

Common Mistakes

MistakeReality
"Quick refactor, no tests needed"No characterization tests means no safety net.
Mixing behavior change with structural changeMixed intent is hard to validate and review.
Renaming many call sites in one commitDo small batches with tests between batches.
Adding abstractions just to match a patternAbstractions must serve a real boundary.
Deleting old path before proving new pathKeep temporary compatibility until migration is complete.

Red Flags

  • Plan touches many unrelated call sites at once.
  • No tests prove current behavior before starting.
  • Structural cleanup is mixed with new feature work.
  • Old and new paths diverge without migration plan.
  • New abstractions exist only for pattern purity.
  • More than 3 refactor steps without running tests.
  • Language like "should", "probably", "seems to" when claiming test success.

Review Prompts

  • What behavior is explicitly declared as stable?
  • Which exact tests protect each refactor step?
  • What temporary compatibility code exists, and when will it be removed?
  • What is the smallest next reversible step?

README.md

tile.json