[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CGEQ5B0CT32SK9RTKN1XJD":3,"skill-same:01M6CGEQ5B0CT32SK9RTKN1XJD":62},{"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":27,"linkOnly":28,"markdownContent":29,"markdownBody":30,"frontMatter":31,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M6CGEQ5B0CT32SK9RTKN1XJD","extension-lifecycle-decoupling",null,"Verify platform lifecycle events before assuming they cause application-level side effects","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\u002Fplatform\u002Fskills\u002Fextension-lifecycle-decoupling\u002Fskill.md",[],[18,19,20,21,22,23,24,25,26],"lifecycle","extension lifecycle decoupling","extension","decoupling","verify","application","platform","events","effects","2026-11-10 10:12:30",false,"---\nmaturity: experimental\nname: extension-lifecycle-decoupling\ndescription: Verify platform lifecycle events before assuming they cause application-level side effects\n---\n\n# Extension Lifecycle Decoupling\n\n## When To Use\n\n- Estimating event frequency based on service worker eviction\n- Debugging behavior that \"should\" trigger on lock\u002Funlock but doesn't\n- Investigating keepalive, timer, or state persistence behavior\n\n## Do Not Use When\n\n- Working on UI-only code with no background process interaction\n- The behavior reproduces reliably in development without service worker eviction\n\n## Core Distinction\n\n| Layer | Examples | Characteristics |\n|-------|---------|----------------|\n| Platform lifecycle | SW eviction, page unload | Infrastructure-level |\n| Application lifecycle | Lock, unlock, init | User-level |\n\nThese layers are often **decoupled**. The mapping between them is an implementation detail — verify it, don't assume it.\n\n## Verification Checklist\n\nBefore claiming a platform lifecycle event causes application behavior:\n\n1. Is there an explicit handler (`onSuspend`, `beforeunload`) that triggers the claimed effect?\n2. Is there a keepalive mechanism preventing the lifecycle event?\n3. Does relevant state persist across restarts (`chrome.storage.local`, `chrome.storage.session`, IndexedDB)?\n4. Are timers alarm-based (persist across SW restart) or `setTimeout`-based (don't)?\n5. Is the guard\u002Fflag reset by the lifecycle event or by a separate application event?\n","# Extension Lifecycle Decoupling\n\n## When To Use\n\n- Estimating event frequency based on service worker eviction\n- Debugging behavior that \"should\" trigger on lock\u002Funlock but doesn't\n- Investigating keepalive, timer, or state persistence behavior\n\n## Do Not Use When\n\n- Working on UI-only code with no background process interaction\n- The behavior reproduces reliably in development without service worker eviction\n\n## Core Distinction\n\n| Layer | Examples | Characteristics |\n|-------|---------|----------------|\n| Platform lifecycle | SW eviction, page unload | Infrastructure-level |\n| Application lifecycle | Lock, unlock, init | User-level |\n\nThese layers are often **decoupled**. The mapping between them is an implementation detail — verify it, don't assume it.\n\n## Verification Checklist\n\nBefore claiming a platform lifecycle event causes application behavior:\n\n1. Is there an explicit handler (`onSuspend`, `beforeunload`) that triggers the claimed effect?\n2. Is there a keepalive mechanism preventing the lifecycle event?\n3. Does relevant state persist across restarts (`chrome.storage.local`, `chrome.storage.session`, IndexedDB)?\n4. Are timers alarm-based (persist across SW restart) or `setTimeout`-based (don't)?\n5. Is the guard\u002Fflag reset by the lifecycle event or by a separate application event?\n",{"name":5,"maturity":32,"description":7},"experimental","main","a0ec29ada8d53edf5a3f24370bec058767157433","domains\u002Fplatform\u002Fskills\u002Fextension-lifecycle-decoupling",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":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add MetaMask\u002Fskills --skill extension-lifecycle-decoupling",{"tool":48,"command":49},"bunx","bunx skills add MetaMask\u002Fskills --skill extension-lifecycle-decoupling",{"tool":51,"command":52},"pnpm","pnpm dlx skills add MetaMask\u002Fskills --skill extension-lifecycle-decoupling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fplatform\u002Fskills\u002Fextension-lifecycle-decoupling\u002Fskill.md",true,[56],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"repos\u002Fmetamask-extension.md","REFERENCE","参考文档",3478,"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fskills\u002Fblob\u002Fmain\u002Fdomains\u002Fplatform\u002Fskills\u002Fextension-lifecycle-decoupling\u002Frepos\u002Fmetamask-extension.md",[63,71,79,106,126,133],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":70},"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":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":78},"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":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":27},"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",[],[86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105],"recipe","recipe performance","performance","analysis","app","cold","critical","tasks","react","browser","layout","screen","network","metamask","flow","recipes","deterministic","harness","mm","sentry",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":27},"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",[],[113,114,115,116,117,118,119,120,99,121,122,123,124,125],"x402","x402 payments","payments","with","payment","advanced","flows","machine","kit","build","permissions","smart accounts kit","http",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":27},"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",[],[121,124,123,122,116,118,99],{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":27},"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",[],[140,141,142,143,144,145,146,147,93,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165],"oh my opencode","my","opencode","hooks","explore","model","momus","code","ultrawork","install","multi-agent","tmux","prometheus","planning","use","orchestration","categories","operate","mode","metis","configure","when","oracle","agent orchestration","librarian","delegation"]