← Products

Developer tools - **kws:** clerk, react router, rootauthloader, getauth, middleware, ssr, loaders, authentication, organizations - **license:** unknown **Description EN:** Curated by Skill Harbor — a short pointer to @clerk's official guide for `@clerk/react-router` v3.5+ (React Router v7.9+ and v8): the middleware + loader pipeline (`clerkMiddleware()`, `rootAuthLoader` in `root.tsx`, `getAuth` in loaders and actions), client hooks, organization switching, the v7 vs v8 config differences (the `v8_middleware` future flag, the required `ssr.noExternal` Vite workaround for the dual-Router-context bug), and a common-pitfalls table with fixes. Honest caveats: **no license declared in the repository — license unknown**, so this is a short fiche linking to the source, without reusing its content; version-sensitive — check your installed `react-router` major before scaffolding; needs a Clerk account (free). Skill Harbor never reviews the code, review it yourself before use. Discovered via skills.sh. **Description FR:** Sélectionné par Skill Harbor — un renvoi court vers le guide officiel de @clerk pour `@clerk/react-router` v3.5+ (React Router v7.9+ et v8) : le pipeline middleware + loaders (`clerkMiddleware()`, `rootAuthLoader` dans `root.tsx`, `getAuth` dans les loaders et actions), les hooks client, le changement d'organisation, les différences de config v7 vs v8 (le flag `v8_middleware`, le contournement Vite `ssr.noExternal` requis pour le bug de double contexte Router), et un tableau des pièges courants avec corrections. Bémols honnêtes : **aucune licence déclarée dans le dépôt — licence inconnue**, d'où cette fiche courte avec lien vers la source, sans réutiliser son contenu ; sensible aux versions — vérifier le major de `react-router` avant de scaffolder ; nécessite un compte Clerk (gratuit). Skill Harbor ne vérifie jamais le code, examinez-le vous-même avant usage. Découvert via skills.sh. **Install prompt EN:** ``` Prerequisites: a React Router v7.9+ or v8 project with @clerk/react-router installed; a Clerk account (free tier); no license declared in the source repo — read it yourself before reusing its content Install "Clerk React Router v7/v8 auth patterns" for me. Fetch the SKILL.md and its reference files from the source repository into a temporary folder, review them for anything suspicious, and report in two or three sentences what the guide covers (middleware setup, rootAuthLoader/getAuth usage, v7 vs v8 config differences, common pitfalls) so I can follow it in my own project. Do not copy the guide's content into my project — this is a reference lookup only. Repository: https://github.com/clerk/skills/blob/main/skills/frameworks/clerk-react-router-patterns/SKILL.md GitHub is optional: if I have a GitHub account or the gh CLI, you may use it; otherwise public access is fine. Rules: don't touch anything outside the temp folder. If anything looks off, stop and ask me. ``` **Install prompt FR:** ``` Prérequis : un projet React Router v7.9+ ou v8 avec @clerk/react-router installé ; un compte Clerk (free tier) ; aucune licence déclarée dans le dépôt source — lisez-le vous-même avant d'en réutiliser le contenu Installe-moi « Patterns d'auth Clerk pour React Router v7/v8 ». Récupère le SKILL.md et ses fichiers de référence depuis le dépôt source dans un dossier temporaire, examine-les pour tout contenu suspect, et indique en deux ou trois phrases ce que couvre le guide (configuration middleware, usage rootAuthLoader/getAuth, différences de config v7 vs v8, pièges courants) pour que je puisse le suivre dans mon propre projet. Ne copie pas le contenu du guide dans mon projet — c'est une consultation de référence seulement. Dépôt : https://github.com/clerk/skills/blob/main/skills/frameworks/clerk-react-router-patterns/SKILL.md GitHub est optionnel : si j'ai un compte GitHub ou la CLI gh, tu peux l'utiliser ; sinon l'accès public suffit. Règles : ne touche à rien en dehors du dossier temporaire. Si quelque chose semble anormal, arrête-toi et demande-moi. ``` ---
⚙ Needs: a React Router v7.9+ or v8 project with @clerk/react…

