remix
Installation
SKILL.md
Build and Review a Remix App
Find Context and Documentation
Read the relevant installed documentation before using unfamiliar Remix APIs:
- Read the app's
AGENTS.md,package.json, andtsconfig.json, then inspect the code that owns the behavior being changed. - Search
node_modules/remix/INDEX.mdby task, export, or keyword, for examplegrep -i 'session' node_modules/remix/INDEX.md. - Follow the index to the relevant guide for the workflow, then the package README for exact imports, options, behavior, and examples. If there is no relevant guide, use the API README and existing app patterns.
Treat the installed documentation as canonical, including when it differs from this skill. Do not rely on remembered Remix 2 patterns or online APIs from a newer version. If the installation has no index, inspect its package.json exports and matching installed READMEs, source, and types.
Remix Mental Model
Remix builds on Web APIs such as Request, Response, URL, and FormData. Its APIs compose explicitly at runtime; do not assume file-based routing, generated route types, or a mandatory build step.
Routes, Router, and Controllers
Remix apps generally separate routing into three parts: