[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F7T6YN91SWGHTFQAVG1VTA":3,"skill-same:01M7F7T6YN91SWGHTFQAVG1VTA":120},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7F7T6YN91SWGHTFQAVG1VTA","bb-plugin-authoring",null,"Create or change BB plugins and Plugin SDK extensions, including CLI commands, agent tools, providers, and UI surfaces.","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-前端与设计\u002Fbb-plugin-authoring\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: bb-plugin-authoring\ndescription: \"Create or change BB plugins and Plugin SDK extensions, including CLI commands, agent tools, providers, and UI surfaces.\"\n---\n\n# Author BB plugins\n\nA BB plugin is a TypeScript package that can add server behavior, agent\ncapabilities, host-rendered UI, or a frontend bundle.\n\nUse the current SDK types and repository source as the contract. This skill\nroutes to detailed references, but the installed BB version decides the exact\nAPI.\n\n## Implement and verify\n\nInspect the affected package and current SDK declarations to select backend,\nfrontend, or both. Build the plugin and verify the affected contracts and user\nworkflow. Install or reload when a live check is needed for the requested work.\n\nUse bb plugin new \u003Cname> for a new plugin. The scaffold includes frontend files.\nRemove `bb.app` and those files when the plugin is headless.\n\nEvery new public Plugin SDK surface starts with an experimental\\_ prefix and an\nentry in docs\u002Fapi_to_audit.md. Add its Plugin Guide card and API inventory in\nthe same change.\n\n## Read only the relevant reference\n\n### Start, package, and release\n\n- Read references\u002Fquickstart.md for package structure, manifest fields,\n  scaffold output, build, install, and the first plugin.\n- Read references\u002Fdistribution.md for exact API lookup, Git or npm release,\n  multi-plugin repositories, and custom marketplaces.\n\n### Backend\n\n- Read references\u002Fbackend-foundation.md for the factory, logging, settings,\n  storage, server information, and host access.\n- Read references\u002Fbackend-sdk.md for projects, environments, threads,\n  interactions, provider models, browser sessions, and event history.\n- Read references\u002Fbackend-api-index.md to check every public backend, host,\n  AI-service, and test export.\n- Read references\u002Fbackend-events.md for lifecycle events, environment and\n  HTTP, RPC, realtime, background services, and schedules.\n- Read references\u002Fbackend-cli-agents.md for CLI commands, input forms, agent\n  tools, agent configuration, and helper AI services.\n- Read references\u002Fproviders.md only when the plugin registers an agent provider.\n- Read references\u002Fprovider-bridge-api-index.md to check every public provider\n  bridge, bridge-test, and ACP export.\n- Read references\u002Fbackend-ui-lifecycle.md for host-rendered UI, status, cleanup,\n  and reload behavior.\n\n### Frontend\n\n- Read references\u002Ffrontend-registration.md for definePluginApp, thread header,\n  sidebar replacement, providers, and top-level registration.\n- Read references\u002Ffrontend-api-index.md to check every public frontend\n  runtime value and type export.\n- Read references\u002Ffrontend-core-slots.md for trusted content scripts, homepage,\n  settings, navigation, thread panels, interactions, sidebar actions, and file\n  openers.\n- Read references\u002Ffrontend-renderer-slots.md for source, diff, message,\n  timeline, palette, and provider-icon renderers or actions.\n- Read references\u002Ffrontend-components.md for ThreadChat, provider controls,\n  source and diff viewers, links, panels, and the new-thread composer.\n- Read references\u002Ffrontend-hooks-and-ui.md for hooks, composer customization,\n  vendored components, runtime shims, styling, and crash isolation.\n\n### Testing\n\n- Read references\u002Ffrontend-testing-api-index.md to check every frontend test\n  runtime value and type export.\n- Read references\u002Ftesting.md before you add tests or run a live plugin loop.\n\n## Contract rules\n\n- Parse freeform input at the boundary and pass typed values internally.\n- Declare only manifest fields and settings that the plugin implements.\n- Keep secret settings on the server.\n- Treat frontend parameters and persisted values as untrusted input.\n- Return bounded CLI and agent-tool output.\n- Document plugin commands, settings, and operating constraints in the plugin's\n  own `skills\u002F` directory. The core CLI skill owns generic plugin management,\n  not individual plugin behavior.\n- Dispose every service, schedule, listener, content script, and resource.\n- Use SDK host components and navigation for host-owned behavior.\n- Use vendored UI source for plugin-owned controls.\n- Keep experimental names until the public API audit stabilizes them.\n- Use current names. Compatibility aliases can warn and can expire after one\n  release. Removed APIs can throw.\n- Run bb plugin types when SDK declaration versions can drift.\n- Run bb plugin build before install, release, or marketplace submission.\n\n## Verification\n\nConfirm the backend contract, frontend contract, manifest, generated bundle,\nand live behavior that the change affects. Use focused tests for failure-prone\npolicy and lifecycle behavior.\n","# Author BB plugins\n\nA BB plugin is a TypeScript package that can add server behavior, agent\ncapabilities, host-rendered UI, or a frontend bundle.\n\nUse the current SDK types and repository source as the contract. This skill\nroutes to detailed references, but the installed BB version decides the exact\nAPI.\n\n## Implement and verify\n\nInspect the affected package and current SDK declarations to select backend,\nfrontend, or both. Build the plugin and verify the affected contracts and user\nworkflow. Install or reload when a live check is needed for the requested work.\n\nUse bb plugin new \u003Cname> for a new plugin. The scaffold includes frontend files.\nRemove `bb.app` and those files when the plugin is headless.\n\nEvery new public Plugin SDK surface starts with an experimental\\_ prefix and an\nentry in docs\u002Fapi_to_audit.md. Add its Plugin Guide card and API inventory in\nthe same change.\n\n## Read only the relevant reference\n\n### Start, package, and release\n\n- Read references\u002Fquickstart.md for package structure, manifest fields,\n  scaffold output, build, install, and the first plugin.\n- Read references\u002Fdistribution.md for exact API lookup, Git or npm release,\n  multi-plugin repositories, and custom marketplaces.\n\n### Backend\n\n- Read references\u002Fbackend-foundation.md for the factory, logging, settings,\n  storage, server information, and host access.\n- Read references\u002Fbackend-sdk.md for projects, environments, threads,\n  interactions, provider models, browser sessions, and event history.\n- Read references\u002Fbackend-api-index.md to check every public backend, host,\n  AI-service, and test export.\n- Read references\u002Fbackend-events.md for lifecycle events, environment and\n  HTTP, RPC, realtime, background services, and schedules.\n- Read references\u002Fbackend-cli-agents.md for CLI commands, input forms, agent\n  tools, agent configuration, and helper AI services.\n- Read references\u002Fproviders.md only when the plugin registers an agent provider.\n- Read references\u002Fprovider-bridge-api-index.md to check every public provider\n  bridge, bridge-test, and ACP export.\n- Read references\u002Fbackend-ui-lifecycle.md for host-rendered UI, status, cleanup,\n  and reload behavior.\n\n### Frontend\n\n- Read references\u002Ffrontend-registration.md for definePluginApp, thread header,\n  sidebar replacement, providers, and top-level registration.\n- Read references\u002Ffrontend-api-index.md to check every public frontend\n  runtime value and type export.\n- Read references\u002Ffrontend-core-slots.md for trusted content scripts, homepage,\n  settings, navigation, thread panels, interactions, sidebar actions, and file\n  openers.\n- Read references\u002Ffrontend-renderer-slots.md for source, diff, message,\n  timeline, palette, and provider-icon renderers or actions.\n- Read references\u002Ffrontend-components.md for ThreadChat, provider controls,\n  source and diff viewers, links, panels, and the new-thread composer.\n- Read references\u002Ffrontend-hooks-and-ui.md for hooks, composer customization,\n  vendored components, runtime shims, styling, and crash isolation.\n\n### Testing\n\n- Read references\u002Ffrontend-testing-api-index.md to check every frontend test\n  runtime value and type export.\n- Read references\u002Ftesting.md before you add tests or run a live plugin loop.\n\n## Contract rules\n\n- Parse freeform input at the boundary and pass typed values internally.\n- Declare only manifest fields and settings that the plugin implements.\n- Keep secret settings on the server.\n- Treat frontend parameters and persisted values as untrusted input.\n- Return bounded CLI and agent-tool output.\n- Document plugin commands, settings, and operating constraints in the plugin's\n  own `skills\u002F` directory. The core CLI skill owns generic plugin management,\n  not individual plugin behavior.\n- Dispose every service, schedule, listener, content script, and resource.\n- Use SDK host components and navigation for host-owned behavior.\n- Use vendored UI source for plugin-owned controls.\n- Keep experimental names until the public API audit stabilizes them.\n- Use current names. Compatibility aliases can warn and can expire after one\n  release. Removed APIs can throw.\n- Run bb plugin types when SDK declaration versions can drift.\n- Run bb plugin build before install, release, or marketplace submission.\n\n## Verification\n\nConfirm the backend contract, frontend contract, manifest, generated bundle,\nand live behavior that the change affects. Use focused tests for failure-prone\npolicy and lifecycle behavior.\n",{"name":5,"description":7},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fbb-plugin-authoring",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":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill bb-plugin-authoring",{"tool":38,"command":39},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill bb-plugin-authoring",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill bb-plugin-authoring","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbb-plugin-authoring\u002FSKILL.md",true,[46,52,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fbackend-api-index.md","REFERENCE","参考文档",12252,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbb-plugin-authoring\u002Freferences\u002Fbackend-api-index.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fbackend-cli-agents.md",12058,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbb-plugin-authoring\u002Freferences\u002Fbackend-cli-agents.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fbackend-events.md",21430,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbb-plugin-authoring\u002Freferences\u002Fbackend-events.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fbackend-foundation.md",14634,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbb-plugin-authoring\u002Freferences\u002Fbackend-foundation.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fbackend-sdk.md",18333,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbb-plugin-authoring\u002Freferences\u002Fbackend-sdk.md",{"path":69,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fbackend-ui-lifecycle.md",2050,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbb-plugin-authoring\u002Freferences\u002Fbackend-ui-lifecycle.md",{"path":73,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fdistribution.md",9976,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbb-plugin-authoring\u002Freferences\u002Fdistribution.md",{"path":77,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Ffrontend-api-index.md",6243,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbb-plugin-authoring\u002Freferences\u002Ffrontend-api-index.md",{"path":81,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Ffrontend-components.md",16602,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbb-plugin-authoring\u002Freferences\u002Ffrontend-components.md",{"path":85,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Ffrontend-core-slots.md",16735,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbb-plugin-authoring\u002Freferences\u002Ffrontend-core-slots.md",{"path":89,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Ffrontend-hooks-and-ui.md",11251,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbb-plugin-authoring\u002Freferences\u002Ffrontend-hooks-and-ui.md",{"path":93,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Ffrontend-registration.md",11462,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbb-plugin-authoring\u002Freferences\u002Ffrontend-registration.md",{"path":97,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Ffrontend-renderer-slots.md",8386,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbb-plugin-authoring\u002Freferences\u002Ffrontend-renderer-slots.md",{"path":101,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Ffrontend-testing-api-index.md",910,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbb-plugin-authoring\u002Freferences\u002Ffrontend-testing-api-index.md",{"path":105,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fprovider-bridge-api-index.md",12111,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbb-plugin-authoring\u002Freferences\u002Fprovider-bridge-api-index.md",{"path":109,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Fproviders.md",17660,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbb-plugin-authoring\u002Freferences\u002Fproviders.md",{"path":113,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":114,"sourceHtmlUrl":115},"references\u002Fquickstart.md",11557,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbb-plugin-authoring\u002Freferences\u002Fquickstart.md",{"path":117,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":118,"sourceHtmlUrl":119},"references\u002Ftesting.md",14613,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fbb-plugin-authoring\u002Freferences\u002Ftesting.md",[121,128,133,140,147,154],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"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":129,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"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":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"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":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"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":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"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":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"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",[],[]]