Clerk React Router v7/v8 auth patterns - **name_fr:** Patterns d'auth Clerk pour React Router v7/v8 - **tl_en:** Auth with Clerk in React Router v7/v8 — rootAuthLoader, getAuth in loaders, clerkMiddleware, SSR, org switching - **tl_fr:** Auth avec Clerk dans React Router v7/v8 — rootAuthLoader, getAuth dans les loaders, clerkMiddleware, SSR, changement d'organisation - **creator:** @clerk - **type:** Agent skill - **url:** https://github.com/clerk/skills - **cat:** Developer tools - **kws:** clerk, react router, rootauthloader, getauth, middleware, ssr, loaders, authentication, organizations - **license:** unknown **Description EN:** Curated by Skill Harbor — a short pointer to @clerk's official guide for `@clerk/react-router` v3.5+ (React Router v7.9+ and v8): the middleware + loader pipeline (`clerkMiddleware()`, `rootAuthLoader` in `root.tsx`, `getAuth` in loaders and actions), client hooks, organization switching, the v7 vs v8 config differences (the `v8_middleware` future flag, the required `ssr.noExternal` Vite workaround for the dual-Router-context bug), and a common-pitfalls table with fixes. Honest caveats: **no license declared in the repository — license unknown**, so this is a short fiche linking to the source, without reusing its content; version-sensitive — check your installed `react-router` major before scaffolding; needs a Clerk account (free). Skill Harbor never reviews the code, review it yourself before use. Discovered via skills.sh. **Description FR:** Sélectionné par Skill Harbor — un renvoi court vers le guide officiel de @clerk pour `@clerk/react-router` v3.5+ (React Router v7.9+ et v8) : le pipeline middleware + loaders (`clerkMiddleware()`, `rootAuthLoader` dans `root.tsx`, `getAuth` dans les loaders et actions), les hooks client, le changement d'organisation, les différences de config v7 vs v8 (le flag `v8_middleware`, le contournement Vite `ssr.noExternal` requis pour le bug de double contexte Router), et un tableau des pièges courants avec corrections. Bémols honnêtes : **aucune licence déclarée dans le dépôt — licence inconnue**, d'où cette fiche courte avec lien vers la source, sans réutiliser son contenu ; sensible aux versions — vérifier le major de `react-router` avant de scaffolder ; nécessite un compte Clerk (gratuit). Skill Harbor ne vérifie jamais le code, examinez-le vous-même avant usage. Découvert via skills.sh. **Install prompt EN:** ``` Prerequisites: a React Router v7.9+ or v8 project with @clerk/react-router installed; a Clerk account (free tier); no license declared in the source repo — read it yourself before reusing its content Install "Clerk React Router v7/v8 auth patterns" for me. Fetch the SKILL.md and its reference files from the source repository into a temporary folder, review them for anything suspicious, and report in two or three sentences what the guide covers (middleware setup, rootAuthLoader/getAuth usage, v7 vs v8 config differences, common pitfalls) so I can follow it in my own project. Do not copy the guide's content into my project — this is a reference lookup only. Repository: https://github.com/clerk/skills/blob/main/skills/frameworks/clerk-react-router-patterns/SKILL.md GitHub is optional: if I have a GitHub account or the gh CLI, you may use it; otherwise public access is fine. Rules: don't touch anything outside the temp folder. If anything looks off, stop and ask me. ``` **Install prompt FR:** ``` Prérequis : un projet React Router v7.9+ ou v8 avec @clerk/react-router installé ; un compte Clerk (free tier) ; aucune licence déclarée dans le dépôt source — lisez-le vous-même avant d'en réutiliser le contenu Installe-moi « Patterns d'auth Clerk pour React Router v7/v8 ». Récupère le SKILL.md et ses fichiers de référence depuis le dépôt source dans un dossier temporaire, examine-les pour tout contenu suspect, et indique en deux ou trois phrases ce que couvre le guide (configuration middleware, usage rootAuthLoader/getAuth, différences de config v7 vs v8, pièges courants) pour que je puisse le suivre dans mon propre projet. Ne copie pas le contenu du guide dans mon projet — c'est une consultation de référence seulement. Dépôt : https://github.com/clerk/skills/blob/main/skills/frameworks/clerk-react-router-patterns/SKILL.md GitHub est optionnel : si j'ai un compte GitHub ou la CLI gh, tu peux l'utiliser ; sinon l'accès public suffit. Règles : ne touche à rien en dehors du dossier temporaire. Si quelque chose semble anormal, arrête-toi et demande-moi. ``` ---

