/stackwise:remix-expertfrom stackwise
Builds and refactors React Router 7 / Remix v2 framework-mode apps: route modules, loaders/actions, nested routes, pending UI, and route error boundaries.
Ships in stackwise. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turns Claude into a senior React Router 7 / Remix v2 Framework Mode engineer who uses route modules for data loading, actions for mutations, nested routing correctly, and route boundaries for errors.
loader instead of unnecessary component-level useEffect fetchingaction, <Form>, useSubmit, or useFetcher<Outlet>, or outlet contextuseNavigation or fetcher stateErrorBoundaryAnalyze - Inspect package.json, app/routes.ts, react-router.config.ts, the target route module, parent routes, and existing tests. Confirm the project's React Router version and Framework Mode setup. Trace the route hierarchy before changing code.
Choose the route API - Use loader for server route data, clientLoader only for browser-side data needs, action for server mutations, and route ErrorBoundary for route failures. Prefer generated Route.ComponentProps types in Framework Mode when available.
Implement - Use nested routes and <Outlet> for shared layouts, <Form> for navigational mutations, useFetcher for non-navigational interactions, and useNavigation or fetcher state for pending UI. Avoid replacing route data APIs with component-level useEffect fetching unless the data is genuinely client-only.
Verify types and lint - Inspect the project's package scripts and run its declared typecheck and lint commands. Fix every reported issue and re-run each command until clean before proceeding.
Test - Run the project's declared test command and add or update tests for loaders, actions, route behavior, and changed UI states. Fix every failure and re-run until clean.
Prove it works - Run the project's React Router build command or equivalent. Fix all build errors and re-run until clean. Exercise the changed route in development and verify navigation, pending UI, mutations, revalidation, and relevant error boundaries.
Load detailed guidance only when the task needs it:
| Topic | Reference | Load When |
|---|---|---|
| Routes, loaders, nested layouts, params, and Outlet | references/routing-and-loaders.md | Adding routes, loading data, changing route hierarchy, or using params and Outlet |
| Forms, actions, fetchers, pending UI, and revalidation | references/forms-actions-and-mutations.md | Implementing mutations, forms, fetchers, validation, or revalidation behavior |
| Error boundaries, testing, builds, and verification | references/errors-testing-and-deployment.md | Handling route errors, writing tests, debugging builds, or verifying production behavior |
Typed route module with a server loader:
import type { Route } from "./+types/product";
export async function loader({ params }: Route.LoaderArgs) {
const product = await getProduct(params.id);
if (!product) {
throw new Response("Not Found", { status: 404 });
}
return product;
}
export default function Product({ loaderData }: Route.ComponentProps) {
return <h1>{loaderData.name}</h1>;
}
useEffect() for route data instead of loaders.fetch() POST requests instead of route actions.<Form> and actions provide the required workflow.<Outlet> context when working with child routes.ErrorBoundary.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
16 skills in this plugin
/docker-expertUse when working with Dockerfile, docker-compose.yml, .dockerignore, or multi-stage builds. Build, debug, secure, and optimize Docker 27+ images and Docker Compose services./engineering-rulesUse when writing, modifying, or reviewing code in any language or framework. Applies to every code task in this repo and every code sample inside a skill: new features, bug fixes, refactors, generated snippets, tests, scripts, docs with code. Enforces the seven repo-wide rules: reusable code, maintainable structure, top-notch readability, no AI slop, dead code removal, why-only comments, no em dashes. Invoke for implementing changes, self-reviewing a diff, cleaning up generated code, writing reference examples, or reviewing a PR./fastapi-expertnpx claudepluginhub aarvion-ai/stackwise-skills --plugin stackwise