[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CGBC2FN7YJNK5PP5V6HAR0":3,"skill-same:01M6CGBC2FN7YJNK5PP5V6HAR0":78},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M6CGBC2FN7YJNK5PP5V6HAR0","flaky-test-detection",null,"Detect, prevent, and fix flaky Jest unit tests in MetaMask Mobile before they reach CI. Use this skill when: reviewing a PR diff or changed test files for flakiness risk, fixing an intermittently failing Jest test, reproducing a flaky test locally, or auditing GitHub Actions history to rank historically flaky unit tests by failure rate.","MetaMask\u002Fskills","MetaMask","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F11744586?v=4","01M6CGATQAN8ZP8HWEZH2379WJ","01M6CGATVJDE1ZMSRM20CFJ5S8",25,"MIT","https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fcoding\u002Fskills\u002Fflaky-test-detection\u002Fskill.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"test","detection","flaky test detection","failing","github","when","for","unit","tests","jest","files","mobile","diff","use","fix","history","risk","github actions","ci","actions","pr","unit tests","2026-11-10 10:12:30",false,"---\nname: flaky-test-detection\ndescription: >\n  Detect, prevent, and fix flaky Jest unit tests in MetaMask Mobile before they\n  reach CI. Use this skill when: reviewing a PR diff or changed test files for\n  flakiness risk, fixing an intermittently failing Jest test, reproducing a flaky\n  test locally, or auditing GitHub Actions history to rank historically flaky unit\n  tests by failure rate.\n---\n\n# Flaky Test Detection\n\n```\nTask → Which mode?\n├─ Reviewing changed test files \u002F PR diff for risk patterns  → Review mode\n├─ Fixing a known flaky Jest unit test                       → Review mode + local reproduce loop\n└─ Auditing CI history to rank flaky tests by failure rate   → open references\u002Fgh-analysis.md\n```\n\n## Constraints\n\nIf the file is `*.view.test.ts(x)`, follow `mms-mobile-testing` component-view\nrules instead of this skill's fake-timer patterns (J2 \u002F J8). CV forbids fake\ntimers. Use the CV diagnosing table for sibling-skeleton waits, empty-state\nload, list hydration, stale press, nested `findBy*`, and Engine `mockReset`.\n\nAll proposed **unit** fixes must comply with `mms-mobile-testing` (unit path) and `mms-coding-guidelines`. Key rules:\n- Use `jest.mocked(fn)` — never `fn as jest.Mock`\n- Use `toBeOnTheScreen()` — never `toBeTruthy()` \u002F `toBeDefined()` for element presence\n- Use `yarn` commands — never npm or npx\n- No `toMatchSnapshot()` — use explicit assertions or `toMatchInlineSnapshot()`\n\n## Review mode\n\n1. Scan changed `.test.ts(x)` files against the pattern table (J1–J10).\n2. Classify each hit (async \u002F timing \u002F isolation \u002F mock \u002F state).\n3. Propose the fix for each hit using the ✅ pattern from the matching section — apply only on explicit confirmation.\n4. Run the local reproduction loop to confirm the fix holds.\n\n## Audit mode\n\nQuery GitHub Actions run history to produce a ranked list of historically flaky unit test files with failure rates and suggested fix categories.\n\nOpen [references\u002Fgh-analysis.md](references\u002Fgh-analysis.md) for the full procedure.\n","# Flaky Test Detection\n\n```\nTask → Which mode?\n├─ Reviewing changed test files \u002F PR diff for risk patterns  → Review mode\n├─ Fixing a known flaky Jest unit test                       → Review mode + local reproduce loop\n└─ Auditing CI history to rank flaky tests by failure rate   → open references\u002Fgh-analysis.md\n```\n\n## Constraints\n\nIf the file is `*.view.test.ts(x)`, follow `mms-mobile-testing` component-view\nrules instead of this skill's fake-timer patterns (J2 \u002F J8). CV forbids fake\ntimers. Use the CV diagnosing table for sibling-skeleton waits, empty-state\nload, list hydration, stale press, nested `findBy*`, and Engine `mockReset`.\n\nAll proposed **unit** fixes must comply with `mms-mobile-testing` (unit path) and `mms-coding-guidelines`. Key rules:\n- Use `jest.mocked(fn)` — never `fn as jest.Mock`\n- Use `toBeOnTheScreen()` — never `toBeTruthy()` \u002F `toBeDefined()` for element presence\n- Use `yarn` commands — never npm or npx\n- No `toMatchSnapshot()` — use explicit assertions or `toMatchInlineSnapshot()`\n\n## Review mode\n\n1. Scan changed `.test.ts(x)` files against the pattern table (J1–J10).\n2. Classify each hit (async \u002F timing \u002F isolation \u002F mock \u002F state).\n3. Propose the fix for each hit using the ✅ pattern from the matching section — apply only on explicit confirmation.\n4. Run the local reproduction loop to confirm the fix holds.\n\n## Audit mode\n\nQuery GitHub Actions run history to produce a ranked list of historically flaky unit test files with failure rates and suggested fix categories.\n\nOpen [references\u002Fgh-analysis.md](references\u002Fgh-analysis.md) for the full procedure.\n",{"name":5,"description":7},"main","a0ec29ada8d53edf5a3f24370bec058767157433","domains\u002Fcoding\u002Fskills\u002Fflaky-test-detection",11,"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills","https:\u002F\u002Fgithub.com\u002FMetaMask","https:\u002F\u002Fmetamask.io","MetaMask brings Ethereum to your web browser","2026-11-14 02:01:03",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add MetaMask\u002Fskills --skill flaky-test-detection",{"tool":60,"command":61},"bunx","bunx skills add MetaMask\u002Fskills --skill flaky-test-detection",{"tool":63,"command":64},"pnpm","pnpm dlx skills add MetaMask\u002Fskills --skill flaky-test-detection","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fcoding\u002Fskills\u002Fflaky-test-detection\u002Fskill.md",true,[68,74],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fgh-analysis.md","REFERENCE","参考文档",4012,"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fcoding\u002Fskills\u002Fflaky-test-detection\u002Freferences\u002Fgh-analysis.md",{"path":75,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":76,"sourceHtmlUrl":77},"repos\u002Fmetamask-mobile.md",9562,"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fcoding\u002Fskills\u002Fflaky-test-detection\u002Frepos\u002Fmetamask-mobile.md",[79,87,95,122,142,149],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":86},"01M7B6HMM9ND19MSEXPDW7Q3F8","recipe-plan-and-dispatch","Plan a ticket with the engineer before a recipe fix-bug or dev run. Agree the acceptance criteria and an implementation plan, write it as an approved plan file, and print the prompt that starts the run with any agent and model. Never edits product code or starts the run.","https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fagentic\u002Fskills\u002Frecipe-plan-and-dispatch\u002Fskill.md",[],[],"2026-11-15 14:19:17",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":94},"01M72GPQFVTGCPVK22DSDJXEJY","recipe-library-audit","Run every recipe of a team recipe library on one client with mm-harness, classify each result with the failing node and exact error, and review naming and composability. Produces a per-client table; changes nothing.","https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fagentic\u002Fskills\u002Frecipe-library-audit\u002Fskill.md",[],[],"2026-11-10 22:39:42",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":40},"01M70PKJH3WSTFMSA8VYQWNDW9","recipe-performance","Diagnose a specific MetaMask user flow's real-app performance and Sentry critical-user-flow telemetry with deterministic mm-harness recipes. Use for CUF boundaries, cold\u002Fwarm\u002Fbackground-resume behavior, latency regressions, lifecycle tags, duplicate or blocking network requests, long tasks, layout\u002Fpaint cost, screen redraws, React rerenders, or browser trace analysis where tests alone cannot prove the real app.","https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fagentic\u002Fskills\u002Frecipe-performance\u002Fskill.md",[],[102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121],"recipe","recipe performance","performance","analysis","app","cold","critical","tasks","react","browser","layout","screen","network","metamask","flow","recipes","deterministic","harness","mm","sentry",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":40},"01M6CGJ7AEJCZSRGF3PBE6EWBG","x402-payments","Build x402 payment flows using MetaMask Smart Accounts Kit, machine to machine payments over HTTP with ERC-7710 delegations and ERC-7715 Advanced Permissions","https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fweb3-tools\u002Fskills\u002Fx402-payments\u002Fskill.md",[],[129,130,131,132,133,134,135,136,115,137,138,139,140,141],"x402","x402 payments","payments","with","payment","advanced","flows","machine","kit","build","permissions","smart accounts kit","http",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":40},"01M6CGJ4AEKJZJWJ704SZTWQ5T","smart-accounts-kit","Build dApps with MetaMask Smart Accounts Kit — ERC-4337 smart accounts, delegations, and Advanced Permissions (ERC-7715)","https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fweb3-tools\u002Fskills\u002Fsmart-accounts-kit\u002Fskill.md",[],[137,140,139,138,132,134,115],{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":40},"01M6CGJ11KGB6862Z1ADYTMKYZ","oh-my-opencode","Multi-agent orchestration plugin for OpenCode. Use when the user wants to install, configure, or operate oh-my-opencode — including agent delegation, ultrawork mode, Prometheus planning, background tasks, category-based task routing, model resolution, tmux integration, or any oh-my-opencode feature. Covers installation, configuration, all agents (Sisyphus, Oracle, Librarian, Explore, Atlas, Prometheus, Metis, Momus), all categories, slash commands, hooks, skills, MCPs, and troubleshooting.","https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fweb3-tools\u002Fskills\u002Foh-my-opencode\u002Fskill.md",[],[156,157,158,159,160,161,162,163,109,164,165,166,167,168,169,31,170,171,172,173,174,175,23,176,177,178,179],"oh my opencode","my","opencode","hooks","explore","model","momus","code","ultrawork","install","multi-agent","tmux","prometheus","planning","orchestration","categories","operate","mode","metis","configure","oracle","agent orchestration","librarian","delegation"]