[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FAM0R7NRT6AHHEP4DXRSPT":3,"skill-same:01M7FAM0R7NRT6AHHEP4DXRSPT":67},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":48},"01M7FAM0R7NRT6AHHEP4DXRSPT","observability-and-extensions",null,"Operate and extend Mellea 0.8 observability safely across plugins, hooks, logging, metrics, tracing, custom components, and contribution boundaries.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fmellea\u002Fsub-skills\u002Fobservability-and-extensions\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: observability-and-extensions\ndescription: \"Operate and extend Mellea 0.8 observability safely across plugins,\n  hooks, logging, metrics, tracing, custom components, and contribution\n  boundaries.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# Mellea observability and extensions\n\nUse this skill for Mellea 0.8.0.dev0 tasks involving plugins, hook ordering or\nscope, built-in debug plugins, logging, OpenTelemetry metrics or traces,\ngeneration usage metadata, custom components, extension packaging, or\ncontribution-safe integration.\n\n## Route first\n\n- Route construction of generative programs, requirements, sampling behavior,\n  async execution, and workflow-local components to `generative-programming`.\n  Return here when the task is instrumentation or a reusable extension.\n- Route `m serve`, service processes, endpoint health, deployment configuration,\n  and production CLI operations to `serving-and-cli`. This skill owns the\n  library-side signal and exporter boundary, not deployment.\n- Read only what the task needs:\n  - [plugin and hook API](references\u002Fplugin-and-hook-api.md) for registration,\n    modes, priority, payload policy, lifecycle, scope, and debug plugins;\n  - [telemetry](references\u002Ftelemetry.md) for logging, metrics, tracing,\n    exporters, context, signal timing, and generation metadata;\n  - [extension patterns](references\u002Fextension-patterns.md) for custom\n    components, plugins, backends, packaging, and contribution checks;\n  - [troubleshooting](references\u002Ftroubleshooting.md) for missing dependencies,\n    duplicate registration, stale configuration, missing signals, import\n    cycles, and API drift.\n\n## Safe operating workflow\n\n1. Establish the lifecycle owner and correlation key before choosing a hook.\n   Decide whether the behavior observes, transforms, blocks, or records in the\n   background.\n2. Check the optional boundary without activating it. Run\n   `uv run python scripts\u002Fcheck_telemetry_install.py --require base`; use `hooks` or\n   `telemetry` only when that capability is required. The script forces all\n   exporters and sinks off.\n3. Choose the narrowest registration lifetime. Prefer `plugin_scope(...)`, a\n   scoped `PluginSet`, or `start_session(..., plugins=[...])`; use global\n   `register(...)` only for process infrastructure with explicit teardown.\n4. Use `async def` handlers. Set the execution mode and distinct priorities\n   when behavior depends on order. Lower numbers run first within a mode, but\n   mode phase precedes numeric priority and equal-priority order is unspecified.\n5. Treat hook payloads as immutable. Return `modify(payload, ...)` only from a\n   modifying mode and only for fields allowed by that hook's payload policy.\n6. Open a span in a pre\u002Fstart hook, correlate middle events by lifecycle id,\n   and close on every success and error\u002Fend path. A completion-only hook can\n   record a counter or histogram but cannot retrospectively anchor a span.\n7. Keep signal setup at the application boundary. Set flags before importing\n   Mellea, keep content capture off by default, and never configure an exporter,\n   webhook, or file sink in library import code or an availability probe.\n8. Test with typed payloads, precomputed thunks, fake backends, in-memory signal\n   providers, and deterministic teardown before any provider-backed or\n   collector-backed integration case.\n\n## Non-negotiable contracts\n\n- `cpex` is optional and gates registration, payload construction, and plugin\n  execution. OpenTelemetry is optional and gates telemetry providers. Base\n  Mellea and custom components must remain usable without either dependency.\n- Registration state and telemetry providers are process-global. A\n  session-owned registration is primarily a teardown lifetime, not proof of\n  concurrent-session dispatch isolation.\n- Automatic tracing and metrics are hook-fired plugins. Do not add direct\n  metric\u002Fspan calls to core or backend paths when an existing lifecycle plugin\n  owns that signal. The narrow exception is synchronous code that cannot safely\n  fire a paired hook on the same task.\n- Generation metadata must preserve `generation.model` and\n  `generation.provider`; `generation.usage` is `None` when unavailable or an\n  OpenAI-shaped mapping containing `prompt_tokens`, `completion_tokens`, and\n  `total_tokens`. Streaming machinery owns `streaming` and `ttfb_ms`.\n- Built-in generation debug plugins log prompt and response previews\n  independently of `MELLEA_TRACES_CONTENT`. Treat debug logging as content\n  disclosure and scope it deliberately.\n- Do not depend on private registry\u002Fprovider state in an extension. Private\n  reset helpers are acceptable only in tightly controlled package tests and\n  must be rechecked on version changes.\n\n## Completion report\n\nReport the Mellea version, optional dependency status, signal flags read before\nimport, plugin registration lifetime, hook modes and priorities, writable-field\nuse, correlation and error closure, metadata assertions, exporter\u002Fcontent\nboundary, teardown, checks run, and any deferred backend or collector evidence.\n","# Mellea observability and extensions\n\nUse this skill for Mellea 0.8.0.dev0 tasks involving plugins, hook ordering or\nscope, built-in debug plugins, logging, OpenTelemetry metrics or traces,\ngeneration usage metadata, custom components, extension packaging, or\ncontribution-safe integration.\n\n## Route first\n\n- Route construction of generative programs, requirements, sampling behavior,\n  async execution, and workflow-local components to `generative-programming`.\n  Return here when the task is instrumentation or a reusable extension.\n- Route `m serve`, service processes, endpoint health, deployment configuration,\n  and production CLI operations to `serving-and-cli`. This skill owns the\n  library-side signal and exporter boundary, not deployment.\n- Read only what the task needs:\n  - [plugin and hook API](references\u002Fplugin-and-hook-api.md) for registration,\n    modes, priority, payload policy, lifecycle, scope, and debug plugins;\n  - [telemetry](references\u002Ftelemetry.md) for logging, metrics, tracing,\n    exporters, context, signal timing, and generation metadata;\n  - [extension patterns](references\u002Fextension-patterns.md) for custom\n    components, plugins, backends, packaging, and contribution checks;\n  - [troubleshooting](references\u002Ftroubleshooting.md) for missing dependencies,\n    duplicate registration, stale configuration, missing signals, import\n    cycles, and API drift.\n\n## Safe operating workflow\n\n1. Establish the lifecycle owner and correlation key before choosing a hook.\n   Decide whether the behavior observes, transforms, blocks, or records in the\n   background.\n2. Check the optional boundary without activating it. Run\n   `uv run python scripts\u002Fcheck_telemetry_install.py --require base`; use `hooks` or\n   `telemetry` only when that capability is required. The script forces all\n   exporters and sinks off.\n3. Choose the narrowest registration lifetime. Prefer `plugin_scope(...)`, a\n   scoped `PluginSet`, or `start_session(..., plugins=[...])`; use global\n   `register(...)` only for process infrastructure with explicit teardown.\n4. Use `async def` handlers. Set the execution mode and distinct priorities\n   when behavior depends on order. Lower numbers run first within a mode, but\n   mode phase precedes numeric priority and equal-priority order is unspecified.\n5. Treat hook payloads as immutable. Return `modify(payload, ...)` only from a\n   modifying mode and only for fields allowed by that hook's payload policy.\n6. Open a span in a pre\u002Fstart hook, correlate middle events by lifecycle id,\n   and close on every success and error\u002Fend path. A completion-only hook can\n   record a counter or histogram but cannot retrospectively anchor a span.\n7. Keep signal setup at the application boundary. Set flags before importing\n   Mellea, keep content capture off by default, and never configure an exporter,\n   webhook, or file sink in library import code or an availability probe.\n8. Test with typed payloads, precomputed thunks, fake backends, in-memory signal\n   providers, and deterministic teardown before any provider-backed or\n   collector-backed integration case.\n\n## Non-negotiable contracts\n\n- `cpex` is optional and gates registration, payload construction, and plugin\n  execution. OpenTelemetry is optional and gates telemetry providers. Base\n  Mellea and custom components must remain usable without either dependency.\n- Registration state and telemetry providers are process-global. A\n  session-owned registration is primarily a teardown lifetime, not proof of\n  concurrent-session dispatch isolation.\n- Automatic tracing and metrics are hook-fired plugins. Do not add direct\n  metric\u002Fspan calls to core or backend paths when an existing lifecycle plugin\n  owns that signal. The narrow exception is synchronous code that cannot safely\n  fire a paired hook on the same task.\n- Generation metadata must preserve `generation.model` and\n  `generation.provider`; `generation.usage` is `None` when unavailable or an\n  OpenAI-shaped mapping containing `prompt_tokens`, `completion_tokens`, and\n  `total_tokens`. Streaming machinery owns `streaming` and `ttfb_ms`.\n- Built-in generation debug plugins log prompt and response previews\n  independently of `MELLEA_TRACES_CONTENT`. Treat debug logging as content\n  disclosure and scope it deliberately.\n- Do not depend on private registry\u002Fprovider state in an extension. Private\n  reset helpers are acceptable only in tightly controlled package tests and\n  must be rechecked on version changes.\n\n## Completion report\n\nReport the Mellea version, optional dependency status, signal flags read before\nimport, plugin registration lifetime, hook modes and priorities, writable-field\nuse, correlation and error closure, metadata assertions, exporter\u002Fcontent\nboundary, teardown, checks run, and any deferred backend or collector evidence.\n",{"name":5,"license":24,"metadata":25,"description":7,"disable-model-invocation":27},"Apache 2.0",{"disco-role":26},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fmellea\u002Fsub-skills\u002Fobservability-and-extensions",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":37,"prompt":47,"zipAvailable":27},[38,41,44],{"tool":39,"command":40},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill observability-and-extensions",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill observability-and-extensions",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill observability-and-extensions","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fmellea\u002Fsub-skills\u002Fobservability-and-extensions\u002FSKILL.md",[49,55,59,63],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fextension-patterns.md","REFERENCE","参考文档",13043,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fmellea\u002Fsub-skills\u002Fobservability-and-extensions\u002Freferences\u002Fextension-patterns.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fplugin-and-hook-api.md",13008,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fmellea\u002Fsub-skills\u002Fobservability-and-extensions\u002Freferences\u002Fplugin-and-hook-api.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Ftelemetry.md",15326,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fmellea\u002Fsub-skills\u002Fobservability-and-extensions\u002Freferences\u002Ftelemetry.md",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Ftroubleshooting.md",15421,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fmellea\u002Fsub-skills\u002Fobservability-and-extensions\u002Freferences\u002Ftroubleshooting.md",[68,76,81,88,95,102],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"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.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":77,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"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":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"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":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"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":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"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":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"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",[],[]]