Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Ruby on Rails best practices v1.0.0

Use this resource to write, review or optimize a Ruby on Rails application

New

  • 535 downloads
  • 139 likes
  • 249 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install rails-api-performance-practices

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent applies 45 rules ranked by impact to ActiveRecord queries, controllers, caching, APIs and background jobs. You get Rails code that is faster and easier to maintain.

Mostly picked by

Updated November 2, 2026

Card for the “Ruby on Rails best practices” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • AGENTS.md: rules by category, from database to jobs
  • references/cache-counter-cache.md: counter caches; references/api-pagination.md: API pagination

Good fit for

  • Your Rails pages run too many SQL queries
  • You are building a JSON API with Rails

Not for

    Tags

    • rails
    • activerecord
    • performance
    • api

    About

    You say

    “Find the N+1 queries in this Rails controller and fix them.”

    Card for the “Ruby on Rails best practices” skill

    Skill published by pproenca under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to write, review or optimize a Ruby on Rails application
    3. Review and adjust the result

    Content preview

    Files

    • AGENTS.md0.2 KB
    • assets/templates/_template.md0.9 KB
    • LICENSE1.1 KB
    • metadata.json1.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/_sections.md2 KB
    • references/api-avoid-jbuilder-hot-paths.md1.2 KB
    • references/api-error-responses.md1.6 KB
    • references/api-pagination.md1.3 KB
    • references/api-serializers.md1.6 KB
    • references/api-versioning.md1.2 KB
    • references/cache-conditional-get.md1.4 KB
    • references/cache-counter-cache.md1.5 KB
    • references/cache-fragment-caching.md1.5 KB
    • references/cache-low-level.md1.6 KB
    • references/cache-russian-doll.md1.4 KB
    • references/ctrl-before-action-scoping.md1.3 KB
    • references/ctrl-rescue-from.md1.7 KB
    • references/ctrl-respond-to-format.md1.5 KB
    • references/ctrl-restful-routes.md1.3 KB
    • references/ctrl-strong-params.md1.3 KB
    • references/ctrl-thin-controllers.md1.8 KB
    • references/db-add-database-indexes.md1.8 KB
    • references/db-avoid-queries-in-loops.md0.8 KB
    • references/db-batch-processing.md1.1 KB
    • references/db-eager-load-associations.md1.3 KB
    • references/db-exists-over-count.md1 KB
    • references/db-safe-migrations.md1.3 KB
    • references/db-select-specific-columns.md1.1 KB
    • references/db-use-scopes.md1.2 KB
    • references/job-error-handling.md1.3 KB
    • references/job-idempotent-design.md1.3 KB
    • references/job-small-payloads.md1.4 KB
    • references/job-unique-jobs.md1.6 KB
    • references/model-avoid-callback-side-effects.md1.7 KB
    • references/model-concerns-for-shared-behavior.md1.6 KB
    • references/model-query-objects.md1.7 KB
    • references/model-scope-over-class-methods.md1.6 KB
    • references/model-use-enums.md1.3 KB
    • references/model-use-service-objects.md1.6 KB
    • references/model-validate-at-model-level.md1.4 KB
    • references/sec-authenticate-before-authorize.md1.4 KB
    • references/sec-csrf-protection.md1.1 KB
    • references/sec-parameterized-queries.md1 KB
    • references/sec-scope-queries-to-user.md1.1 KB
    • references/sec-strong-params-whitelist.md1.1 KB
    • references/view-avoid-logic-in-views.md1.6 KB
    • references/view-collection-rendering.md0.9 KB
    • references/view-form-with.md1.1 KB
    • references/view-turbo-frames.md1.3 KB
    • references/view-turbo-streams.md1.4 KB
    • SKILL.md7.6 KB

    Origin and licence

    Listed unmodified

    Author
    pproenca
    Source
    github.com/pproenca/dot-skills/tree/cf93c57cac89d6fc3e4194686000411567f5caf3/skills/.curated/rails-dev
    Licence
    MIT

    Notice

    « rails-dev » (pproenca, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.