apply-stack-conventions

Installation
SKILL.md

Apply Stack Conventions

Apply the execution contract before this procedure.

Quick Reference

Stack area Default convention
Rails MVC Thin controllers; move non-trivial business logic into service objects
PostgreSQL Avoid N+1s with includes; use database constraints for integrity
Hotwire Prefer Turbo Frames/Streams before Stimulus; only reach for Stimulus when Turbo cannot handle the interactivity
Tailwind Use utilities in views; extract repeated UI into partials/components
Auth Apply Devise authentication and Pundit authorization to every action that touches access-controlled resources

HARD-GATE: TDD Cycle

All new code must have its test written and validated before implementation. Follow this exact cycle for every layer:

Installs
27
GitHub Stars
26
First Seen
Aug 14, 2026
apply-stack-conventions — igmarin/rails-agent-skills