[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ES3YK3MZJTFXP6THSRAR0S":3,"skill-same:01M6ES3YK3MZJTFXP6THSRAR0S":74},{"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":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M6ES3YK3MZJTFXP6THSRAR0S","phaserjs-build-ui",null,"Implement Phaser HUD scenes, drawn controls and DOM companions with safe-area layout, focus navigation and synchronized game state.","TimothyMeadows\u002FHephaera","TimothyMeadows","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4072037?v=4","01M6ERVE3WV9X55S1NT4W5FDGA","Timothy D Meadows II","01M6ERVE8H7CBATH6KYFDKG5CJ",4,"MIT","https:\u002F\u002Fgithub.com\u002FTimothyMeadows\u002FHephaera\u002Fblob\u002Fmain\u002Fskills\u002Fphaserjs-build-ui\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"phaserjs","ui","build ui","phaserjs build ui","build","hud","dom","with","phaser","controls","layout","safe","focus","scenes","navigation","game","state","implement","2026-11-10 10:12:30",false,"---\nname: phaserjs-build-ui\ndescription: Implement Phaser HUD scenes, drawn controls and DOM companions with safe-area layout, focus navigation and synchronized game state.\nengines: [PHASERJS]\n---\n\n# Build Phaser UI\n\n## When to use\n\nBuild Phaser menus, HUDs, modal screens or world prompts. Compose with `build-game-ui` for engine-independent hierarchy and interaction rules.\n\n## Engine and dependencies\n\nBefore edits or tool launches, run `resolve-engine.sh` and `resolve-skill.sh phaserjs-build-ui`; require compatibility and honor task override scope. Read the Phaser revision, Scale Manager settings, screen\u002Finput contract, browser targets and art pipeline. Use selected host packages; third-party widget libraries and DOM integrations are explicit choices.\n\n## Workflow\n\n1. Choose dedicated HUD\u002Fmenu scenes, `Text`\u002F`BitmapText`, images and containers, or semantic DOM according to layout\u002Faccessibility needs. Containers group transforms, not automatic layout, focus or accessibility. Treat font\u002Fatlas load failure explicitly.\n2. Define a logical UI coordinate space, viewport\u002Fsafe-area constraints and resize\u002Forientation policy. A fixed-camera HUD and world-space prompt need different camera\u002Fscroll-factor handling. Measure long text, text scale, touch target sizes and localization.\n3. Build navigation and focus models for keyboard\u002Fcontroller input. Route actions to the top active modal; coordinate scene Input Plugins and world controls to prevent click-through. Restore focus or a valid fallback after close, scene replacement or data removal.\n4. Provide DOM semantic controls\u002Fcompanions for essential drawn interactions when required. Keep labels, values, disabled state and activation synchronized. If using Phaser's `DOMElement`, verify its configured DOM container, scaling and camera limitations in the host revision.\n5. Initialize the HUD from a gameplay snapshot and subscribe to bounded updates. Unsubscribe on shutdown; reopen must show current state. Bind prompts to the active player's remapped controls and guard against duplicate event subscriptions after restart.\n6. Own UI animations, textures and external listeners; closing a screen cancels its pending effects without resetting unrelated gameplay timers.\n\n## Output and verification\n\nDeliver UI\u002Fstate adapters and screen\u002Finput ownership evidence. Test keyboard-only\u002Fcontroller paths, nested modals, portrait\u002Flandscape, browser zoom, long labels and HUD reopen after background state changes. Inspect semantic roles and focus; a screenshot cannot certify navigation or accessibility. Use the [Phaser input contract](https:\u002F\u002Fdocs.phaser.io\u002Fphaser\u002Fconcepts\u002Finput) and selected version's Game Object APIs.\n","# Build Phaser UI\n\n## When to use\n\nBuild Phaser menus, HUDs, modal screens or world prompts. Compose with `build-game-ui` for engine-independent hierarchy and interaction rules.\n\n## Engine and dependencies\n\nBefore edits or tool launches, run `resolve-engine.sh` and `resolve-skill.sh phaserjs-build-ui`; require compatibility and honor task override scope. Read the Phaser revision, Scale Manager settings, screen\u002Finput contract, browser targets and art pipeline. Use selected host packages; third-party widget libraries and DOM integrations are explicit choices.\n\n## Workflow\n\n1. Choose dedicated HUD\u002Fmenu scenes, `Text`\u002F`BitmapText`, images and containers, or semantic DOM according to layout\u002Faccessibility needs. Containers group transforms, not automatic layout, focus or accessibility. Treat font\u002Fatlas load failure explicitly.\n2. Define a logical UI coordinate space, viewport\u002Fsafe-area constraints and resize\u002Forientation policy. A fixed-camera HUD and world-space prompt need different camera\u002Fscroll-factor handling. Measure long text, text scale, touch target sizes and localization.\n3. Build navigation and focus models for keyboard\u002Fcontroller input. Route actions to the top active modal; coordinate scene Input Plugins and world controls to prevent click-through. Restore focus or a valid fallback after close, scene replacement or data removal.\n4. Provide DOM semantic controls\u002Fcompanions for essential drawn interactions when required. Keep labels, values, disabled state and activation synchronized. If using Phaser's `DOMElement`, verify its configured DOM container, scaling and camera limitations in the host revision.\n5. Initialize the HUD from a gameplay snapshot and subscribe to bounded updates. Unsubscribe on shutdown; reopen must show current state. Bind prompts to the active player's remapped controls and guard against duplicate event subscriptions after restart.\n6. Own UI animations, textures and external listeners; closing a screen cancels its pending effects without resetting unrelated gameplay timers.\n\n## Output and verification\n\nDeliver UI\u002Fstate adapters and screen\u002Finput ownership evidence. Test keyboard-only\u002Fcontroller paths, nested modals, portrait\u002Flandscape, browser zoom, long labels and HUD reopen after background state changes. Inspect semantic roles and focus; a screenshot cannot certify navigation or accessibility. Use the [Phaser input contract](https:\u002F\u002Fdocs.phaser.io\u002Fphaser\u002Fconcepts\u002Finput) and selected version's Game Object APIs.\n",{"name":5,"engines":42,"description":7},[43],"PHASERJS","main","f819d9a9c7d641d8c7e14b59560a4fd358ec4630","skills\u002Fphaserjs-build-ui",3,"https:\u002F\u002Fgithub.com\u002FTimothyMeadows\u002FHephaera","https:\u002F\u002Fhephaera.com\u002F","https:\u002F\u002Fgithub.com\u002FTimothyMeadows","http:\u002F\u002Fwww.timothymeadows.com","Software & AI Systems Architect | Distributed Systems & Agentic Platforms","2026-11-13 12:12:19",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add TimothyMeadows\u002FHephaera --skill phaserjs-build-ui",{"tool":60,"command":61},"bunx","bunx skills add TimothyMeadows\u002FHephaera --skill phaserjs-build-ui",{"tool":63,"command":64},"pnpm","pnpm dlx skills add TimothyMeadows\u002FHephaera --skill phaserjs-build-ui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTimothyMeadows\u002FHephaera\u002Fblob\u002Fmain\u002Fskills\u002Fphaserjs-build-ui\u002FSKILL.md",true,[68],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"agents\u002Fopenai.yaml","REFERENCE","参考文档",256,"https:\u002F\u002Fgithub.com\u002FTimothyMeadows\u002FHephaera\u002Fblob\u002Fmain\u002Fskills\u002Fphaserjs-build-ui\u002Fagents\u002Fopenai.yaml",[75,98,122,141,160,179],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":37},"01M70V3EJ7JDFDFJ3XTKRGKRBP","verify-web3-game-lifecycle","Verify a game's selected Web3 asset, wallet, ownership and trading lifecycle with contract properties, canonical recovery, actual target evidence and separate release readiness.","https:\u002F\u002Fgithub.com\u002FTimothyMeadows\u002FHephaera\u002Fblob\u002Fmain\u002Fskills\u002Fverify-web3-game-lifecycle\u002FSKILL.md",[],[34,82,83,84,85,26,86,87,88,89,90,91,92,93,94,95,96,97],"verify","lifecycle","verify web3 game lifecycle","web3","evidence","readiness","release readiness","Wallet","recovery","properties","release","contract","canonical","asset","ownership","trading",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":37},"01M70V3CS767H4M1FP4C2A7K51","verify-onchain-game-assets","Verify exact on-chain game collection ownership and quantities at canonical blocks, reconcile inventory events, and design honest match admission. Use for ERC721\u002FERC1155 inventory, reorg recovery, reservations, or transfer-during-match rules.","https:\u002F\u002Fgithub.com\u002FTimothyMeadows\u002FHephaera\u002Fblob\u002Fmain\u002Fskills\u002Fverify-onchain-game-assets\u002FSKILL.md",[],[34,105,82,106,107,108,109,110,111,112,113,114,115,116,117,118,90,119,120,121],"onchain","game assets","assets","verify onchain game assets","chain","for","inventory","reservations","design","erc721","use","Rules","collection","on-chain","at","blocks","reconcile",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":37},"01M70TZYWE48MTM8CGGDMWSJDN","plan-web3-game-assets","Define an opt-in Ethereum, Base or Immutable game-asset lifecycle, including token identity, supply, rights, custody, game eligibility and chain-specific dependencies.","https:\u002F\u002Fgithub.com\u002FTimothyMeadows\u002FHephaera\u002Fblob\u002Fmain\u002Fskills\u002Fplan-web3-game-assets\u002FSKILL.md",[],[34,129,106,107,130,85,131,132,133,134,109,135,83,136,137,138,139,95,140],"plan","plan web3 game assets","supply","opt","immutable","rights","dependencies","token","base","define","ethereum","identity",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":37},"01M70TYYZ7SPZ7PE6A6GQ5RXQ9","integrate-game-wallets","Integrate explicit player-wallet connection, scoped SIWE authentication, authority invalidation and reviewed target-specific handoff without application-held player keys.","https:\u002F\u002Fgithub.com\u002FTimothyMeadows\u002FHephaera\u002Fblob\u002Fmain\u002Fskills\u002Fintegrate-game-wallets\u002FSKILL.md",[],[34,148,149,150,151,89,152,153,154,155,156,157,158,159],"integrate game wallets","integrate","wallets","siwe","keys","authentication","player","scoped","connection","authority","application","handoff",{"skillNo":161,"name":162,"nameZh":6,"description":163,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":164,"categories":165,"keywords":166,"publishedAt":37},"01M70TYX656BP1R0KWMYRX437R","integrate-game-asset-trading","Integrate explicitly selected game asset settlement with exact unsigned intents, scoped approvals, idempotent operations and canonical receipt reconciliation. Use for NFT listing, buying, cancellation, retries or marketplace integration.","https:\u002F\u002Fgithub.com\u002FTimothyMeadows\u002FHephaera\u002Fblob\u002Fmain\u002Fskills\u002Fintegrate-game-asset-trading\u002FSKILL.md",[],[34,167,149,95,97,168,169,110,155,170,115,171,172,26,173,174,175,176,177,178],"integrate game asset trading","reconciliation","idempotent operations","retries","listing","idempotent","nft","approvals","operations","marketplace","integration","intents",{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":37},"01M70TWV3J83RAJMA7BC62CPAH","build-evm-game-contracts","Author and verify host-owned EVM game collections and explicit mint, burn, craft or admin rules with pinned Solidity tooling. Use for contract source and deployment candidates; deployment and player signing require separate authorization.","https:\u002F\u002Fgithub.com\u002FTimothyMeadows\u002FHephaera\u002Fblob\u002Fmain\u002Fskills\u002Fbuild-evm-game-contracts\u002FSKILL.md",[],[34,186,23,187,188,110,189,154,190,93,191,115,116,192,26,193,194,82,195,196],"evm","build evm game contracts","contracts","deployment","collections","host","author","admin","signing","mint","tooling"]