sandeepmvl

60 mods across 1 repository, 21 stars between them.

sandeepmvl/rails-skills

Skill Claude CodeCodex

Migrate a Ruby on Rails application from Oracle Database to PostgreSQL — schema differences (NUMBER to BIGINT/DECIMAL, VARCHAR2 to VARCHAR, CLOB/BLOB to TEXT/BYTEA, sequences, ROWID, hierarchical queries, PL/SQL packages), Oracle Enhanced adapter to pg gem, data migration via ora2pg, the dual-write cutover. Use when…

21 2mo ago A 122 tokens original MIT

react-with-rails

26

sandeepmvl/rails-skills

Skill Claude CodeCodex

Integrate React with a Ruby on Rails app — Inertia.js as the default (server-rendered routing, no separate API), classical API + SPA when Inertia doesn't fit, jsbundling-rails with esbuild, viteruby as a faster alternative, hydration vs full SPA, when React earns the integration cost. Use when integrating React into…

21 2mo ago A 114 tokens original MIT

vue-with-rails

27

sandeepmvl/rails-skills

Skill Claude CodeCodex

Integrate Vue with a Ruby on Rails app — Inertia.js as the default (server-rendered routing), classical API + SPA when Inertia doesn't fit, viteruby with @vitejs/plugin-vue, Vue 3 Composition API, hydration patterns, when Vue earns the integration cost. Use when integrating Vue into Rails, the user mentions Inertia…

21 2mo ago A 101 tokens original MIT

angular-with-rails

28

sandeepmvl/rails-skills

Skill Claude CodeCodex

Integrate Angular with a Ruby on Rails app — classical API + SPA as the default (Angular's full-framework model doesn't fit Inertia well), standalone-components Angular 17+, NgRx vs signals, JWT auth flow, CORS configuration, deploying Angular separately from Rails. Use when integrating Angular into Rails, the user…

21 2mo ago A 92 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Tune Puma for production Rails 8 — worker process count (CPUs × 1.5), thread count per worker (3-5 default), memory budget per worker, jemalloc, preloadapp + fork-safe initializers, the Ruby 3+ YJIT enable, GIL implications for thread count, signal handling, restart strategies, MALLOCARENAMAX. Use when the user…

21 2mo ago A 135 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Asset pipeline for Rails 8 — Propshaft as the new default (replacing Sprockets), Importmap-rails for JS without bundling, jsbundling-rails for esbuild/rollup/webpack, cssbundling-rails for Tailwind/Sass/PostCSS, the Sprockets-to-Propshaft migration, asset host for CDN, digest stamping, far-future expiry headers. Use…

21 2mo ago A 137 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Multi-database Rails 8 — primary + replica for read scaling, separate databases per concern (auth DB, analytics DB), automatic role switching via connectedto + connectsto, replica lag detection, sticky writes (writes-followed-by-reads on primary), GHA-style horizontal sharding, the trilogy/pg per-connection-pool…

21 2mo ago A 117 tokens original MIT

webhook-handling

32

sandeepmvl/rails-skills

Skill Claude CodeCodex

Receive webhooks in Ruby on Rails 8 — signature verification, idempotency via event-ID storage, async processing in jobs (never sync), retry semantics, the raw-body capture for HMAC, replay protection. Use when the user mentions webhooks, webhook signature, HMAC verification, replay protection, idempotency keys…

21 2mo ago A 93 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Stripe webhook integration in Rails 8 — Stripe::Webhook.constructevent for signature + timestamp verification, idempotency via event.id, the canonical event types to handle (paymentintent.succeeded / paymentintent.paymentfailed / charge.refunded / customer.subscription.), test-mode vs live-mode secrets, webhook…

21 2mo ago A 110 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Integrate Ruby on Rails apps with external HTTP APIs — Faraday as the canonical client, retries with exponential backoff, circuit breaker (Stoplight), VCR for tests, timeout discipline (open + read), structured logging of API calls, idempotency keys on writes, rate limit handling, the wrap-in-a-service-object pattern.…

21 2mo ago A 118 tokens original MIT

feature-flagging

35

sandeepmvl/rails-skills

Skill Claude CodeCodex

Feature flags in Ruby on Rails 8 — Flipper as the canonical gem, percentage-rollout and group-based flags, the per-request and per-user evaluation patterns, integration with admin UI and CI, deprecating flags safely, the "every feature behind a flag" anti-pattern. Use when the user mentions Flipper, feature flags…

21 2mo ago A 98 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Architectural patterns beyond fat models — form objects for multi-model form binding, query objects for complex AR querying, presenters / decorators for view logic. When each earns its keep, naming, testing, common smells. Use when models bloat, forms span multiple models, queries get hard to read, views accumulate…

21 2mo ago A 93 tokens original MIT

actiontext-richtext

37

sandeepmvl/rails-skills

