[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AZ59JHDZFPGWTCX6CF81DT":3,"skill-same:01M7AZ59JHDZFPGWTCX6CF81DT":100},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":14,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7AZ59JHDZFPGWTCX6CF81DT","clerk-nextjs-patterns",null,"Advanced Next.js patterns - middleware, Server Actions, caching with Clerk.","dbillion\u002Fhermes-skills-public","dbillion","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F49393855?v=4","01M7AVH8QPGCM8WKWS22TRT0T6","Oludayo Adeoye","01M7AVH8RD1JJWA0YS9CFEWAV9",0,"MIT","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fclerk-nextjs-patterns\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: clerk-nextjs-patterns\ndescription: Advanced Next.js patterns - middleware, Server Actions, caching with\n  Clerk.\nlicense: MIT\nallowed-tools: WebFetch\ncompatibility: Requires NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY and CLERK_SECRET_KEY. For manual JWT verification (standalone API servers without Clerk middleware), additionally requires CLERK_JWT_KEY or CLERK_PEM_PUBLIC_KEY.\nmetadata:\n  author: clerk\n  version: 2.2.0\n---\n\n# Next.js Patterns\n\n> **Version**: Check `package.json` for the SDK version — see `clerk` skill for the version table. Core 2 differences are noted inline with `> **Core 2 ONLY (skip if current SDK):**` callouts.\n\nFor basic setup, see `clerk-setup` skill.\n\n## What Do You Need?\n\n| Task | Reference |\n|------|-----------|\n| Server vs client auth (`auth()` vs hooks) | references\u002Fserver-vs-client.md |\n| Configure middleware (public-first vs protected-first) | references\u002Fmiddleware-strategies.md |\n| Protect Server Actions | references\u002Fserver-actions.md |\n| API route auth (401 vs 403) | references\u002Fapi-routes.md |\n| Cache auth data (user-scoped caching) | references\u002Fcaching-auth.md |\n\n## References\n\n| Reference | Description |\n|-----------|-------------|\n| `references\u002Fserver-vs-client.md` | `await auth()` vs hooks |\n| `references\u002Fmiddleware-strategies.md` | Public-first vs protected-first, `proxy.ts` (Next.js \u003C=15: `middleware.ts`) |\n| `references\u002Fserver-actions.md` | Protect mutations |\n| `references\u002Fapi-routes.md` | 401 vs 403 |\n| `references\u002Fcaching-auth.md` | User-scoped caching |\n\n## Mental Model\n\nServer vs Client = different auth APIs:\n- **Server**: `await auth()` from `@clerk\u002Fnextjs\u002Fserver` (async!)\n- **Client**: `useAuth()` hook from `@clerk\u002Fnextjs` (sync)\n\nNever mix them. Server Components use server imports, Client Components use hooks.\n\nKey properties from `auth()`:\n- `isAuthenticated` — boolean, replaces the `!!userId` pattern\n- `sessionStatus` — `'active'` | `'pending'`, for detecting incomplete session tasks\n- `userId`, `orgId`, `orgSlug`, `has()`, `protect()` — unchanged\n\n> **Core 2 ONLY (skip if current SDK):** `isAuthenticated` and `sessionStatus` are not available. Check `!!userId` instead.\n\n## Minimal Pattern\n\n```typescript\n\u002F\u002F Server Component\nimport { auth } from '@clerk\u002Fnextjs\u002Fserver'\n\nexport default async function Page() {\n  const { isAuthenticated, userId } = await auth()  \u002F\u002F MUST await!\n  if (!isAuthenticated) return \u003Cp>Not signed in\u003C\u002Fp>\n  return \u003Cp>Hello {userId}\u003C\u002Fp>\n}\n```\n\n> **Core 2 ONLY (skip if current SDK):** `isAuthenticated` is not available. Use `if (!userId)` instead.\n\n### Conditional Rendering with `\u003CShow>`\n\nFor client-side conditional rendering based on auth state. `\u003CShow>` covers both authentication checks and authorization (feature, plan, role, permission) in one component.\n\n**Authentication check:**\n\n```tsx\nimport { Show } from '@clerk\u002Fnextjs'\n\n\u003CShow when=\"signed-in\" fallback={\u003Cp>Please sign in\u003C\u002Fp>}>\n  \u003CDashboard \u002F>\n\u003C\u002FShow>\n```\n\n**Authorization checks (B2B):**\n\n```tsx\n\u002F\u002F Feature-based (preferred — features can move between plans without redeploy)\n\u003CShow when={{ feature: 'analytics' }} fallback={\u003CUpgradePrompt \u002F>}>\n  \u003CAnalyticsDashboard \u002F>\n\u003C\u002FShow>\n\n\u002F\u002F Permission-based (preferred over role-based for granular access)\n\u003CShow when={{ permission: 'org:invoices:create' }}>\n  \u003CNewInvoiceButton \u002F>\n\u003C\u002FShow>\n\n\u002F\u002F Plan-based (tier-level gating)\n\u003CShow when={{ plan: 'pro' }}>\n  \u003CProFeatures \u002F>\n\u003C\u002FShow>\n\n\u002F\u002F Role-based (use sparingly — prefer permission)\n\u003CShow when={{ role: 'org:admin' }}>\n  \u003CAdminPanel \u002F>\n\u003C\u002FShow>\n```\n\n**Callback for complex logic:**\n\n```tsx\n\u003CShow when={(has) => has({ role: 'org:admin' }) || has({ role: 'org:billing_manager' })}>\n  \u003CBillingActions \u002F>\n\u003C\u002FShow>\n```\n\n> **Core 2 ONLY (skip if current SDK):** `\u003CShow>` does not exist. For authentication, use `\u003CSignedIn>` and `\u003CSignedOut>`. For authorization (role \u002F permission), use `\u003CProtect>` with the same prop names (`role`, `permission`, `condition`). Feature- and plan-based variants require Core 3. See `clerk-custom-ui` skill, `core-3\u002Fshow-component.md` for the full migration table.\n\n## Common Pitfalls\n\n| Symptom | Cause | Fix |\n|---------|-------|-----|\n| `undefined` userId in Server Component | Missing `await` | `await auth()` not `auth()` |\n| Auth not working on API routes | Missing matcher | Add `'\u002F(api|trpc)(.*)'` to `proxy.ts` (Next.js \u003C=15: `middleware.ts`) |\n| Cache returns wrong user's data | Missing userId in key | Include `userId` in `unstable_cache` key |\n| Mutations bypass auth | Unprotected Server Action | Check `auth()` at start of action |\n| Wrong HTTP error code | Confused 401\u002F403 | 401 = not signed in, 403 = no permission |\n\n## Session Tokens & Custom JWTs\n\n### getToken() for external APIs\n\nPass a custom JWT to third-party services (Hasura, Supabase, etc.) using JWT templates defined in the Clerk dashboard.\n\n**Server-side (Server Component or Route Handler)**:\n\n```typescript\nimport { auth } from '@clerk\u002Fnextjs\u002Fserver'\n\nexport default async function Page() {\n  const { getToken } = await auth()\n  const token = await getToken({ template: 'hasura' })\n  if (!token) return \u003Cp>Not authenticated\u003C\u002Fp>\n\n  const res = await fetch('https:\u002F\u002Fapi.example.com\u002Fgraphql', {\n    headers: { Authorization: `Bearer ${token}` },\n  })\n  const data = await res.json()\n  return \u003Cpre>{JSON.stringify(data)}\u003C\u002Fpre>\n}\n```\n\n**Client-side (Client Component)**:\n\n```typescript\n'use client'\nimport { useAuth } from '@clerk\u002Fnextjs'\n\nexport function DataFetcher() {\n  const { getToken } = useAuth()\n\n  async function fetchData() {\n    const token = await getToken({ template: 'supabase' })\n    if (!token) return\n\n    const res = await fetch('https:\u002F\u002Fapi.example.com\u002Fdata', {\n      headers: { Authorization: `Bearer ${token}` },\n    })\n    return res.json()\n  }\n\n  return \u003Cbutton onClick={fetchData}>Fetch\u003C\u002Fbutton>\n}\n```\n\n`getToken()` returns `null` when the user is not authenticated — always null-check before use.\n\n### useSession() for session data\n\nAccess session metadata in client components:\n\n```typescript\n'use client'\nimport { useSession } from '@clerk\u002Fnextjs'\n\nexport function SessionInfo() {\n  const { session } = useSession()\n  if (!session) return null\n\n  return (\n    \u003Cp>\n      Session {session.id} — last active: {session.lastActiveAt.toISOString()}\n    \u003C\u002Fp>\n  )\n}\n```\n\n### Manual JWT verification (no Clerk middleware)\n\nFor standalone API servers that receive Clerk session tokens from the `Authorization` header or the `__session` cookie (same-origin).\n\n**Using `@clerk\u002Fbackend` `verifyToken`** (recommended):\n\n```typescript\nimport { verifyToken } from '@clerk\u002Fbackend'\n\nconst token = req.headers.authorization?.replace('Bearer ', '')\nif (!token) return res.status(401).json({ error: 'No token' })\n\ntry {\n  const claims = await verifyToken(token, {\n    jwtKey: process.env.CLERK_JWT_KEY,\n  })\n  \u002F\u002F claims.sub = userId\n} catch {\n  return res.status(401).json({ error: 'Invalid token' })\n}\n```\n\n**Using `jsonwebtoken`** (when you can't use `@clerk\u002Fbackend`):\n\n```typescript\nimport jwt from 'jsonwebtoken'\n\nconst publicKey = process.env.CLERK_PEM_PUBLIC_KEY!.replace(\u002F\\\\n\u002Fg, '\\n')\nconst token = req.headers.authorization?.replace('Bearer ', '')\nif (!token) return res.status(401).json({ error: 'No token' })\n\ntry {\n  const claims = jwt.verify(token, publicKey, { algorithms: ['RS256'] }) as jwt.JwtPayload\n  \u002F\u002F Manually check exp and nbf (jsonwebtoken does this automatically, but verify azp if needed)\n  \u002F\u002F claims.sub = userId\n} catch {\n  return res.status(401).json({ error: 'Invalid or expired token' })\n}\n```\n\nToken sources:\n- **Same-origin requests**: `__session` cookie (Clerk sets this automatically)\n- **Cross-origin \u002F mobile \u002F API-to-API**: `Authorization: Bearer \u003Ctoken>` header\n\n> **CRITICAL**: Always check `exp` and `nbf` claims. `verifyToken` from `@clerk\u002Fbackend` handles this automatically; with raw `jsonwebtoken`, set `ignoreExpiration: false` (default) and ensure `clockTolerance` is minimal.\n\n## See Also\n\n- `clerk-setup` - Initial Clerk install\n- `clerk-orgs` - B2B patterns (active org, role\u002Fpermission gating)\n- `clerk-billing` - Plan and feature entitlements with `has()`\n- `clerk-webhooks` - Sync user\u002Forg events to your database\n- `clerk-custom-ui` - Theming and customization for built-in components\n\n## Docs\n\n[Next.js SDK](https:\u002F\u002Fclerk.com\u002Fdocs\u002Freference\u002Fnextjs\u002Foverview)\n","# Next.js Patterns\n\n> **Version**: Check `package.json` for the SDK version — see `clerk` skill for the version table. Core 2 differences are noted inline with `> **Core 2 ONLY (skip if current SDK):**` callouts.\n\nFor basic setup, see `clerk-setup` skill.\n\n## What Do You Need?\n\n| Task | Reference |\n|------|-----------|\n| Server vs client auth (`auth()` vs hooks) | references\u002Fserver-vs-client.md |\n| Configure middleware (public-first vs protected-first) | references\u002Fmiddleware-strategies.md |\n| Protect Server Actions | references\u002Fserver-actions.md |\n| API route auth (401 vs 403) | references\u002Fapi-routes.md |\n| Cache auth data (user-scoped caching) | references\u002Fcaching-auth.md |\n\n## References\n\n| Reference | Description |\n|-----------|-------------|\n| `references\u002Fserver-vs-client.md` | `await auth()` vs hooks |\n| `references\u002Fmiddleware-strategies.md` | Public-first vs protected-first, `proxy.ts` (Next.js \u003C=15: `middleware.ts`) |\n| `references\u002Fserver-actions.md` | Protect mutations |\n| `references\u002Fapi-routes.md` | 401 vs 403 |\n| `references\u002Fcaching-auth.md` | User-scoped caching |\n\n## Mental Model\n\nServer vs Client = different auth APIs:\n- **Server**: `await auth()` from `@clerk\u002Fnextjs\u002Fserver` (async!)\n- **Client**: `useAuth()` hook from `@clerk\u002Fnextjs` (sync)\n\nNever mix them. Server Components use server imports, Client Components use hooks.\n\nKey properties from `auth()`:\n- `isAuthenticated` — boolean, replaces the `!!userId` pattern\n- `sessionStatus` — `'active'` | `'pending'`, for detecting incomplete session tasks\n- `userId`, `orgId`, `orgSlug`, `has()`, `protect()` — unchanged\n\n> **Core 2 ONLY (skip if current SDK):** `isAuthenticated` and `sessionStatus` are not available. Check `!!userId` instead.\n\n## Minimal Pattern\n\n```typescript\n\u002F\u002F Server Component\nimport { auth } from '@clerk\u002Fnextjs\u002Fserver'\n\nexport default async function Page() {\n  const { isAuthenticated, userId } = await auth()  \u002F\u002F MUST await!\n  if (!isAuthenticated) return \u003Cp>Not signed in\u003C\u002Fp>\n  return \u003Cp>Hello {userId}\u003C\u002Fp>\n}\n```\n\n> **Core 2 ONLY (skip if current SDK):** `isAuthenticated` is not available. Use `if (!userId)` instead.\n\n### Conditional Rendering with `\u003CShow>`\n\nFor client-side conditional rendering based on auth state. `\u003CShow>` covers both authentication checks and authorization (feature, plan, role, permission) in one component.\n\n**Authentication check:**\n\n```tsx\nimport { Show } from '@clerk\u002Fnextjs'\n\n\u003CShow when=\"signed-in\" fallback={\u003Cp>Please sign in\u003C\u002Fp>}>\n  \u003CDashboard \u002F>\n\u003C\u002FShow>\n```\n\n**Authorization checks (B2B):**\n\n```tsx\n\u002F\u002F Feature-based (preferred — features can move between plans without redeploy)\n\u003CShow when={{ feature: 'analytics' }} fallback={\u003CUpgradePrompt \u002F>}>\n  \u003CAnalyticsDashboard \u002F>\n\u003C\u002FShow>\n\n\u002F\u002F Permission-based (preferred over role-based for granular access)\n\u003CShow when={{ permission: 'org:invoices:create' }}>\n  \u003CNewInvoiceButton \u002F>\n\u003C\u002FShow>\n\n\u002F\u002F Plan-based (tier-level gating)\n\u003CShow when={{ plan: 'pro' }}>\n  \u003CProFeatures \u002F>\n\u003C\u002FShow>\n\n\u002F\u002F Role-based (use sparingly — prefer permission)\n\u003CShow when={{ role: 'org:admin' }}>\n  \u003CAdminPanel \u002F>\n\u003C\u002FShow>\n```\n\n**Callback for complex logic:**\n\n```tsx\n\u003CShow when={(has) => has({ role: 'org:admin' }) || has({ role: 'org:billing_manager' })}>\n  \u003CBillingActions \u002F>\n\u003C\u002FShow>\n```\n\n> **Core 2 ONLY (skip if current SDK):** `\u003CShow>` does not exist. For authentication, use `\u003CSignedIn>` and `\u003CSignedOut>`. For authorization (role \u002F permission), use `\u003CProtect>` with the same prop names (`role`, `permission`, `condition`). Feature- and plan-based variants require Core 3. See `clerk-custom-ui` skill, `core-3\u002Fshow-component.md` for the full migration table.\n\n## Common Pitfalls\n\n| Symptom | Cause | Fix |\n|---------|-------|-----|\n| `undefined` userId in Server Component | Missing `await` | `await auth()` not `auth()` |\n| Auth not working on API routes | Missing matcher | Add `'\u002F(api|trpc)(.*)'` to `proxy.ts` (Next.js \u003C=15: `middleware.ts`) |\n| Cache returns wrong user's data | Missing userId in key | Include `userId` in `unstable_cache` key |\n| Mutations bypass auth | Unprotected Server Action | Check `auth()` at start of action |\n| Wrong HTTP error code | Confused 401\u002F403 | 401 = not signed in, 403 = no permission |\n\n## Session Tokens & Custom JWTs\n\n### getToken() for external APIs\n\nPass a custom JWT to third-party services (Hasura, Supabase, etc.) using JWT templates defined in the Clerk dashboard.\n\n**Server-side (Server Component or Route Handler)**:\n\n```typescript\nimport { auth } from '@clerk\u002Fnextjs\u002Fserver'\n\nexport default async function Page() {\n  const { getToken } = await auth()\n  const token = await getToken({ template: 'hasura' })\n  if (!token) return \u003Cp>Not authenticated\u003C\u002Fp>\n\n  const res = await fetch('https:\u002F\u002Fapi.example.com\u002Fgraphql', {\n    headers: { Authorization: `Bearer ${token}` },\n  })\n  const data = await res.json()\n  return \u003Cpre>{JSON.stringify(data)}\u003C\u002Fpre>\n}\n```\n\n**Client-side (Client Component)**:\n\n```typescript\n'use client'\nimport { useAuth } from '@clerk\u002Fnextjs'\n\nexport function DataFetcher() {\n  const { getToken } = useAuth()\n\n  async function fetchData() {\n    const token = await getToken({ template: 'supabase' })\n    if (!token) return\n\n    const res = await fetch('https:\u002F\u002Fapi.example.com\u002Fdata', {\n      headers: { Authorization: `Bearer ${token}` },\n    })\n    return res.json()\n  }\n\n  return \u003Cbutton onClick={fetchData}>Fetch\u003C\u002Fbutton>\n}\n```\n\n`getToken()` returns `null` when the user is not authenticated — always null-check before use.\n\n### useSession() for session data\n\nAccess session metadata in client components:\n\n```typescript\n'use client'\nimport { useSession } from '@clerk\u002Fnextjs'\n\nexport function SessionInfo() {\n  const { session } = useSession()\n  if (!session) return null\n\n  return (\n    \u003Cp>\n      Session {session.id} — last active: {session.lastActiveAt.toISOString()}\n    \u003C\u002Fp>\n  )\n}\n```\n\n### Manual JWT verification (no Clerk middleware)\n\nFor standalone API servers that receive Clerk session tokens from the `Authorization` header or the `__session` cookie (same-origin).\n\n**Using `@clerk\u002Fbackend` `verifyToken`** (recommended):\n\n```typescript\nimport { verifyToken } from '@clerk\u002Fbackend'\n\nconst token = req.headers.authorization?.replace('Bearer ', '')\nif (!token) return res.status(401).json({ error: 'No token' })\n\ntry {\n  const claims = await verifyToken(token, {\n    jwtKey: process.env.CLERK_JWT_KEY,\n  })\n  \u002F\u002F claims.sub = userId\n} catch {\n  return res.status(401).json({ error: 'Invalid token' })\n}\n```\n\n**Using `jsonwebtoken`** (when you can't use `@clerk\u002Fbackend`):\n\n```typescript\nimport jwt from 'jsonwebtoken'\n\nconst publicKey = process.env.CLERK_PEM_PUBLIC_KEY!.replace(\u002F\\\\n\u002Fg, '\\n')\nconst token = req.headers.authorization?.replace('Bearer ', '')\nif (!token) return res.status(401).json({ error: 'No token' })\n\ntry {\n  const claims = jwt.verify(token, publicKey, { algorithms: ['RS256'] }) as jwt.JwtPayload\n  \u002F\u002F Manually check exp and nbf (jsonwebtoken does this automatically, but verify azp if needed)\n  \u002F\u002F claims.sub = userId\n} catch {\n  return res.status(401).json({ error: 'Invalid or expired token' })\n}\n```\n\nToken sources:\n- **Same-origin requests**: `__session` cookie (Clerk sets this automatically)\n- **Cross-origin \u002F mobile \u002F API-to-API**: `Authorization: Bearer \u003Ctoken>` header\n\n> **CRITICAL**: Always check `exp` and `nbf` claims. `verifyToken` from `@clerk\u002Fbackend` handles this automatically; with raw `jsonwebtoken`, set `ignoreExpiration: false` (default) and ensure `clockTolerance` is minimal.\n\n## See Also\n\n- `clerk-setup` - Initial Clerk install\n- `clerk-orgs` - B2B patterns (active org, role\u002Fpermission gating)\n- `clerk-billing` - Plan and feature entitlements with `has()`\n- `clerk-webhooks` - Sync user\u002Forg events to your database\n- `clerk-custom-ui` - Theming and customization for built-in components\n\n## Docs\n\n[Next.js SDK](https:\u002F\u002Fclerk.com\u002Fdocs\u002Freference\u002Fnextjs\u002Foverview)\n",{"name":5,"license":15,"metadata":24,"description":7,"allowed-tools":27,"compatibility":28},{"author":25,"version":26},"clerk","2.2.0","WebFetch","Requires NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY and CLERK_SECRET_KEY. For manual JWT verification (standalone API servers without Clerk middleware), additionally requires CLERK_JWT_KEY or CLERK_PEM_PUBLIC_KEY.","master","f341c46fed021656175d5c9ccc67a72126e50bfb","skills\u002Fclerk-nextjs-patterns","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public","https:\u002F\u002Fgithub.com\u002Fdbillion","I enjoy writing codes,teaching programming, solving problems, tasted automation in Python and never looked back😋😋😋💞","2026-10-14 03:31:55",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add dbillion\u002Fhermes-skills-public --skill clerk-nextjs-patterns",{"tool":42,"command":43},"bunx","bunx skills add dbillion\u002Fhermes-skills-public --skill clerk-nextjs-patterns",{"tool":45,"command":46},"pnpm","pnpm dlx skills add dbillion\u002Fhermes-skills-public --skill clerk-nextjs-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fclerk-nextjs-patterns\u002FSKILL.md",true,[50,56,60,64,68,72,76,82,86,90,96],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"evals\u002Fevals.json","REFERENCE","参考文档",4871,"https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fclerk-nextjs-patterns\u002Fevals\u002Fevals.json",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fapi-routes.md",1462,"https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fclerk-nextjs-patterns\u002Freferences\u002Fapi-routes.md",{"path":61,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fcaching-auth.md",1373,"https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fclerk-nextjs-patterns\u002Freferences\u002Fcaching-auth.md",{"path":65,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fmiddleware-strategies.md",3742,"https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fclerk-nextjs-patterns\u002Freferences\u002Fmiddleware-strategies.md",{"path":69,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fserver-actions.md",1588,"https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fclerk-nextjs-patterns\u002Freferences\u002Fserver-actions.md",{"path":73,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fserver-vs-client.md",2379,"https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fclerk-nextjs-patterns\u002Freferences\u002Fserver-vs-client.md",{"path":77,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":81},"templates\u002Fnextjs-basic-auth\u002Fapp\u002Flayout.tsx","OTHER","其他",565,"https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fclerk-nextjs-patterns\u002Ftemplates\u002Fnextjs-basic-auth\u002Fapp\u002Flayout.tsx",{"path":83,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":84,"sourceHtmlUrl":85},"templates\u002Fnextjs-basic-auth\u002Fapp\u002Fpage.tsx",58,"https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fclerk-nextjs-patterns\u002Ftemplates\u002Fnextjs-basic-auth\u002Fapp\u002Fpage.tsx",{"path":87,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":88,"sourceHtmlUrl":89},"templates\u002Fnextjs-basic-auth\u002Fpackage.json",353,"https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fclerk-nextjs-patterns\u002Ftemplates\u002Fnextjs-basic-auth\u002Fpackage.json",{"path":91,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":94,"sourceHtmlUrl":95},"templates\u002Fnextjs-basic-auth\u002Fproxy.ts","SCRIPT","脚本",280,"https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fclerk-nextjs-patterns\u002Ftemplates\u002Fnextjs-basic-auth\u002Fproxy.ts",{"path":97,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":98,"sourceHtmlUrl":99},"templates\u002Fnextjs-basic-auth\u002Ftsconfig.json",576,"https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fclerk-nextjs-patterns\u002Ftemplates\u002Fnextjs-basic-auth\u002Ftsconfig.json",[101,108,115,124,131,138],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M7B25T0V7RBKES86Y3RTXQRN","blocked-page-recovery","Use when a fetch fails: 403\u002F429, paywall, WAF, bot wall.","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fweb\u002Fblocked-page-recovery\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":19},"01M7B25DSBBMZRHVD28MAX7N5X","gemini-vision-fallback","Vision fallback: Gemini REST API if vision_analyze blocked.","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fvision\u002Fgemini-vision-fallback\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":119,"licenseFileUrl":120,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":19},"01M7B22XW9QXT2ZWWXVZDFWYZP","twitter-cli","Use twitter-cli for ALL Twitter\u002FX operations — reading tweets, posting, replying, quoting, liking, retweeting, following, searching, user lookups. Invoke whenever user requests any Twitter interaction.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Ftwitter-cli\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Ftwitter-cli\u002FSKILL.md",[],[],{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":19},"01M7B22QMWY1B4F7BC114RG4S6","prism-scan","Structural analysis through dynamically generated cognitive lenses. Generates the optimal analytical lens for the specific code\u002Fartifact, then executes it. Finds conservation laws, structural invariants, and concrete bugs that vanilla analysis misses. Use on any code file, system design, or text artifact.","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fts-superhermes-prism-scan\u002FSKILL.md",[],[],{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":19},"01M7B22JA5XCAP1ACT6V50WYR1","prism-reflect","Constraint transparency: analyzes an artifact structurally, then analyzes what its own analysis concealed. Produces a conservation law AND a constraint report showing what was maximized, what was sacrificed, and what to investigate next. The only AI skill that knows what it can't see.","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fts-superhermes-prism-reflect\u002FSKILL.md",[],[],{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":19},"01M7B22EB15M75M4X3C52YGDCC","prism-full","Full Prism: multi-pass structural analysis with mandatory adversarial self-correction. Designs custom analytical passes, executes them with chaining, then attacks its own findings before synthesizing. Use for maximum depth on important code or artifacts.","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fts-superhermes-prism-full\u002FSKILL.md",[],[]]