[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6H5NHNMM6AS7V57X88BV5FE":3,"skill-same:01M6H5NHNMM6AS7V57X88BV5FE":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":54,"install":55,"resources":68},"01M6H5NHNMM6AS7V57X88BV5FE","clerk-sdk-patterns",null,"Common Clerk SDK patterns and best practices.\nUse when implementing authentication flows, accessing user data,\nor integrating Clerk SDK methods in your application.\nTrigger with phrases like \"clerk SDK\", \"clerk patterns\",\n\"clerk best practices\", \"clerk API usage\".","micsapp\u002Fmicstec-skills","micsapp","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F82411001?v=4","01M6GWCFQ6D3PV8EHNY62NN5VW","01M6GWCFVE1PA5HG0DKC7AMFJ3",4,"MIT","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fclaude-code\u002Fplugins-plus-skills\u002Fplugins\u002Fsaas-packs\u002Fclerk-pack\u002Fskills\u002Fclerk-sdk-patterns\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"sdk","clerk sdk patterns","patterns","clerk","best practices","api","common","read","write","use","authentication","methods","code","codex","io","trigger","flows","with","usage","implementing","2026-11-10 10:12:30",false,"---\nname: clerk-sdk-patterns\ndescription: |\n  Common Clerk SDK patterns and best practices.\n  Use when implementing authentication flows, accessing user data,\n  or integrating Clerk SDK methods in your application.\n  Trigger with phrases like \"clerk SDK\", \"clerk patterns\",\n  \"clerk best practices\", \"clerk API usage\".\nallowed-tools: Read, Write, Edit, Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ncompatible-with: claude-code, codex, openclaw\n---\n# Clerk SDK Patterns\n\n## Overview\nLearn common patterns and best practices for using the Clerk SDK effectively.\n\n## Prerequisites\n- Clerk SDK installed and configured\n- Basic understanding of React\u002FNext.js\n- ClerkProvider wrapping application\n\n## Instructions\n1. Pattern 1: Server-Side Authentication\n2. Pattern 2: Client-Side Hooks\n3. Pattern 3: Protected Routes with Middleware\n4. Pattern 4: Organization-Aware Queries\n5. Pattern 5: Custom JWT Templates\n\nFor full implementation details and code examples, load:\n`Read(${CLAUDE_SKILL_DIR}\u002Freferences\u002Fimplementation-guide.md)`\n\n## Output\n- Server and client authentication patterns\n- Protected route middleware\n- Organization-aware queries\n- Custom JWT tokens for integrations\n\n## Error Handling\n| Error | Cause | Solution |\n|-------|-------|----------|\n| auth() returns null | Not in server context | Use in Server Components or API routes |\n| useUser() not updating | Component not re-rendering | Check ClerkProvider placement |\n| getToken() fails | Template not configured | Configure JWT template in dashboard |\n| orgId is null | No organization selected | Prompt user to select organization |\n\n## Resources\n- [Clerk SDK Reference](https:\u002F\u002Fclerk.com\u002Fdocs\u002Freferences\u002Fnextjs\u002Foverview)\n- [Authentication Patterns](https:\u002F\u002Fclerk.com\u002Fdocs\u002Freferences\u002Fnextjs\u002Fauth)\n- [JWT Templates](https:\u002F\u002Fclerk.com\u002Fdocs\u002Fbackend-requests\u002Fmaking\u002Fjwt-templates)\n\n## Next Steps\nProceed to `clerk-core-workflow-a` for user sign-up and sign-in flows.\n\n## Examples\n\n**Basic usage**: Apply clerk sdk patterns to a standard project setup with default configuration options.\n\n**Advanced scenario**: Customize clerk sdk patterns for production environments with multiple constraints and team-specific requirements.","# Clerk SDK Patterns\n\n## Overview\nLearn common patterns and best practices for using the Clerk SDK effectively.\n\n## Prerequisites\n- Clerk SDK installed and configured\n- Basic understanding of React\u002FNext.js\n- ClerkProvider wrapping application\n\n## Instructions\n1. Pattern 1: Server-Side Authentication\n2. Pattern 2: Client-Side Hooks\n3. Pattern 3: Protected Routes with Middleware\n4. Pattern 4: Organization-Aware Queries\n5. Pattern 5: Custom JWT Templates\n\nFor full implementation details and code examples, load:\n`Read(${CLAUDE_SKILL_DIR}\u002Freferences\u002Fimplementation-guide.md)`\n\n## Output\n- Server and client authentication patterns\n- Protected route middleware\n- Organization-aware queries\n- Custom JWT tokens for integrations\n\n## Error Handling\n| Error | Cause | Solution |\n|-------|-------|----------|\n| auth() returns null | Not in server context | Use in Server Components or API routes |\n| useUser() not updating | Component not re-rendering | Check ClerkProvider placement |\n| getToken() fails | Template not configured | Configure JWT template in dashboard |\n| orgId is null | No organization selected | Prompt user to select organization |\n\n## Resources\n- [Clerk SDK Reference](https:\u002F\u002Fclerk.com\u002Fdocs\u002Freferences\u002Fnextjs\u002Foverview)\n- [Authentication Patterns](https:\u002F\u002Fclerk.com\u002Fdocs\u002Freferences\u002Fnextjs\u002Fauth)\n- [JWT Templates](https:\u002F\u002Fclerk.com\u002Fdocs\u002Fbackend-requests\u002Fmaking\u002Fjwt-templates)\n\n## Next Steps\nProceed to `clerk-core-workflow-a` for user sign-up and sign-in flows.\n\n## Examples\n\n**Basic usage**: Apply clerk sdk patterns to a standard project setup with default configuration options.\n\n**Advanced scenario**: Customize clerk sdk patterns for production environments with multiple constraints and team-specific requirements.",{"name":5,"author":43,"license":14,"version":44,"description":45,"allowed-tools":46,"compatible-with":47},"Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Common Clerk SDK patterns and best practices.\nUse when implementing authentication flows, accessing user data,\nor integrating Clerk SDK methods in your application.\nTrigger with phrases like \"clerk SDK\", \"clerk patterns\",\n\"clerk best practices\", \"clerk API usage\".\n","Read, Write, Edit, Grep","claude-code, codex, openclaw","master","3f5d983eb4ef375b749adcd6b07ec03bd82ae8a8","claude-code\u002Fplugins-plus-skills\u002Fplugins\u002Fsaas-packs\u002Fclerk-pack\u002Fskills\u002Fclerk-sdk-patterns",0,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills","https:\u002F\u002Fgithub.com\u002Fmicsapp","2026-03-20 11:24:18",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add micsapp\u002Fmicstec-skills --skill clerk-sdk-patterns",{"tool":61,"command":62},"bunx","bunx skills add micsapp\u002Fmicstec-skills --skill clerk-sdk-patterns",{"tool":64,"command":65},"pnpm","pnpm dlx skills add micsapp\u002Fmicstec-skills --skill clerk-sdk-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fclaude-code\u002Fplugins-plus-skills\u002Fplugins\u002Fsaas-packs\u002Fclerk-pack\u002Fskills\u002Fclerk-sdk-patterns\u002FSKILL.md",true,[69],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fimplementation-guide.md","REFERENCE","参考文档",4347,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fclaude-code\u002Fplugins-plus-skills\u002Fplugins\u002Fsaas-packs\u002Fclerk-pack\u002Fskills\u002Fclerk-sdk-patterns\u002Freferences\u002Fimplementation-guide.md",[76,111,139,159,179,203],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":92,"publishedAt":38},"01M6HBTJ02FXBFG9NYEHHYAP52","azure-apim-architecture","Analyzes and explains Azure API Management architecture decisions for enterprise API marketplace implementations using VNet Internal mode, Front Door, hybrid authentication, and multi-environment strategies. Use when discussing APIM component selection, network topology, cost optimization, or comparing alternatives like workspaces vs instances, VNet Internal vs External mode, or Front Door vs Application Gateway.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fazure-apim-architecture\u002FSKILL.md",[82,87],{"categoryNo":83,"categoryName":84,"taxonomyType":85,"taxonomyTypeDesc":86},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":88,"categoryName":89,"taxonomyType":90,"taxonomyTypeDesc":91},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[93,94,95,96,28,97,98,99,100,23,101,102,103,104,105,106,107,108,109,110],"architecture","azure","azure apim architecture","component","gateway","topology","Optimization","network","team","environment","multi-environment","workspaces","instances","selection","strategies","azure api management","mode","for",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":125,"publishedAt":38},"01M6HBT7J4H082JEEA670B3EQ9","apiops-deployment","Guides deployment of Azure API Management infrastructure using Infrastructure as Code (Bicep\u002FTerraform), CI\u002FCD pipelines (GitHub Actions\u002FAzure DevOps), and APIOps workflows. Use when deploying APIM, creating pipelines, or implementing dev→test→prod promotion strategies.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapiops-deployment\u002FSKILL.md",[117,118,121,124],{"categoryNo":83,"categoryName":84,"taxonomyType":85,"taxonomyTypeDesc":86},{"categoryNo":119,"categoryName":120,"taxonomyType":85,"taxonomyTypeDesc":86},"01JBSEEDCAT000000000000011","运维与部署",{"categoryNo":122,"categoryName":123,"taxonomyType":85,"taxonomyTypeDesc":86},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":88,"categoryName":89,"taxonomyType":90,"taxonomyTypeDesc":91},[126,127,128,129,94,130,30,131,132,133,134,135,23,101,107,136,137,108,138,37],"deployment","apiops deployment","workflows","azure devops","infrastructure","infrastructure as code","actions","ci","github actions","github-actions","as","guides","CI\u002FCD",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":146,"publishedAt":38},"01M6HBT2HEA23THNE9E00GYQBE","apim-policy-authoring","Creates production-ready Azure API Management policy XML for authentication (OAuth 2.0, JWT validation, subscription keys), rate limiting, CORS configuration, error handling, and API transformations. Use when implementing API security, access control, or request\u002Fresponse processing logic.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapim-policy-authoring\u002FSKILL.md",[145],{"categoryNo":83,"categoryName":84,"taxonomyType":85,"taxonomyTypeDesc":86},[147,148,149,150,94,28,23,101,151,27,152,153,154,155,156,108,157,158,37,110],"policy","authoring","apim policy authoring","security","access","ready","api security","Access Control","error","processing","cors configuration","production-ready",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":167,"publishedAt":38},"01M6HBSY65SB29J9WE9KYD0K6T","api-security-review","Reviews Azure API Management configurations for security vulnerabilities, OWASP API Security Top 10 compliance, VNet Internal mode validation, Private Link verification, and Azure Security Benchmark alignment. Use when performing security audits, pre-deployment validation, or compliance reviews.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapi-security-review\u002FSKILL.md",[165,166],{"categoryNo":83,"categoryName":84,"taxonomyType":85,"taxonomyTypeDesc":86},{"categoryNo":88,"categoryName":89,"taxonomyType":90,"taxonomyTypeDesc":91},[168,150,169,23,153,170,94,126,171,172,173,174,101,175,108,176,177,178,109,110],"review","security review","api security review","benchmark","verification","owasp","owasp-api","alignment","azure security","reviews","top",{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":38},"01M6HBSRW4PDFE6K4F8JYPZQ05","jira-cli","Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use when the user asks about Jira tasks, tickets, issues, sprints, or needs to manage project work items.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fjira-cli\u002FSKILL.md",[],[186,187,188,128,189,190,191,192,23,24,193,194,195,196,197,198,199,200,201,202],"cli","jira","jira cli","init","tasks","create","issues","work","command","edit","list","view","project","project work","token","line","sprints",{"skillNo":204,"name":205,"nameZh":6,"description":206,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":207,"categories":208,"keywords":209,"publishedAt":38},"01M6HBSNS3JHMW603G47TWE31H","calculator","Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fcalculator\u002FSKILL.md",[],[205,210,211,212,213,214,215,27,216,217],"npm","js","calculate","node","math","user","compute","errors"]