[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F8EBHXYEKP0CXS9T6AZM41":3,"skill-same:01M7F8EBHXYEKP0CXS9T6AZM41":66},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":47},"01M7F8EBHXYEKP0CXS9T6AZM41","server-backends-and-async",null,"Use for Dash backend selection, async callbacks, WebSocket callbacks, background callbacks, hooks, and MCP server configuration.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdash\u002Fsub-skills\u002Fserver-backends-and-async\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: server-backends-and-async\ndescription: \"Use for Dash backend selection, async callbacks, WebSocket\n  callbacks, background callbacks, hooks, and MCP server configuration.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: MIT\n---\n\n# Dash Server Backends and Async Workflows\n\nUse this sub-skill when a task depends on Dash's server runtime rather than the\nlayout\u002Fcallback API alone: backend selection, async callbacks, background\ncallbacks, WebSocket callbacks, hooks, or MCP exposure.\n\n## Start here\n\n1. Read [references\u002Fbackend-workflows.md](references\u002Fbackend-workflows.md) for\n   backend selection, adapters, and constructor\u002Fruntime facts.\n2. Read [references\u002Fbackground-and-websocket-callbacks.md](references\u002Fbackground-and-websocket-callbacks.md)\n   for async, background, and WebSocket behavior.\n3. Read [references\u002Fmcp-and-hooks.md](references\u002Fmcp-and-hooks.md) for hooks and\n   MCP configuration.\n4. Read [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) when a\n   backend import or optional-extra path fails.\n5. Run [scripts\u002Finspect_backends.py](scripts\u002Finspect_backends.py) for a safe\n   optional-backend diagnostic before promising backend coverage.\n\n## Main routes\n\n### Choose or inspect a backend\n\nDash defaults to Flask but can also run on FastAPI or Quart. Use this sub-skill\nwhen you need to know which backend constructor to use, which extras are needed,\nor how to create a Dash app around an existing server instance.\n\n### Write async or background callbacks\n\nUse this sub-skill for `async def` callbacks, `background=True`,\n`DiskcacheManager`, `CeleryManager`, `progress`, `running`, `cancel`, and cache\nkeys.\n\n### Use WebSocket callbacks\n\nRoute WebSocket tasks here when the callback depends on `websocket_callbacks`,\n`websocket=True`, `persistent=True`, `ctx.websocket`, `set_props`, or browser\u002F\nserver disconnect behavior. FastAPI is the backend surface that exposes the\nWebSocket path in Dash.\n\n### Expose hooks or MCP content\n\nUse this sub-skill for `hooks.setup`, `hooks.layout`, `hooks.route`,\n`hooks.error`, `hooks.callback`, `hooks.websocket_connect`,\n`hooks.websocket_message`, `configure_mcp_server`, and `mcp_enabled`.\n\n## Route elsewhere\n\n- Plain callback, layout, page, asset, and clientside app behavior:\n  [app callback workflows](..\u002Fapp-callback-workflows\u002FSKILL.md).\n- Component wrapper generation, `dash-renderer`, and resource loading:\n  [component renderer development](..\u002Fcomponent-renderer-development\u002FSKILL.md).\n- Test selection and browser command strategy:\n  [testing and maintenance](..\u002Ftesting-and-maintenance\u002FSKILL.md).\n\n## Validation checklist\n\nBefore marking a backend workflow solved:\n\n- The installed extra or backend package is present.\n- If the workflow requires Flask async, `dash[async]` is installed.\n- If the workflow requires FastAPI or Quart, the relevant extra is installed and\n  a safe app\u002Fbackend construction check passes.\n- If the workflow requires Diskcache or Celery, the corresponding dependency set\n  is installed and the service requirement is called out when applicable.\n- If the workflow uses WebSocket callbacks, the backend and browser\u002Fruntime\n  prerequisites are explicitly named.\n- If a hook or MCP change alters route exposure, the sub-skill references explain\n  the request\u002Fsession\u002Fcontent-type rules and the expected failure modes.\n","# Dash Server Backends and Async Workflows\n\nUse this sub-skill when a task depends on Dash's server runtime rather than the\nlayout\u002Fcallback API alone: backend selection, async callbacks, background\ncallbacks, WebSocket callbacks, hooks, or MCP exposure.\n\n## Start here\n\n1. Read [references\u002Fbackend-workflows.md](references\u002Fbackend-workflows.md) for\n   backend selection, adapters, and constructor\u002Fruntime facts.\n2. Read [references\u002Fbackground-and-websocket-callbacks.md](references\u002Fbackground-and-websocket-callbacks.md)\n   for async, background, and WebSocket behavior.\n3. Read [references\u002Fmcp-and-hooks.md](references\u002Fmcp-and-hooks.md) for hooks and\n   MCP configuration.\n4. Read [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) when a\n   backend import or optional-extra path fails.\n5. Run [scripts\u002Finspect_backends.py](scripts\u002Finspect_backends.py) for a safe\n   optional-backend diagnostic before promising backend coverage.\n\n## Main routes\n\n### Choose or inspect a backend\n\nDash defaults to Flask but can also run on FastAPI or Quart. Use this sub-skill\nwhen you need to know which backend constructor to use, which extras are needed,\nor how to create a Dash app around an existing server instance.\n\n### Write async or background callbacks\n\nUse this sub-skill for `async def` callbacks, `background=True`,\n`DiskcacheManager`, `CeleryManager`, `progress`, `running`, `cancel`, and cache\nkeys.\n\n### Use WebSocket callbacks\n\nRoute WebSocket tasks here when the callback depends on `websocket_callbacks`,\n`websocket=True`, `persistent=True`, `ctx.websocket`, `set_props`, or browser\u002F\nserver disconnect behavior. FastAPI is the backend surface that exposes the\nWebSocket path in Dash.\n\n### Expose hooks or MCP content\n\nUse this sub-skill for `hooks.setup`, `hooks.layout`, `hooks.route`,\n`hooks.error`, `hooks.callback`, `hooks.websocket_connect`,\n`hooks.websocket_message`, `configure_mcp_server`, and `mcp_enabled`.\n\n## Route elsewhere\n\n- Plain callback, layout, page, asset, and clientside app behavior:\n  [app callback workflows](..\u002Fapp-callback-workflows\u002FSKILL.md).\n- Component wrapper generation, `dash-renderer`, and resource loading:\n  [component renderer development](..\u002Fcomponent-renderer-development\u002FSKILL.md).\n- Test selection and browser command strategy:\n  [testing and maintenance](..\u002Ftesting-and-maintenance\u002FSKILL.md).\n\n## Validation checklist\n\nBefore marking a backend workflow solved:\n\n- The installed extra or backend package is present.\n- If the workflow requires Flask async, `dash[async]` is installed.\n- If the workflow requires FastAPI or Quart, the relevant extra is installed and\n  a safe app\u002Fbackend construction check passes.\n- If the workflow requires Diskcache or Celery, the corresponding dependency set\n  is installed and the service requirement is called out when applicable.\n- If the workflow uses WebSocket callbacks, the backend and browser\u002Fruntime\n  prerequisites are explicitly named.\n- If a hook or MCP change alters route exposure, the sub-skill references explain\n  the request\u002Fsession\u002Fcontent-type rules and the expected failure modes.\n",{"name":5,"license":15,"metadata":24,"description":7,"disable-model-invocation":26},{"disco-role":25},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fdash\u002Fsub-skills\u002Fserver-backends-and-async",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":26},[37,40,43],{"tool":38,"command":39},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill server-backends-and-async",{"tool":41,"command":42},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill server-backends-and-async",{"tool":44,"command":45},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill server-backends-and-async","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdash\u002Fsub-skills\u002Fserver-backends-and-async\u002FSKILL.md",[48,54,58,62],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fbackend-workflows.md","REFERENCE","参考文档",2490,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdash\u002Fsub-skills\u002Fserver-backends-and-async\u002Freferences\u002Fbackend-workflows.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fbackground-and-websocket-callbacks.md",3927,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdash\u002Fsub-skills\u002Fserver-backends-and-async\u002Freferences\u002Fbackground-and-websocket-callbacks.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fmcp-and-hooks.md",2458,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdash\u002Fsub-skills\u002Fserver-backends-and-async\u002Freferences\u002Fmcp-and-hooks.md",{"path":63,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Ftroubleshooting.md",3454,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdash\u002Fsub-skills\u002Fserver-backends-and-async\u002Freferences\u002Ftroubleshooting.md",[67,74,79,86,93,100],{"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},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":75,"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":76,"categories":77,"keywords":78,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]