Skip to content
Back to skills

Remix Apps

ASecurity

Build Remix and React Router framework routes: loaders, actions, error boundaries and streaming defer

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
developmentreactdatabasefrontendfullstack

Works with

  • cli

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add AdityaaaTiwari/ANVIL --skill remix-apps --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Remix Apps?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Remix Apps
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adityaaatiwari-remix-apps/badge)](https://www.skillsdirectory.com/skills/adityaaatiwari-remix-apps)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Build Remix and React Router framework routes: loaders, actions, error boundaries and streaming defer
profile: standard
tags: remix, react, frontend, fullstack
---

# Remix apps

Use when writing Remix / React Router framework-mode `loader`, `action`, route modules, or form mutations.

## Server vs client split
- Keep database queries, session cookies, and private env vars strictly inside `loader`, `action`, and `*.server.ts` files. Never import server-only modules from shared components.
- Return minimal serializable fields from `loader` instead of leaking full DB models into HTML hydration payloads.
- Revalidate auth and ownership inside every `action` and nested `loader`; sibling routes execute loaders in parallel rather than waiting on parent auth guards.

## Forms and mutations
- Prefer `<Form>` / `useFetcher` progressive enhancement over custom `fetch` + manual cache invalidation; let Remix revalidate route loaders automatically after actions complete.
- Always validate `await request.formData()` with a schema on the server and return structured field errors (`data({ errors }, { status: 400 })`).
- Set explicit `redirect()` targets only from server-validated routes; prevent open redirects on `?redirectTo=` parameters.

## Error handling and headers
Export route-level `ErrorBoundary` components and use `headers` carefully (`Cache-Control: private` on user-specific responses).

## Verify
Run `tsc --noEmit`, typegen + `vite build`, unit tests for loaders/actions (auth rejection + 400 errors), and smoke tests verifying navigation revalidation.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.