Auth with Clerk in React Router v7/v8 — rootAuthLoader, getAuth in loaders, clerkMiddleware, SSR, org switching - **tl_fr:** Auth avec Clerk dans React Router v7/v8 — rootAuthLoader, getAuth dans les loaders, clerkMiddleware, SSR, changement d'organisation - **creator:** @clerk - **type:** Agent skill - **url:** https://github.com/clerk/skills - **cat:** Developer tools - **kws:** clerk, react router, rootauthloader, getauth, middleware, ssr, loaders, authentication, organizations - **license:** unknown **Description EN:** Curated by Skill Harbor — a short pointer to @clerk's official guide for `@clerk/react-router` v3.5+ (React Router v7.9+ and v8): the middleware + loader pipeline (`clerkMiddleware()`, `rootAuthLoader` in `root.tsx`, `getAuth` in loaders and actions), client hooks, organization switching, the v7 vs v8 config differences (the `v8_middleware` future flag, the required `ssr.noExternal` Vite workaround for the dual-Router-context bug), and a common-pitfalls table with fixes. Honest caveats: **no license declared in the repository — license unknown**, so this is a short fiche linking to the source, without reusing its content; version-sensitive — check your installed `react-router` major before scaffolding; needs a Clerk account (free). Skill Harbor never reviews the code, review it yourself before use. Discovered via skills.sh. **Description FR:** Sélectionné par Skill Harbor — un renvoi court vers le guide officiel de @clerk pour `@clerk/react-router` v3.5+ (React Router v7.9+ et v8) : le pipeline middleware + loaders (`clerkMiddleware()`, `rootAuthLoader` dans `root.tsx`, `getAuth` dans les loaders et actions), les hooks client, le changement d'organisation, les différences de config v7 vs v8 (le flag `v8_middleware`, le contournement Vite `ssr.noExternal` requis pour le bug de double contexte Router), et un tableau des pièges courants avec corrections. Bémols honnêtes : **aucune licence déclarée dans le dépôt — licence inconnue**, d'où cette fiche courte avec lien vers la source, sans réutiliser son contenu ; sensible aux versions — vérifier le major de `react-router` avant de scaffolder ; nécessite un compte Clerk (gratuit). Skill Harbor ne vérifie jamais le code, examinez-le vous-même avant usage. Découvert via skills.sh. **Install prompt EN:** ``` Prerequisites: a React Router v7.9+ or v8 project with @clerk/react-router installed; a Clerk account (free tier); no license declared in the source repo — read it yourself before reusing its content Install "Clerk React Router v7/v8 auth patterns" for me. Fetch the SKILL.md and its reference files from the source repository into a temporary folder, review them for anything suspicious, and report in two or three sentences what the guide covers (middleware setup, rootAuthLoader/getAuth usage, v7 vs v8 config differences, common pitfalls) so I can follow it in my own project. Do not copy the guide's content into my project — this is a reference lookup only. Repository: https://github.com/clerk/skills/blob/main/skills/frameworks/clerk-react-router-patterns/SKILL.md GitHub is optional: if I have a GitHub account or the gh CLI, you may use it; otherwise public access is fine. Rules: don't touch anything outside the temp folder. If anything looks off, stop and ask me. ``` **Install prompt FR:** ``` Prérequis : un projet React Router v7.9+ ou v8 avec @clerk/react-router installé ; un compte Clerk (free tier) ; aucune licence déclarée dans le dépôt source — lisez-le vous-même avant d'en réutiliser le contenu Installe-moi « Patterns d'auth Clerk pour React Router v7/v8 ». Récupère le SKILL.md et ses fichiers de référence depuis le dépôt source dans un dossier temporaire, examine-les pour tout contenu suspect, et indique en deux ou trois phrases ce que couvre le guide (configuration middleware, usage rootAuthLoader/getAuth, différences de config v7 vs v8, pièges courants) pour que je puisse le suivre dans mon propre projet. Ne copie pas le contenu du guide dans mon projet — c'est une consultation de référence seulement. Dépôt : https://github.com/clerk/skills/blob/main/skills/frameworks/clerk-react-router-patterns/SKILL.md GitHub est optionnel : si j'ai un compte GitHub ou la CLI gh, tu peux l'utiliser ; sinon l'accès public suffit. Règles : ne touche à rien en dehors du dossier temporaire. Si quelque chose semble anormal, arrête-toi et demande-moi. ``` ---

