levifig/rails-instructions

Set of instructions for your favorite AI agent (e.g. Cursor, Copilot, Claude, etc) for a "DHH-driven" Ruby on Rails development philosophy.

54Stars on the repository
34Mods indexed here, across every type
1y agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

api

03

levifig/rails-instructions

Cursor rule Cursor

Remember: APIs are forever. Design them carefully, version them properly, and never break backward compatibility.

54 1y ago A 0 tokens original MIT

controllers

05

levifig/rails-instructions

Cursor rule Cursor

Remember: Controllers are just the translation layer between HTTP and your application. Keep them simple and let other layers handle complexity.

54 1y ago A 0 tokens original MIT

hotwire

08

levifig/rails-instructions

Cursor rule Cursor

Remember: Hotwire is about sending HTML over the wire. Keep your client-side code minimal and let Rails do what it does best - render HTML on the server.

54 1y ago A 0 tokens original MIT

importmaps

09

levifig/rails-instructions

Cursor rule Cursor

Cursor rule "importmaps" from levifig/rails-instructions, covering rails import maps guide, core philosophy, configuration principles, file organization and naming conventions for ai agents.

54 1y ago A 0 tokens original MIT

performance

12

levifig/rails-instructions

Cursor rule Cursor

Remember: Premature optimization is the root of all evil. Profile first, optimize what matters, and keep solutions maintainable.

54 1y ago A 0 tokens original MIT

security

13

levifig/rails-instructions

Cursor rule Cursor

Remember: Security is everyone's responsibility. Build it in from the start, not as an afterthought.

54 1y ago A 0 tokens original MIT

testing

16

levifig/rails-instructions

Cursor rule Cursor

Remember: Tests are your safety net and documentation. Write them first, keep them simple, and maintain them well.

54 1y ago A 0 tokens original MIT