Clerk Next.js patterns: middleware, Server Actions, caching - **name_fr:** Patterns Clerk Next.js : middleware, Server Actions, cache - **tl_en:** Advanced Clerk auth patterns for Next.js — middleware strategies, Server Actions, API routes, JWT tokens, user-scoped caching - **tl_fr:** Patterns d'auth Clerk avancés pour Next.js — stratégies middleware, Server Actions, routes API, tokens JWT, cache par utilisateur - **creator:** @clerk - **type:** Agent skill - **url:** https://github.com/clerk/skills - **cat:** Developer tools - **kws:** clerk, next.js, middleware, server actions, auth, jwt, caching, api routes, authentication - **license:** unknown **Description EN:** Curated by Skill Harbor — a short pointer to @clerk's official guide for advanced Next.js auth patterns: server vs client auth (`await auth()` vs hooks), public-first vs protected-first middleware strategies, protecting Server Actions and API routes (401 vs 403), user-scoped caching pitfalls, passing custom JWTs to external APIs via `getToken()`, and manual JWT verification for standalone API servers. Honest caveats: **no license declared in the repository — license unknown**, so this is a short fiche linking to the source, without reusing its content; requires a Clerk account and keys (development keys can be generated with `clerk init`, no account needed); covers Core 3 and Core 2 callouts. 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 sur les patterns d'auth avancés pour Next.js : auth serveur vs client (`await auth()` vs hooks), stratégies middleware public-first vs protected-first, protection des Server Actions et routes API (401 vs 403), pièges du cache par utilisateur, passage de JWT custom à des API externes via `getToken()`, et vérification JWT manuelle pour les API standalone. 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 ; nécessite un compte Clerk et des clés (des clés de développement peuvent être générées avec `clerk init`, sans compte) ; couvre Core 3 avec callouts Core 2. 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 Next.js project with Clerk installed; a Clerk account or development keys from `clerk init` (free); no license declared in the source repo — read it yourself before reusing its content Install "Clerk Next.js patterns: middleware, Server Actions, caching" 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 strategies, Server Action protection, API route auth, JWT tokens, caching 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-nextjs-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 Next.js avec Clerk installé ; un compte Clerk ou des clés de développement via `clerk init` (gratuit) ; 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 Clerk Next.js : middleware, Server Actions, cache ». 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 (stratégies middleware, protection des Server Actions, auth des routes API, tokens JWT, pièges de cache) 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-nextjs-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. ``` ---
Advanced Clerk auth patterns for Next.js — middleware strategies, Server Actions, API routes, JWT tokens, user-scoped caching - **tl_fr:** Patterns d'auth Clerk avancés pour Next.js — stratégies middleware, Server Actions, routes API, tokens JWT, cache par utilisateur - **creator:** @clerk - **type:** Agent skill - **url:** https://github.com/clerk/skills - **cat:** Developer tools - **kws:** clerk, next.js, middleware, server actions, auth, jwt, caching, api routes, authentication - **license:** unknown **Description EN:** Curated by Skill Harbor — a short pointer to @clerk's official guide for advanced Next.js auth patterns: server vs client auth (`await auth()` vs hooks), public-first vs protected-first middleware strategies, protecting Server Actions and API routes (401 vs 403), user-scoped caching pitfalls, passing custom JWTs to external APIs via `getToken()`, and manual JWT verification for standalone API servers. Honest caveats: **no license declared in the repository — license unknown**, so this is a short fiche linking to the source, without reusing its content; requires a Clerk account and keys (development keys can be generated with `clerk init`, no account needed); covers Core 3 and Core 2 callouts. 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 sur les patterns d'auth avancés pour Next.js : auth serveur vs client (`await auth()` vs hooks), stratégies middleware public-first vs protected-first, protection des Server Actions et routes API (401 vs 403), pièges du cache par utilisateur, passage de JWT custom à des API externes via `getToken()`, et vérification JWT manuelle pour les API standalone. 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 ; nécessite un compte Clerk et des clés (des clés de développement peuvent être générées avec `clerk init`, sans compte) ; couvre Core 3 avec callouts Core 2. 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 Next.js project with Clerk installed; a Clerk account or development keys from `clerk init` (free); no license declared in the source repo — read it yourself before reusing its content Install "Clerk Next.js patterns: middleware, Server Actions, caching" 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 strategies, Server Action protection, API route auth, JWT tokens, caching 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-nextjs-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 Next.js avec Clerk installé ; un compte Clerk ou des clés de développement via `clerk init` (gratuit) ; 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 Clerk Next.js : middleware, Server Actions, cache ». 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 (stratégies middleware, protection des Server Actions, auth des routes API, tokens JWT, pièges de cache) 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-nextjs-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. ``` ---
- What
- Advanced Clerk auth patterns for Next.js — middleware strategies, Server Actions, API routes, JWT tokens, user-scoped caching - **tl_fr:** Patterns d'auth Clerk avancés pour Next.js — stratégies middleware, Server Actions, routes API, tokens JWT, cache par utilisateur - **creator:** @clerk - **type:** Agent skill - **url:** https://github.com/clerk/skills - **cat:** Developer tools - **kws:** clerk, next.js, middleware, server actions, auth, jwt, caching, api routes, authentication - **license:** unknown **Description EN:** Curated by Skill Harbor — a short pointer to @clerk's official guide for advanced Next.js auth patterns: server vs client auth (`await auth()` vs hooks), public-first vs protected-first middleware strategies, protecting Server Actions and API routes (401 vs 403), user-scoped caching pitfalls, passing custom JWTs to external APIs via `getToken()`, and manual JWT verification for standalone API servers. Honest caveats: **no license declared in the repository — license unknown**, so this is a short fiche linking to the source, without reusing its content; requires a Clerk account and keys (development keys can be generated with `clerk init`, no account needed); covers Core 3 and Core 2 callouts. 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 sur les patterns d'auth avancés pour Next.js : auth serveur vs client (`await auth()` vs hooks), stratégies middleware public-first vs protected-first, protection des Server Actions et routes API (401 vs 403), pièges du cache par utilisateur, passage de JWT custom à des API externes via `getToken()`, et vérification JWT manuelle pour les API standalone. 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 ; nécessite un compte Clerk et des clés (des clés de développement peuvent être générées avec `clerk init`, sans compte) ; couvre Core 3 avec callouts Core 2. 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 Next.js project with Clerk installed; a Clerk account or development keys from `clerk init` (free); no license declared in the source repo — read it yourself before reusing its content Install "Clerk Next.js patterns: middleware, Server Actions, caching" 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 strategies, Server Action protection, API route auth, JWT tokens, caching 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-nextjs-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 Next.js avec Clerk installé ; un compte Clerk ou des clés de développement via `clerk init` (gratuit) ; 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 Clerk Next.js : middleware, Server Actions, cache ». 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 (stratégies middleware, protection des Server Actions, auth des routes API, tokens JWT, pièges de cache) 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-nextjs-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 Next.js project with Clerk installed; a Clerk account or development keys from `clerk init` (free); 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.
Curated by Skill Harbor — a short pointer to @clerk's official guide for advanced Next.js auth patterns: server vs client auth (`await auth()` vs hooks), public-first vs protected-first middleware strategies, protecting Server Actions and API routes (401 vs 403), user-scoped caching pitfalls, passing custom JWTs to external APIs via `getToken()`, and manual JWT verification for standalone API servers. Honest caveats: **no license declared in the repository — license unknown**, so this is a short fiche linking to the source, without reusing its content; requires a Clerk account and keys (development keys can be generated with `clerk init`, no account needed); covers Core 3 and Core 2 callouts. Skill Harbor never reviews the code, review it yourself before use. Discovered via skills.sh.
Version:
Install
Prerequisites: a Next.js project with Clerk installed; a Clerk account or development keys from `clerk init` (free); no license declared in the source repo — read it yourself before reusing its content Install "Clerk Next.js patterns: middleware, Server Actions, caching" 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 strategies, Server Action protection, API route auth, JWT tokens, caching 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-nextjs-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.