[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C5BP43WWDCV7Q3PD41NSZ0":3,"skill-same:01M6C5BP43WWDCV7Q3PD41NSZ0":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":17,"ownerHtmlUrl":46,"ownerBlogUrl":17,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M6C5BP43WWDCV7Q3PD41NSZ0","stellaris-ui","群星 Mod 界面设计","Design and implement robust Stellaris mod user interfaces.","设计并实现健壮的 Stellaris（群星）Mod 用户界面。","Lyther\u002Fagent-surface","Lyther","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F29906124?v=4","01M6C587M9T34T0SAGJSRK043Y","Enderaoe","01M6C587R0TXH3MFR8SRFPV61G",65,"MIT",null,"https:\u002F\u002Fgithub.com\u002FLyther\u002Fagent-surface\u002Fblob\u002Fmain\u002Fskills\u002Fstellaris-ui\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQMKHSMFVQHR2KYAEVN","界面设计师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C8AH5JVFJMQAK7Z100TS8W","游戏开发","SCENARIO","使用场景",[31,32,33,34,35],"ui","stellaris ui","design","implement","user","2026-11-10 10:12:30",false,"---\nname: stellaris-ui\ndescription: \"Design and implement robust Stellaris mod user interfaces.\"\n---\n\n## Objective\n\nDesign and implement safe, robust Stellaris user interfaces. Stellaris UI is brittle: use event window hijacking for menus (safe) and scripted GUIs for logic (robust), and keep visual assets (`.gfx`) separate from layout logic (`.gui`).\n\n## Rules\n\n1. Never hardcode X\u002FY > 1080 without `orientation`.\n2. Every window name starts with `[NS]_`.\n3. A button that modifies game state must be an `effectButtonType`. Standard `buttonType` is hardcoded to engine functions; never use it for custom logic.\n\n## 1. Architecture\n\nChoose the integration method by risk versus control:\n\n| Strategy | Mechanism | Use case | Risk |\n| :--- | :--- | :--- | :--- |\n| A. Event hijack (green) | Trigger an event with `diplomatic_title`; map a custom `.gui` window to it. | Story choices, shops | Zero (native flow) |\n| B. Smart button (yellow) | Inject a `containerWindowType` with an `effectButtonType` into a vanilla view (e.g. `planet_view`). | Context actions | Low (self-managing) |\n| C. Dashboard (orange) | A floating `containerWindowType` toggled by a `scripted_gui`. | Managers, global tools | Medium (needs open\u002Fclose logic) |\n\n## 2. Assets (`.gfx`)\n\nRegister every sprite in `src\u002Finterface\u002F[NS]_icons.gfx`; buttons need 3 frames (rest, hover, click):\n\n```pdx\nspriteTypes = {\n    # Standard Button (3 Frames)\n    spriteType = {\n        name = \"GFX_[NS]_button_action\"\n        texturefile = \"gfx\u002Finterface\u002Fbuttons\u002Fbutton_142_34.dds\"\n        effectFile = \"gfx\u002FFX\u002Fbuttonstate.lua\"\n        noOfFrames = 3\n    }\n}\n\n```\n\n## 3. Layout (`.gui`)\n\nIn `src\u002Finterface\u002F[NS]_view.gui`, always anchor with `orientation` and `origo` (pivot): `center` \u002F `center` for modals, `upper_left` for lists and sidebars. Script interaction uses `effectButtonType` { `effect = \"my_scripted_effect\"` }.\n\n## 4. Logic Bridge (`scripted_guis`)\n\nDefine when the UI updates and what data it sees in `src\u002Fcommon\u002Fscripted_guis\u002F[NS]_guis.txt`:\n\n```pdx\n[NS]_main_gui_logic = {\n    scope = country\n    saved_scopes = { target_planet }\n    is_shown = { always = yes }\n    is_enabled = { minerals > 100 }\n}\n\n```\n\n## Output Template (`.gui`)\n\n```pdx\nguiTypes = {\n    containerWindowType = {\n        name = \"[NS]_main_window\"\n        orientation = center\n        origo = center\n        size = { width = 500 height = 400 }\n        moveable = yes\n\n        background = {\n            name = \"bg\"\n            quadTextureSprite = \"GFX_tile_outliner_bg\"\n        }\n\n        # Header\n        instantTextBoxType = {\n            name = \"header\"\n            font = \"malgun_goth_24\"\n            text = \"[NS]_window_title\" # TODO: LOC\n            position = { x = 0 y = 20 }\n            maxWidth = 500\n            format = center\n        }\n\n        # Logic Button\n        effectButtonType = {\n            name = \"[NS]_action_btn\"\n            quadTextureSprite = \"GFX_[NS]_button_action\"\n            position = { x = -71 y = -50 }\n            orientation = center_down\n            buttonText = \"[NS]_btn_text\"\n            buttonFont = \"cg_16b\"\n\n            # The Link to Logic\n            effect = \"[NS]_effect_do_something\"\n        }\n\n        # Close Button (Standard)\n        buttonType = {\n            name = \"close\"\n            quadTextureSprite = \"GFX_close_square\"\n            orientation = UPPER_RIGHT\n            position = { x = -45 y = 15 }\n            shortcut = \"ESCAPE\"\n            clicksound = \"back_click\"\n            actionShortcut = \"cancel\"\n        }\n    }\n}\n\n```\n","## Objective\n\nDesign and implement safe, robust Stellaris user interfaces. Stellaris UI is brittle: use event window hijacking for menus (safe) and scripted GUIs for logic (robust), and keep visual assets (`.gfx`) separate from layout logic (`.gui`).\n\n## Rules\n\n1. Never hardcode X\u002FY > 1080 without `orientation`.\n2. Every window name starts with `[NS]_`.\n3. A button that modifies game state must be an `effectButtonType`. Standard `buttonType` is hardcoded to engine functions; never use it for custom logic.\n\n## 1. Architecture\n\nChoose the integration method by risk versus control:\n\n| Strategy | Mechanism | Use case | Risk |\n| :--- | :--- | :--- | :--- |\n| A. Event hijack (green) | Trigger an event with `diplomatic_title`; map a custom `.gui` window to it. | Story choices, shops | Zero (native flow) |\n| B. Smart button (yellow) | Inject a `containerWindowType` with an `effectButtonType` into a vanilla view (e.g. `planet_view`). | Context actions | Low (self-managing) |\n| C. Dashboard (orange) | A floating `containerWindowType` toggled by a `scripted_gui`. | Managers, global tools | Medium (needs open\u002Fclose logic) |\n\n## 2. Assets (`.gfx`)\n\nRegister every sprite in `src\u002Finterface\u002F[NS]_icons.gfx`; buttons need 3 frames (rest, hover, click):\n\n```pdx\nspriteTypes = {\n    # Standard Button (3 Frames)\n    spriteType = {\n        name = \"GFX_[NS]_button_action\"\n        texturefile = \"gfx\u002Finterface\u002Fbuttons\u002Fbutton_142_34.dds\"\n        effectFile = \"gfx\u002FFX\u002Fbuttonstate.lua\"\n        noOfFrames = 3\n    }\n}\n\n```\n\n## 3. Layout (`.gui`)\n\nIn `src\u002Finterface\u002F[NS]_view.gui`, always anchor with `orientation` and `origo` (pivot): `center` \u002F `center` for modals, `upper_left` for lists and sidebars. Script interaction uses `effectButtonType` { `effect = \"my_scripted_effect\"` }.\n\n## 4. Logic Bridge (`scripted_guis`)\n\nDefine when the UI updates and what data it sees in `src\u002Fcommon\u002Fscripted_guis\u002F[NS]_guis.txt`:\n\n```pdx\n[NS]_main_gui_logic = {\n    scope = country\n    saved_scopes = { target_planet }\n    is_shown = { always = yes }\n    is_enabled = { minerals > 100 }\n}\n\n```\n\n## Output Template (`.gui`)\n\n```pdx\nguiTypes = {\n    containerWindowType = {\n        name = \"[NS]_main_window\"\n        orientation = center\n        origo = center\n        size = { width = 500 height = 400 }\n        moveable = yes\n\n        background = {\n            name = \"bg\"\n            quadTextureSprite = \"GFX_tile_outliner_bg\"\n        }\n\n        # Header\n        instantTextBoxType = {\n            name = \"header\"\n            font = \"malgun_goth_24\"\n            text = \"[NS]_window_title\" # TODO: LOC\n            position = { x = 0 y = 20 }\n            maxWidth = 500\n            format = center\n        }\n\n        # Logic Button\n        effectButtonType = {\n            name = \"[NS]_action_btn\"\n            quadTextureSprite = \"GFX_[NS]_button_action\"\n            position = { x = -71 y = -50 }\n            orientation = center_down\n            buttonText = \"[NS]_btn_text\"\n            buttonFont = \"cg_16b\"\n\n            # The Link to Logic\n            effect = \"[NS]_effect_do_something\"\n        }\n\n        # Close Button (Standard)\n        buttonType = {\n            name = \"close\"\n            quadTextureSprite = \"GFX_close_square\"\n            orientation = UPPER_RIGHT\n            position = { x = -45 y = 15 }\n            shortcut = \"ESCAPE\"\n            clicksound = \"back_click\"\n            actionShortcut = \"cancel\"\n        }\n    }\n}\n\n```\n",{"name":5,"description":7},"main","bb71e1631303bd27cb8ac18dc04830c97db8ac4d","skills\u002Fstellaris-ui",0,"https:\u002F\u002Fgithub.com\u002FLyther\u002Fagent-surface","https:\u002F\u002Fgithub.com\u002FLyther","Why so serious?","2026-11-13 17:36:21",{"source":9,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add Lyther\u002Fagent-surface --skill stellaris-ui",{"tool":55,"command":56},"bunx","bunx skills add Lyther\u002Fagent-surface --skill stellaris-ui",{"tool":58,"command":59},"pnpm","pnpm dlx skills add Lyther\u002Fagent-surface --skill stellaris-ui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLyther\u002Fagent-surface\u002Fblob\u002Fmain\u002Fskills\u002Fstellaris-ui\u002FSKILL.md",true,[],[64,93,113,132,156,171],{"skillNo":65,"name":66,"nameZh":67,"description":68,"descriptionZh":69,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":70,"categories":71,"keywords":78,"publishedAt":36},"01M6C5CQAHK34J7RNHEJE1G366","workflow-runtime","工作流运行时验证","Prove skill or workflow discovery, full-autonomy tool execution, and task-shaped materialization before assigning a CLI, extension, provider, or model to a workflow role.","在将 CLI、扩展、提供程序或模型分配给工作流角色之前，先验证技能或工作流的发现能力、完全自主的工具执行能力，以及任务形态的具体化。","https:\u002F\u002Fgithub.com\u002FLyther\u002Fagent-surface\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-runtime\u002FSKILL.md",[72,75],{"categoryNo":73,"categoryName":74,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",{"categoryNo":76,"categoryName":77,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发",[79,80,81,82,83,84,85,86,87,88,89,90,91,92],"workflow","workflow runtime","runtime","execution","cli","discovery","tool","model","autonomy","provider","task","full","extension","role",{"skillNo":94,"name":95,"nameZh":96,"description":97,"descriptionZh":98,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":99,"categories":100,"keywords":105,"publishedAt":36},"01M6C5CNCTDS39453E66MQYTTQ","workflow-reviewer","工作流成果审查","Review batched implementation output against the BOSS spec and evidence.","依据 BOSS 规格说明和证据，审查批量实现的输出。","https:\u002F\u002Fgithub.com\u002FLyther\u002Fagent-surface\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-reviewer\u002FSKILL.md",[101,102],{"categoryNo":73,"categoryName":74,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":103,"categoryName":104,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C48JNVH0P83Z0KVKAQ4819","成果验证与价值评估",[106,107,79,108,109,110,111,112],"workflow reviewer","reviewer","spec","review","evidence","implementation","output",{"skillNo":114,"name":115,"nameZh":116,"description":117,"descriptionZh":118,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":119,"categories":120,"keywords":125,"publishedAt":36},"01M6C5CKVKQF6NE9263HGRB2K3","workflow-rescue","工作流故障修复","Resolve repeated workflow failures with a single decisive action.","通过一次果断的行动解决反复出现的工作流失败。","https:\u002F\u002Fgithub.com\u002FLyther\u002Fagent-surface\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-rescue\u002FSKILL.md",[121,124],{"categoryNo":122,"categoryName":123,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRSRYQ3M8N5063NNQPF2B1","调试与故障排查",{"categoryNo":73,"categoryName":74,"taxonomyType":23,"taxonomyTypeDesc":24},[79,126,127,128,129,130,131],"workflow rescue","rescue","single","decisive action","with","action",{"skillNo":133,"name":134,"nameZh":135,"description":136,"descriptionZh":137,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":138,"categories":139,"keywords":144,"publishedAt":36},"01M6C5CHCW474Y5F49WME2G12H","workflow-orchestrator","多智能体工作流编排","Run risk-adaptive development, review, multi-agent, and release workflows with runtime preflight, bounded retries, liveness checks, isolated writers, and evidence-backed handoffs.","运行风险自适应的开发、评审、多智能体和发布工作流，具备运行时预检、有限重试、存活检查、写入隔离以及有证据支撑的交接能力。","https:\u002F\u002Fgithub.com\u002FLyther\u002Fagent-surface\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-orchestrator\u002FSKILL.md",[140,141],{"categoryNo":73,"categoryName":74,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":142,"categoryName":143,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CC5FE9VPCST4F3M1W5T9X8","流程编排组合与验证",[145,146,79,130,147,109,148,149,150,151,152,153,110,81,154,155],"orchestrator","workflow orchestrator","development","workflows","run","release","risk","preflight","multi-agent","multi","retries",{"skillNo":157,"name":158,"nameZh":159,"description":160,"descriptionZh":161,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":162,"categories":163,"keywords":166,"publishedAt":36},"01M6C5CFCYEW1J4ETBNDD4EQPK","workflow-judger","工作流失败仲裁","Arbitrate repeated task failures and decide merge, rework, or escalation.","仲裁反复出现的任务失败，并决定是合并、返工还是升级处理。","https:\u002F\u002Fgithub.com\u002FLyther\u002Fagent-surface\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-judger\u002FSKILL.md",[164,165],{"categoryNo":73,"categoryName":74,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":142,"categoryName":143,"taxonomyType":28,"taxonomyTypeDesc":29},[167,79,168,169,170,89],"workflow judger","merge","escalation","decide",{"skillNo":172,"name":173,"nameZh":174,"description":175,"descriptionZh":176,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":177,"categories":178,"keywords":183,"publishedAt":36},"01M6C5CDADZX0YM26H2QWWDJMF","workflow-doctor","工作流状态验证","Validate active workflow state before any role acts on it.","在任何角色对活动工作流状态执行操作之前，先对其进行验证。","https:\u002F\u002Fgithub.com\u002FLyther\u002Fagent-surface\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-doctor\u002FSKILL.md",[179,182],{"categoryNo":180,"categoryName":181,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C31AVFVV99RWJEGF9PS85F","项目经理",{"categoryNo":142,"categoryName":143,"taxonomyType":28,"taxonomyTypeDesc":29},[79,184,185,186,187,188,189,92],"workflow doctor","doctor","validate","state","active","it"]