At a glance
What
Auth with Clerk in React Router v7/v8 — rootAuthLoader, getAuth in loaders, clerkMiddleware, SSR, org switching - **tl_fr:** Auth avec Clerk dans React Router v7/v8 — rootAuthLoader, getAuth dans les loaders, clerkMiddleware, SSR, changement d'organisation - **creator:** @clerk - **type:** Agent skill - **url:** https://github.com/clerk/skills - **cat:** Developer tools - **kws:** clerk, react router, rootauthloader, getauth, middleware, ssr, loaders, authentication, organizations - **license:** unknown **Description EN:** Curated by Skill Harbor — a short pointer to @clerk's official guide for `@clerk/react-router` v3.5+ (React Router v7.9+ and v8): the middleware + loader pipeline (`clerkMiddleware()`, `rootAuthLoader` in `root.tsx`, `getAuth` in loaders and actions), client hooks, organization switching, the v7 vs v8 config differences (the `v8_middleware` future flag, the required `ssr.noExternal` Vite workaround for the dual-Router-context bug), and a common-pitfalls table with fixes. Honest caveats: **no license declared in the repository — license unknown**, so this is a short fiche linking to the source, without reusing its content; version-sensitive — check your installed `react-router` major before scaffolding; needs a Clerk account (free). Skill Harbor never reviews the code, review it yourself before use. Discovered via skills.sh. **Description FR:** Sélectionné par Skill Harbor — un renvoi court vers le guide officiel de @clerk pour `@clerk/react-router` v3.5+ (React Router v7.9+ et v8) : le pipeline middleware + loaders (`clerkMiddleware()`, `rootAuthLoader` dans `root.tsx`, `getAuth` dans les loaders et actions), les hooks client, le changement d'organisation, les différences de config v7 vs v8 (le flag `v8_middleware`, le contournement Vite `ssr.noExternal` requis pour le bug de double contexte Router), et un tableau des pièges courants avec corrections. Bémols honnêtes : **aucune licence déclarée dans le dépôt — licence inconnue**, d'où cette fiche courte avec lien vers la source, sans réutiliser son contenu ; sensible aux versions — vérifier le major de `react-router` avant de scaffolder ; nécessite un compte Clerk (gratuit). Skill Harbor ne vérifie jamais le code, examinez-le vous-même avant usage. Découvert via skills.sh. **Install prompt EN:** ``` Prerequisites: a React Router v7.9+ or v8 project with @clerk/react-router installed; a Clerk account (free tier); no license declared in the source repo — read it yourself before reusing its content Install "Clerk React Router v7/v8 auth patterns" for me. Fetch the SKILL.md and its reference files from the source repository into a temporary folder, review them for anything suspicious, and report in two or three sentences what the guide covers (middleware setup, rootAuthLoader/getAuth usage, v7 vs v8 config differences, common pitfalls) so I can follow it in my own project. Do not copy the guide's content into my project — this is a reference lookup only. Repository: https://github.com/clerk/skills/blob/main/skills/frameworks/clerk-react-router-patterns/SKILL.md GitHub is optional: if I have a GitHub account or the gh CLI, you may use it; otherwise public access is fine. Rules: don't touch anything outside the temp folder. If anything looks off, stop and ask me. ``` **Install prompt FR:** ``` Prérequis : un projet React Router v7.9+ ou v8 avec @clerk/react-router installé ; un compte Clerk (free tier) ; aucune licence déclarée dans le dépôt source — lisez-le vous-même avant d'en réutiliser le contenu Installe-moi « Patterns d'auth Clerk pour React Router v7/v8 ». Récupère le SKILL.md et ses fichiers de référence depuis le dépôt source dans un dossier temporaire, examine-les pour tout contenu suspect, et indique en deux ou trois phrases ce que couvre le guide (configuration middleware, usage rootAuthLoader/getAuth, différences de config v7 vs v8, pièges courants) pour que je puisse le suivre dans mon propre projet. Ne copie pas le contenu du guide dans mon projet — c'est une consultation de référence seulement. Dépôt : https://github.com/clerk/skills/blob/main/skills/frameworks/clerk-react-router-patterns/SKILL.md GitHub est optionnel : si j'ai un compte GitHub ou la CLI gh, tu peux l'utiliser ; sinon l'accès public suffit. Règles : ne touche à rien en dehors du dossier temporaire. Si quelque chose semble anormal, arrête-toi et demande-moi. ``` ---
Cost
Free
Needs
a React Router v7.9+ or v8 project with @clerk/react-router installed; a Clerk account (free tier); no license declared in the source repo — read it yourself before reusing its content
Install
Copy the installer prompt below into your Muse — your agent does the rest.

Version:

@
Created by: @clerk
⌁

Install

Prerequisites: a React Router v7.9+ or v8 project with @clerk/react-router installed; a Clerk account (free tier); no license declared in the source repo — read it yourself before reusing its content Install "Clerk React Router v7/v8 auth patterns" for me. Fetch the SKILL.md and its reference files from the source repository into a temporary folder, review them for anything suspicious, and report in two or three sentences what the guide covers (middleware setup, rootAuthLoader/getAuth usage, v7 vs v8 config differences, common pitfalls) so I can follow it in my own project. Do not copy the guide's content into my project — this is a reference lookup only. Repository: https://github.com/clerk/skills/blob/main/skills/frameworks/clerk-react-router-patterns/SKILL.md GitHub is optional: if I have a GitHub account or the gh CLI, you may use it; otherwise public access is fine. Rules: don't touch anything outside the temp folder. If anything looks off, stop and ask me.

?

Questions

How do I install a build?

Every product page includes a copy-paste install prompt. Paste it into your Muse and it sets the build up for you — no manual configuration.

Where does my money go?

Straight to the seller. Skill Harbor never processes payments: checkout happens on the seller’s own page, usually Stripe.

What does the ✓ next to a creator’s name mean?

It means we confirmed the identity of the person behind the listing. It says nothing about the code itself — always check a build before installing it.