Skill Claude CodeCodex

Action Text (rich text) in Rails 8 — Trix editor integration, hasrichtext on models, Active Storage for embedded attachments, the safe-list of HTML tags, custom embeds via attachable mixin, server-side sanitization, XSS prevention, search indexing of plain text. Use when the user mentions Action Text, Trix, rich text…

21 2mo ago A 108 tokens original MIT

i18n-and-timezones

38

sandeepmvl/rails-skills

Skill Claude CodeCodex

Internationalization and time zones in Rails 8 — I18n keys for translations, locale fallbacks, lazy lookup in views, locale switching per-request, the rails-i18n gem, time zone storage strategy (UTC in DB, display in user's zone), Time.zone vs Time.current vs Time.now, timeinzone, daylight saving traps. Use when the…

21 2mo ago A 117 tokens original MIT

rails-search

39

sandeepmvl/rails-skills

Skill Claude CodeCodex

Search in Rails 8 — pgsearch as the default (Postgres full-text + tsvector + trigram), Meilisearch when relevance / typo tolerance / autocomplete matter, Elasticsearch / OpenSearch only when you actually need cluster-scale, Searchkick as a friendly wrapper. Multi-search across models. Indexing strategies (sync, async…

21 2mo ago A 135 tokens original MIT

multi-tenancy

40

sandeepmvl/rails-skills

Skill Claude CodeCodex

Multi-tenant architecture in Rails 8 — scoped-row vs schema-per-tenant vs database-per-tenant trade-offs, the actsastenant gem, subdomain / path / header-based tenant resolution, query scoping that survives raw SQL, background job tenancy, file storage isolation, signup flows, plan-based feature gating. Use when the…

21 2mo ago A 125 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Production console safety in Rails 8 — the production console warning, sandbox mode, read-only consoles, audit logging of console sessions, scrubbing PII, dangerous methods to never run (updateall, deleteall, truncate, raw SQL DELETE/UPDATE without WHERE), the staged-production-console pattern, replacing console with…

21 2mo ago A 111 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

A diagnostic skill that refuses microservices in the wrong contexts and recommends a modular monolith instead. Covers the team-size threshold, the deploy-coupling argument, the distributed-systems tax, when DHH's "majestic monolith" is correct, and the "you're not Netflix" rule. Use when the user mentions…

21 2mo ago A 129 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Decomposing a Rails monolith into services — bounded contexts, service boundaries, public-API contracts, ownership of data, service-to-service authentication, the "shared library" trap, distributed-transaction patterns (saga, outbox), how to NOT recreate the monolith over HTTP. Use ONLY after the user has answered YES…

21 2mo ago A 130 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Incrementally extracting a service from a Rails monolith — the strangler fig pattern, dark-launching, dual-writes with reconciliation, the cutover, the rollback plan, schema-level decoupling before code-level decoupling. Use after the user has decided to extract (see when-NOT-to-use-microservices) and needs to plan or…

21 2mo ago A 125 tokens original MIT

kafka-rails

45

sandeepmvl/rails-skills

Skill Claude CodeCodex

Apache Kafka in Rails — producing and consuming with karafka (recommended), racecar as a thin alternative, ruby-kafka legacy notes, schema management with Avro/Protobuf, partitioning strategy, consumer group offsets, exactly-once vs at-least-once delivery semantics, idempotent consumers, the outbox pattern for…

21 2mo ago A 122 tokens original MIT

rabbitmq-rails

46

sandeepmvl/rails-skills

Skill Claude CodeCodex

RabbitMQ in Rails — bunny client, sneakers for consumers, exchange topology (direct / fanout / topic / headers), durable queues + persistent messages, acknowledgements, dead-letter exchanges, prefetch tuning, when RabbitMQ is the right tool vs Kafka vs Solid Queue. Use when the user mentions RabbitMQ, bunny gem…

21 2mo ago A 107 tokens original MIT

redis-streams-rails

47

sandeepmvl/rails-skills

Skill Claude CodeCodex

Redis Streams (XADD / XREADGROUP / consumer groups) in Rails as a lightweight Kafka — when it fits, the redis-rb client, MAXLEN cap, consumer group semantics, PEL (pending entries list) handling, claiming abandoned entries, when to graduate to Kafka. Use when the user mentions Redis Streams, XADD, XREADGROUP, consumer…

21 2mo ago A 102 tokens original MIT

cdc-debezium-rails

48

sandeepmvl/rails-skills

Skill Claude CodeCodex

Change Data Capture (CDC) from a Rails Postgres database via Debezium into Kafka topics — logical replication setup, wallevel=logical, REPLICA IDENTITY FULL, publication / replication slot, Debezium Connect config, transformations, snapshot mode, schema evolution, when CDC fits vs application-emitted events. Use when…

21 2mo ago A 120 tokens original MIT