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.

React Router best practices: data and forms v1.0.0

Use this resource to write reliable React Router routes for data and forms

New

  • 368 downloads
  • 108 likes
  • 130 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install react-router-data-patterns

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 writes or reviews routes, loaders and actions against the rules: server-side validation, redirect after action, no loading waterfalls, error boundaries. You get more robust and faster routes.

Mostly picked by

Updated November 2, 2026

Card for the “React Router best practices: data and forms” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md : summary of the 55 rules by category
  • rules/action-validation.md and rules/error-boundary-route.md : validation and error handling

Good fit for

  • A form must validate its data on the server
  • A route loads its data in a cascade or handles errors poorly

Not for

    Tags

    • react router
    • loaders
    • actions
    • forms

    About

    You say

    “Add server-side validation to this React Router action form.”

    Card for the “React Router best practices: data and forms” skill

    Skill published by sergiodxa 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 reliable React Router routes for data and forms
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • rules/action-client-validation.md5.3 KB
    • rules/action-error-handling.md2.4 KB
    • rules/action-redirect-after.md3.4 KB
    • rules/action-validation.md2.7 KB
    • rules/action-zod-transform.md4.5 KB
    • rules/client-ip-address.md0.5 KB
    • rules/clientloader-debounce.md3.8 KB
    • rules/cors-headers.md0.6 KB
    • rules/data-only-route-calls-hooks.md2.4 KB
    • rules/data-parent-route-data.md2.5 KB
    • rules/error-boundary-layout.md4 KB
    • rules/error-boundary-route.md3.7 KB
    • rules/form-fetcher-vs-form.md3.5 KB
    • rules/form-honeypot.md1.3 KB
    • rules/form-pending-state.md2.7 KB
    • rules/form-persist-on-error.md4.5 KB
    • rules/form-reset-on-success.md3.7 KB
    • rules/link-prefetch-intent.md2.4 KB
    • rules/loader-action-abort-signal.md2.8 KB
    • rules/loader-avoid-waterfalls.md5.4 KB
    • rules/loader-colocate-queries.md2.2 KB
    • rules/loader-parallel-fetch.md1.7 KB
    • rules/loader-request-caching.md4.8 KB
    • rules/loader-revalidation-patterns.md6.1 KB
    • rules/loader-typing.md1.9 KB
    • rules/loader-url-validation.md1.8 KB
    • rules/meta-function-v2.md3.5 KB
    • rules/middleware-batcher.md1 KB
    • rules/middleware-context-storage.md1 KB
    • rules/middleware-logger.md0.7 KB
    • rules/middleware-request-id.md0.9 KB
    • rules/middleware-server-timing.md0.9 KB
    • rules/middleware-session.md1.7 KB
    • rules/middleware-singleton.md0.9 KB
    • rules/migrate-defer-to-data.md3.3 KB
    • rules/migrate-json-to-data.md3.6 KB
    • rules/migrate-jsonhash-to-native.md3.1 KB
    • rules/migrate-namedaction-to-intent.md6 KB
    • rules/navigation-avoid-navigate-back.md1.4 KB
    • rules/prefetch-cache.md0.7 KB
    • rules/prefetch-fetcher-data.md4.6 KB
    • rules/response-helpers.md0.5 KB
    • rules/route-action-routes.md4.5 KB
    • rules/route-auth-middleware.md4.9 KB
    • rules/route-component-naming.md1.9 KB
    • rules/route-handle-metadata.md2.8 KB
    • rules/route-import-restrictions.md3.6 KB
    • rules/route-organization.md6 KB
    • rules/route-resource-routes.md3.9 KB
    • rules/route-should-revalidate.md3.3 KB
    • rules/safe-redirects.md0.9 KB
    • rules/sec-fetch-guards.md1 KB
    • rules/sse-event-stream.md0.9 KB
    • rules/streaming-await-suspense.md3.4 KB
    • rules/typed-cookies.md0.6 KB
    • SKILL.md25.7 KB

    Origin and licence

    Listed unmodified

    Author
    sergiodxa
    Source
    github.com/sergiodxa/agent-skills/tree/40e21b46189d5c7de6610b68a25280af863f8775/skills/frontend-react-router-best-practices
    Licence
    MIT

    Notice

    « frontend-react-router-best-practices » (sergiodxa, 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.