Back to articles

Tag archive

#cursorrules

C
Apr 26, 2026

Cursor Rules for Ruby on Rails 8: AI Dev Guide 2026

Eight Cursor rules that make AI write production-grade Rails 8 — skinny controllers with service objects, modern ActiveRecord with scopes and enums, N+1-free queries with includes/pluck/find_each, strong params and form objects, idempotent ActiveJob with Solid Queue, Hotwire over SPAs, Pundit policies for every resource, and RSpec + FactoryBot + system specs with Cuprite.

Apr 26, 202633 min read0 reactions0 comments
C
Apr 26, 2026

Cursor Rules for Elixir: AI-Assisted Dev Guide 2026

Eight Cursor rules that make AI write production-grade Elixir — pattern matching over if/else, tagged tuples as the error protocol, let-it-crash with OTP supervision, disciplined GenServers, Ecto queries in contexts with Multi for transactions, structured concurrency via Task.Supervisor, @spec + Dialyzer on every public API, and Phoenix contexts that keep the web layer thin.

Apr 26, 202618 min read0 reactions0 comments
C
Apr 26, 2026

Cursor Rules for PHP and Laravel: AI Dev Guide 2026

Eight Cursor rules that make AI write production-grade Laravel — Eloquent models with explicit fillable and casts, skinny controllers with Action classes, Form Requests for validation, eager-loaded queries with no DB::raw, queued jobs with idempotent handlers, JsonResource responses, Policy-based authorization, and Pest tests with fakes for the queue, bus, and mailer.

Apr 26, 202632 min read0 reactions0 comments