[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79BK8N5ASDT05FE7KB6DT8S":3,"skill-same:01M79BK8N5ASDT05FE7KB6DT8S":61},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M79BK8N5ASDT05FE7KB6DT8S","testing-patterns",null,"Testing patterns for unit, integration, and end-to-end tests. Use when writing tests, setting up test fixtures, or validating RLS enforcement. Routes to existing test conventions.","sahil-kaushik1\u002FAuditing-Workflow","sahil-kaushik1","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F143880923?v=4","01M79BEEK3947RQYD3WC00K9W3","Sahil Kaushik","01M79BEEKVHPFPTNBDB0GFXBHE",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftesting-patterns\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: testing-patterns\ndescription: >\n  Testing patterns for unit, integration, and end-to-end tests. Use when\n  writing tests, setting up test fixtures, or validating RLS enforcement.\n  Routes to existing test conventions.\n---\n\n# Testing Patterns Skill\n\n## Purpose\n\nGuide consistent and effective testing. Routes to existing test patterns and provides evidence templates.\n\n## When This Skill Applies\n\n- Writing unit or integration tests\n- Setting up test fixtures with RLS\n- Running test suites\n- Packaging test evidence\n\n## Critical Rules\n\n### FORBIDDEN\n\n```typescript\n\u002F\u002F Direct Prisma calls bypass RLS\nconst user = await prisma.user.findUnique({ where: { user_id } });\n\n\u002F\u002F Shared test state causes flaky tests\nlet sharedUser: User;\nbeforeAll(() => { sharedUser = createUser(); });\n```\n\n### CORRECT\n\n```typescript\n\u002F\u002F Use RLS context helpers\nconst user = await withSystemContext(prisma, \"test\", async (client) => {\n  return client.user.findUnique({ where: { user_id } });\n});\n\n\u002F\u002F Isolated test state\nbeforeEach(() => {\n  const testUser = createTestUser();\n});\n\n\u002F\u002F Unique identifiers\nconst userId = `user-${crypto.randomUUID()}`;\n```\n\n## Test Commands\n\n```bash\n{{TEST_UNIT_COMMAND}}        # Unit tests\n{{TEST_INTEGRATION_COMMAND}} # Integration tests\n{{TEST_E2E_COMMAND}}         # E2E tests (Playwright)\n{{CI_VALIDATE_COMMAND}}      # Full validation\n```\n\n## Test Directory Structure\n\n```\n__tests__\u002F\n├── unit\u002F              # Fast, isolated tests\n├── integration\u002F       # API and database tests\n├── e2e\u002F               # End-to-end tests\n└── setup.ts           # Global setup\n```\n\n## Evidence Template\n\n```markdown\n**Test Execution Evidence**\n\n**Test Suite**: [unit\u002Fintegration\u002Fe2e]\n**Files Changed**: [list files]\n\n**Test Results:**\n- Total Tests: [X]\n- Passed: [X]\n- Failed: [0]\n\n**Commands Run:**\n```bash\n{{TEST_UNIT_COMMAND}} --coverage\n```\n```\n\n## Reference\n\n- **Jest Config**: `jest.config.js`\n- **RLS Context**: `lib\u002Frls-context.ts`\n- **Pattern Library**: `patterns_library\u002Ftesting\u002F`\n","# Testing Patterns Skill\n\n## Purpose\n\nGuide consistent and effective testing. Routes to existing test patterns and provides evidence templates.\n\n## When This Skill Applies\n\n- Writing unit or integration tests\n- Setting up test fixtures with RLS\n- Running test suites\n- Packaging test evidence\n\n## Critical Rules\n\n### FORBIDDEN\n\n```typescript\n\u002F\u002F Direct Prisma calls bypass RLS\nconst user = await prisma.user.findUnique({ where: { user_id } });\n\n\u002F\u002F Shared test state causes flaky tests\nlet sharedUser: User;\nbeforeAll(() => { sharedUser = createUser(); });\n```\n\n### CORRECT\n\n```typescript\n\u002F\u002F Use RLS context helpers\nconst user = await withSystemContext(prisma, \"test\", async (client) => {\n  return client.user.findUnique({ where: { user_id } });\n});\n\n\u002F\u002F Isolated test state\nbeforeEach(() => {\n  const testUser = createTestUser();\n});\n\n\u002F\u002F Unique identifiers\nconst userId = `user-${crypto.randomUUID()}`;\n```\n\n## Test Commands\n\n```bash\n{{TEST_UNIT_COMMAND}}        # Unit tests\n{{TEST_INTEGRATION_COMMAND}} # Integration tests\n{{TEST_E2E_COMMAND}}         # E2E tests (Playwright)\n{{CI_VALIDATE_COMMAND}}      # Full validation\n```\n\n## Test Directory Structure\n\n```\n__tests__\u002F\n├── unit\u002F              # Fast, isolated tests\n├── integration\u002F       # API and database tests\n├── e2e\u002F               # End-to-end tests\n└── setup.ts           # Global setup\n```\n\n## Evidence Template\n\n```markdown\n**Test Execution Evidence**\n\n**Test Suite**: [unit\u002Fintegration\u002Fe2e]\n**Files Changed**: [list files]\n\n**Test Results:**\n- Total Tests: [X]\n- Passed: [X]\n- Failed: [0]\n\n**Commands Run:**\n```bash\n{{TEST_UNIT_COMMAND}} --coverage\n```\n```\n\n## Reference\n\n- **Jest Config**: `jest.config.js`\n- **RLS Context**: `lib\u002Frls-context.ts`\n- **Pattern Library**: `patterns_library\u002Ftesting\u002F`\n",{"name":5,"description":7},"main","39a25d63191d67efe43cdce5b7507069e2307f0f",".agents\u002Fskills\u002Ftesting-patterns","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1","https:\u002F\u002Fdrive.google.com\u002Ffile\u002Fd\u002F1Te4TcrpgcN4j8DsYqVdjPl4QXVbs5XXo\u002Fview?usp=drive_link","Web3 security researcher \u002F developer","2026-10-18 15:17:21",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add sahil-kaushik1\u002FAuditing-Workflow --skill testing-patterns",{"tool":38,"command":39},"bunx","bunx skills add sahil-kaushik1\u002FAuditing-Workflow --skill testing-patterns",{"tool":41,"command":42},"pnpm","pnpm dlx skills add sahil-kaushik1\u002FAuditing-Workflow --skill testing-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftesting-patterns\u002FSKILL.md",true,[46,51,56],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":14,"sourceHtmlUrl":50},"assets\u002F.gitkeep","ASSET","资产文件","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftesting-patterns\u002Fassets\u002F.gitkeep",{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":14,"sourceHtmlUrl":55},"references\u002F.gitkeep","REFERENCE","参考文档","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftesting-patterns\u002Freferences\u002F.gitkeep",{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":14,"sourceHtmlUrl":60},"scripts\u002F.gitkeep","SCRIPT","脚本","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftesting-patterns\u002Fscripts\u002F.gitkeep",[62,68,74,80,87,94],{"skillNo":63,"name":64,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M79BSEAG0SS9CC2EN1S51K2X","stripe-patterns","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsync\u002Frendertrust\u002F.claude\u002Fskills\u002Fstripe-patterns\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M79BSBAZXQBWCPKYJP38A35B","payment-patterns","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsync\u002Fkeryk-ai\u002F.claude\u002Fskills\u002Fpayment-patterns\u002FSKILL.md",[],[],{"skillNo":75,"name":5,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M79BS8PKZXFGBNQBS2GHNXZW","Testing patterns for Jest and Playwright. Use when writing tests, setting up test fixtures, or validating RLS enforcement. Routes to existing test conventions.","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002F.gemini\u002Fskills\u002Ftesting-patterns\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M79BS3PR92A4QNEJAFNDKB2G","team-coordination","Agent Teams orchestration patterns for multi-agent SAFe workflows. Use when spawning agent teams, coordinating teammates, enforcing quality gates via task dependencies, or orchestrating the 11-agent SAFe pipeline. Covers team creation, messaging, shared task lists, and SAFe gate enforcement. Do NOT use for single-agent or simple subagent workflows.","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002F.gemini\u002Fskills\u002Fteam-coordination\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M79BRZ422QD8D5QHQMXAVPWZ","task-compilation","Compile broad audit goals into structured proof obligations with 9 mandatory fields. Used after decomposition by the Threat Modeler agent.","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002F.gemini\u002Fskills\u002Ftask-compilation\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M79BRV2MK2AJZBNSE2BETP28","storage-layout-analysis","Proxy patterns, slot collisions, upgrade safety. Used during decomposition to identify storage-related vulnerabilities in upgradeable contracts.","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002F.gemini\u002Fskills\u002Fstorage-layout-analysis\u002FSKILL.md",[],[]]