[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73A7KFQHSGP79PQBKX5TPHP":3,"skill-same:01M73A7KFQHSGP79PQBKX5TPHP":52},{"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},"01M73A7KFQHSGP79PQBKX5TPHP","fix",null,"Fix failing or flaky Playwright tests. Use when user says \"fix test\", \"flaky test\", \"test failing\", \"debug test\", \"test broken\", \"test passes sometimes\", or \"intermittent failure\".","kalash33\u002Fkstack","kalash33","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F90259149?v=4","01M7365X8Q0B73NYHA730SMZWN","Kalash Poddar","01M7365X9D0JK47C3Q0YCCK9Z2",0,"MIT","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fnginity-fix\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: \"fix\"\ndescription: >-\n  Fix failing or flaky Playwright tests. Use when user says \"fix test\",\n  \"flaky test\", \"test failing\", \"debug test\", \"test broken\", \"test passes\n  sometimes\", or \"intermittent failure\".\n---\n\n# Fix Failing or Flaky Tests\n\nDiagnose and fix a Playwright test that fails or passes intermittently using a systematic taxonomy.\n\n## Input\n\n`$ARGUMENTS` contains:\n- A test file path: `e2e\u002Flogin.spec.ts`\n- A test name: \"\"should redirect after login\"`\n- A description: `\"the checkout test fails in CI but passes locally\"`\n\n## Steps\n\n### 1. Reproduce the Failure\n\nRun the test to capture the error:\n\n```bash\nnpx playwright test \u003Cfile> --reporter=list\n```\n\nIf the test passes, it's likely flaky. Run burn-in:\n\n```bash\nnpx playwright test \u003Cfile> --repeat-each=10 --reporter=list\n```\n\nIf it still passes, try with parallel workers:\n\n```bash\nnpx playwright test --fully-parallel --workers=4 --repeat-each=5\n```\n\n### 2. Capture Trace\n\nRun with full tracing:\n\n```bash\nnpx playwright test \u003Cfile> --trace=on --retries=0\n```\n\nRead the trace output. Use `\u002Fdebug` to analyze trace files if available.\n\n### 3. Categorize the Failure\n\nLoad `flaky-taxonomy.md` from this skill directory.\n\nEvery failing test falls into one of four categories:\n\n| Category | Symptom | Diagnosis |\n|---|---|---|\n| **Timing\u002FAsync** | Fails intermittently everywhere | `--repeat-each=20` reproduces locally |\n| **Test Isolation** | Fails in suite, passes alone | `--workers=1 --grep \"test name\"` passes |\n| **Environment** | Fails in CI, passes locally | Compare CI vs local screenshots\u002Ftraces |\n| **Infrastructure** | Random, no pattern | Error references browser internals |\n\n### 4. Apply Targeted Fix\n\n**Timing\u002FAsync:**\n- Replace `waitForTimeout()` with web-first assertions\n- Add `await` to missing Playwright calls\n- Wait for specific network responses before asserting\n- Use `toBeVisible()` before interacting with elements\n\n**Test Isolation:**\n- Remove shared mutable state between tests\n- Create test data per-test via API or fixtures\n- Use unique identifiers (timestamps, random strings) for test data\n- Check for database state leaks\n\n**Environment:**\n- Match viewport sizes between local and CI\n- Account for font rendering differences in screenshots\n- Use `docker` locally to match CI environment\n- Check for timezone-dependent assertions\n\n**Infrastructure:**\n- Increase timeout for slow CI runners\n- Add retries in CI config (`retries: 2`)\n- Check for browser OOM (reduce parallel workers)\n- Ensure browser dependencies are installed\n\n### 5. Verify the Fix\n\nRun the test 10 times to confirm stability:\n\n```bash\nnpx playwright test \u003Cfile> --repeat-each=10 --reporter=list\n```\n\nAll 10 must pass. If any fail, go back to step 3.\n\n### 6. Prevent Recurrence\n\nSuggest:\n- Add to CI with `retries: 2` if not already\n- Enable `trace: 'on-first-retry'` in config\n- Add the fix pattern to project's test conventions doc\n\n## Output\n\n- Root cause category and specific issue\n- The fix applied (with diff)\n- Verification result (10\u002F10 passes)\n- Prevention recommendation\n","# Fix Failing or Flaky Tests\n\nDiagnose and fix a Playwright test that fails or passes intermittently using a systematic taxonomy.\n\n## Input\n\n`$ARGUMENTS` contains:\n- A test file path: `e2e\u002Flogin.spec.ts`\n- A test name: \"\"should redirect after login\"`\n- A description: `\"the checkout test fails in CI but passes locally\"`\n\n## Steps\n\n### 1. Reproduce the Failure\n\nRun the test to capture the error:\n\n```bash\nnpx playwright test \u003Cfile> --reporter=list\n```\n\nIf the test passes, it's likely flaky. Run burn-in:\n\n```bash\nnpx playwright test \u003Cfile> --repeat-each=10 --reporter=list\n```\n\nIf it still passes, try with parallel workers:\n\n```bash\nnpx playwright test --fully-parallel --workers=4 --repeat-each=5\n```\n\n### 2. Capture Trace\n\nRun with full tracing:\n\n```bash\nnpx playwright test \u003Cfile> --trace=on --retries=0\n```\n\nRead the trace output. Use `\u002Fdebug` to analyze trace files if available.\n\n### 3. Categorize the Failure\n\nLoad `flaky-taxonomy.md` from this skill directory.\n\nEvery failing test falls into one of four categories:\n\n| Category | Symptom | Diagnosis |\n|---|---|---|\n| **Timing\u002FAsync** | Fails intermittently everywhere | `--repeat-each=20` reproduces locally |\n| **Test Isolation** | Fails in suite, passes alone | `--workers=1 --grep \"test name\"` passes |\n| **Environment** | Fails in CI, passes locally | Compare CI vs local screenshots\u002Ftraces |\n| **Infrastructure** | Random, no pattern | Error references browser internals |\n\n### 4. Apply Targeted Fix\n\n**Timing\u002FAsync:**\n- Replace `waitForTimeout()` with web-first assertions\n- Add `await` to missing Playwright calls\n- Wait for specific network responses before asserting\n- Use `toBeVisible()` before interacting with elements\n\n**Test Isolation:**\n- Remove shared mutable state between tests\n- Create test data per-test via API or fixtures\n- Use unique identifiers (timestamps, random strings) for test data\n- Check for database state leaks\n\n**Environment:**\n- Match viewport sizes between local and CI\n- Account for font rendering differences in screenshots\n- Use `docker` locally to match CI environment\n- Check for timezone-dependent assertions\n\n**Infrastructure:**\n- Increase timeout for slow CI runners\n- Add retries in CI config (`retries: 2`)\n- Check for browser OOM (reduce parallel workers)\n- Ensure browser dependencies are installed\n\n### 5. Verify the Fix\n\nRun the test 10 times to confirm stability:\n\n```bash\nnpx playwright test \u003Cfile> --repeat-each=10 --reporter=list\n```\n\nAll 10 must pass. If any fail, go back to step 3.\n\n### 6. Prevent Recurrence\n\nSuggest:\n- Add to CI with `retries: 2` if not already\n- Enable `trace: 'on-first-retry'` in config\n- Add the fix pattern to project's test conventions doc\n\n## Output\n\n- Root cause category and specific issue\n- The fix applied (with diff)\n- Verification result (10\u002F10 passes)\n- Prevention recommendation\n",{"name":5,"description":7},"main","b30820b3248f6676d5389f0ccabd4e5250c9c536","skills\u002Fnginity-fix","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack","https:\u002F\u002Fgithub.com\u002Fkalash33","kalashpoddar.me","Tech-savvy Full Stack Developer 🚀 | Cybersecurity enthusiast 🔒 | Passionate about innovation and securing the digital world 🌐 | Let's code securely! 💻🔐","2026-05-20 04:11:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add kalash33\u002Fkstack --skill fix",{"tool":38,"command":39},"bunx","bunx skills add kalash33\u002Fkstack --skill fix",{"tool":41,"command":42},"pnpm","pnpm dlx skills add kalash33\u002Fkstack --skill fix","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fnginity-fix\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"flaky-taxonomy.md","REFERENCE","参考文档",3496,"https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fnginity-fix\u002Fflaky-taxonomy.md",[53,60,67,74,81,88],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M73CFERCR43JCAP606E41EFB","zustand-store-ts","Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state\u002Faction separation. Use when building React state management, creating global stores, or implementing reacti...","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-ts\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M73CFCMFVTAQEMTZ5HR10X8V","zoom-automation","Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-automation\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"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},"01M73CFAA7EBWXJVXDQ1X555MB","zoho-crm-automation","Automate Zoho CRM tasks via Rube MCP (Composio): create\u002Fupdate records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzoho-crm-automation\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M73CF80XCM9K81567MJ8QZFW","zod-validation-expert","Expert in Zod — TypeScript-first schema validation. Covers parsing, custom errors, refinements, type inference, and integration with React Hook Form, Next.js, and tRPC.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzod-validation-expert\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M73CF4YPMF3RA8ZJDXZSMD93","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M73CF2S25EN3XNAMKY47XHPS","zendesk-automation","Automate Zendesk tasks via Rube MCP (Composio): tickets, users, organizations, replies. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzendesk-automation\u002FSKILL.md",[],[]]