[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CCBHZPX89CRQFN5CAQWRQM":3,"skill-same:01M6CCBHZPX89CRQFN5CAQWRQM":69},{"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":23,"publishedAt":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":14,"repositoryHtmlUrl":45,"repositoryHomepageUrl":46,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":48,"install":49,"resources":62},"01M6CCBHZPX89CRQFN5CAQWRQM","clerk-testing",null,"E2E testing for Clerk apps. Use with Playwright or Cypress for auth flow tests.","baisharg\u002FASTN","baisharg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F204916775?v=4","01M6CC8XHZYVK2DR22FZ1BESCG","BAISH","01M6CC8XP400QZ9DXAWTC8EG3X",2,"MIT","https:\u002F\u002Fgithub.com\u002Fbaisharg\u002FASTN\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fclerk-testing\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33],"testing","clerk testing","clerk","e2e testing","playwright","auth","flow","e2e","webfetch","use","2026-11-10 10:12:30",false,"---\nname: clerk-testing\ndescription: E2E testing for Clerk apps. Use with Playwright or Cypress for auth flow tests.\nallowed-tools: WebFetch\nlicense: MIT\nmetadata:\n  author: clerk\n  version: '1.0.0'\n---\n\n# Testing\n\n## Decision Tree\n\n| Framework  | Documentation                                                         |\n| ---------- | --------------------------------------------------------------------- |\n| Overview   | https:\u002F\u002Fclerk.com\u002Fdocs\u002Fguides\u002Fdevelopment\u002Ftesting\u002Foverview            |\n| Playwright | https:\u002F\u002Fclerk.com\u002Fdocs\u002Fguides\u002Fdevelopment\u002Ftesting\u002Fplaywright\u002Foverview |\n| Cypress    | https:\u002F\u002Fclerk.com\u002Fdocs\u002Fguides\u002Fdevelopment\u002Ftesting\u002Fcypress\u002Foverview    |\n\n## Mental Model\n\nTest auth = isolated session state. Each test needs fresh auth context.\n\n- `clerkSetup()` initializes test environment\n- `setupClerkTestingToken()` bypasses bot detection\n- `storageState` persists auth between tests for speed\n\n## Workflow\n\n1. Identify test framework (Playwright or Cypress)\n2. WebFetch the appropriate URL from decision tree above\n3. Follow official setup instructions\n4. Use `pk_test_*` and `sk_test_*` keys only\n\n## Best Practices\n\n- Use `setupClerkTestingToken()` before navigating to auth pages\n- Use test API keys: `pk_test_xxx`, `sk_test_xxx`\n- Save auth state with `storageState` for faster tests\n- Use `page.waitForSelector('[data-clerk-component]')` for Clerk UI\n\n## Anti-Patterns\n\n| Pattern                       | Problem       | Fix                    |\n| ----------------------------- | ------------- | ---------------------- |\n| Production keys in tests      | Security risk | Use `pk_test_*` keys   |\n| No `setupClerkTestingToken()` | Auth fails    | Call before navigation |\n| UI-based sign-in every test   | Slow tests    | Use `storageState`     |\n\n## Framework-Specific\n\n**Playwright**: Use `globalSetup` for auth state\n**Cypress**: Add `addClerkCommands({ Cypress, cy })` to support file\n\n## See Also\n\n- [Demo Repo](https:\u002F\u002Fgithub.com\u002Fclerk\u002Fclerk-playwright-nextjs\u002Ftree\u002F95c7189a48c24d7e9e9744897040aa9418f68ac2\u002Fe2e)\n","# Testing\n\n## Decision Tree\n\n| Framework  | Documentation                                                         |\n| ---------- | --------------------------------------------------------------------- |\n| Overview   | https:\u002F\u002Fclerk.com\u002Fdocs\u002Fguides\u002Fdevelopment\u002Ftesting\u002Foverview            |\n| Playwright | https:\u002F\u002Fclerk.com\u002Fdocs\u002Fguides\u002Fdevelopment\u002Ftesting\u002Fplaywright\u002Foverview |\n| Cypress    | https:\u002F\u002Fclerk.com\u002Fdocs\u002Fguides\u002Fdevelopment\u002Ftesting\u002Fcypress\u002Foverview    |\n\n## Mental Model\n\nTest auth = isolated session state. Each test needs fresh auth context.\n\n- `clerkSetup()` initializes test environment\n- `setupClerkTestingToken()` bypasses bot detection\n- `storageState` persists auth between tests for speed\n\n## Workflow\n\n1. Identify test framework (Playwright or Cypress)\n2. WebFetch the appropriate URL from decision tree above\n3. Follow official setup instructions\n4. Use `pk_test_*` and `sk_test_*` keys only\n\n## Best Practices\n\n- Use `setupClerkTestingToken()` before navigating to auth pages\n- Use test API keys: `pk_test_xxx`, `sk_test_xxx`\n- Save auth state with `storageState` for faster tests\n- Use `page.waitForSelector('[data-clerk-component]')` for Clerk UI\n\n## Anti-Patterns\n\n| Pattern                       | Problem       | Fix                    |\n| ----------------------------- | ------------- | ---------------------- |\n| Production keys in tests      | Security risk | Use `pk_test_*` keys   |\n| No `setupClerkTestingToken()` | Auth fails    | Call before navigation |\n| UI-based sign-in every test   | Slow tests    | Use `storageState`     |\n\n## Framework-Specific\n\n**Playwright**: Use `globalSetup` for auth state\n**Cypress**: Add `addClerkCommands({ Cypress, cy })` to support file\n\n## See Also\n\n- [Demo Repo](https:\u002F\u002Fgithub.com\u002Fclerk\u002Fclerk-playwright-nextjs\u002Ftree\u002F95c7189a48c24d7e9e9744897040aa9418f68ac2\u002Fe2e)\n",{"name":5,"license":15,"metadata":39,"description":7,"allowed-tools":41},{"author":26,"version":40},"1.0.0","WebFetch","main","83212e6d909b6a0fe9e93fd5a3ff1723300f5b5b",".agents\u002Fskills\u002Fclerk-testing","https:\u002F\u002Fgithub.com\u002Fbaisharg\u002FASTN","https:\u002F\u002Fsafetytalent.org","https:\u002F\u002Fgithub.com\u002Fbaisharg","2026-11-15 03:33:22",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add baisharg\u002FASTN --skill clerk-testing",{"tool":55,"command":56},"bunx","bunx skills add baisharg\u002FASTN --skill clerk-testing",{"tool":58,"command":59},"pnpm","pnpm dlx skills add baisharg\u002FASTN --skill clerk-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbaisharg\u002FASTN\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fclerk-testing\u002FSKILL.md",true,[63],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},".claude-plugin\u002Fplugin.json","REFERENCE","参考文档",427,"https:\u002F\u002Fgithub.com\u002Fbaisharg\u002FASTN\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fclerk-testing\u002F.claude-plugin\u002Fplugin.json",[70,91,105,119,133,150],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":80,"publishedAt":34},"01M6CCE5DVER8DQWJDY51HAJF7","schema-builder","Design and generate Convex database schemas with proper validation, indexes, and relationships. Use when creating schema.ts or modifying table definitions.","AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fbaisharg\u002FASTN\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fschema-builder\u002FSKILL.md",[77],{"categoryNo":78,"categoryName":79,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计",[81,82,83,84,85,33,86,87,88,89,90],"schema builder","schema","builder","indexes","validation","table","database","design","convex","generate",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":34},"01M6CCE36AA57CG36R4VHKFRXV","integration-tanstack-start","PostHog integration for TanStack Start full-stack applications","https:\u002F\u002Fgithub.com\u002Fbaisharg\u002FASTN\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fposthog-integration-tanstack-start\u002FSKILL.md",[],[98,99,100,101,102,103,104],"integration","start","tanstack","integration tanstack start","posthog","applications","stack",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":34},"01M6CCE0FK6N8XAB093X7TTQ4F","migration-helper","Plan and execute Convex schema migrations safely, including adding fields, creating tables, and data transformations. Use when schema changes affect existing data.","https:\u002F\u002Fgithub.com\u002Fbaisharg\u002FASTN\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmigration-helper\u002FSKILL.md",[],[112,113,114,115,116,117,33,82,118,89],"migration","migration helper","schema migrations safely","data","plan","execute","migrations",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":34},"01M6CCDY3644G8WXXP0BDNMZPR","gsd:sprint","Autonomous phase execution with Codex validation. Runs plan\u002Fexecute\u002Fverify cycles in a bash loop until done or halted.","https:\u002F\u002Fgithub.com\u002Fbaisharg\u002FASTN\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgsd-sprint\u002FSKILL.md",[],[121,126,127,85,99,128,129,130,131,116,132,117],"resume","codex","execution","verify","Bash","loop","autonomous",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":34},"01M6CCDVTZRTFWWGREMV6FF956","gsd:second-opinion","Get a second opinion from OpenAI Codex (GPT-5.2-codex) on code, architecture, or implementation decisions. Use when you want independent verification or an alternative perspective.","https:\u002F\u002Fgithub.com\u002Fbaisharg\u002FASTN\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgsd-second-opinion\u002FSKILL.md",[],[140,141,142,127,143,144,145,146,147,148,33,149],"gsd:second opinion","second opinion","question","architecture","code","verification","openai","gpt","decisions","implementation",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":34},"01M6CCDSDPYYNEDERHP01N30PT","gsd:milestone-sprint","Run entire milestone autonomously with Codex validation. Auto-detects current milestone, executes all phases, and runs audit.","https:\u002F\u002Fgithub.com\u002Fbaisharg\u002FASTN\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgsd-milestone-sprint\u002FSKILL.md",[],[157,158,85,159,160,161,126,127],"gsd:milestone sprint","run","audit","interactive","auto"]