o11y

GitHub

用于应用可观测性建设,涵盖追踪、日志和指标采集。支持本地Maple调试、Cloudflare部署监控及Effect OTLP导出,旨在通过标准化遥测数据解释用户路径性能与故障原因。

.agents/skills/o11y/SKILL.md yielded-dev/auth

触发场景

需要排查应用性能瓶颈或失败原因 配置或验证分布式追踪链路 集成日志与指标收集器

安装

npx skills add yielded-dev/auth --skill o11y -g -y
更多选项

非标准路径

npx skills add https://github.com/yielded-dev/auth/tree/main/.agents/skills/o11y -g -y

不安装直接使用

npx skills use yielded-dev/auth@o11y

指定 Agent (Claude Code)

npx skills add yielded-dev/auth --skill o11y -a claude-code -g -y

安装 repo 全部 skill

npx skills add yielded-dev/auth --all -g -y

预览 repo 内 skill

npx skills add yielded-dev/auth --list

SKILL.md

Frontmatter
{
    "name": "o11y",
    "description": "Instrument and inspect application traces, logs, and metrics, including local Maple tracing, Cloudflare observability, and Effect OTLP export."
}

Observability

Make critical user paths explainable through the application's normal telemetry. Start with the operation and question: where time went, which work repeated, or why an operation failed. Reuse existing instrumentation and collectors before adding another path.

Keep span boundaries, structured events, and useful counters in the owning library or application so developers, agents, and CI share them. Use stable operation names, service identity, trace correlation, and bounded attributes. Cover meaningful API and agent-loop phases; avoid tracing every helper or recording raw prompts, credentials, and payloads by default.

Read only the relevant reference:

  • Local development and trace/log queries: Maple CLI.
  • Deployed Workers and Durable Objects, native traces, and CPU profiles: Cloudflare.
  • Effect instrumentation and exporter composition: Effect OTLP.

Keep telemetry delivery outside user-facing critical paths where the runtime permits it. Preserve application failures and resource lifetimes, bound buffering and export work, and avoid duplicate exporters or root spans. Include normal instrumentation overhead in performance comparisons.

For a wiring change, verify one representative operation reaches the intended sink with the expected parent/child spans and correlated logs. Reuse that evidence while the wiring is unchanged. A visible trace proves delivery; use measure-performance for regression claims and feedback-loops for slow or duplicated measurement tooling.

版本历史

  • 72bfeeb 当前 2026-10-18 15:34

同 Skill 集合

.agents/skills/alchemy/SKILL.md
.agents/skills/cloudflare/SKILL.md
.agents/skills/dev-kit/SKILL.md
.agents/skills/effect/SKILL.md
.agents/skills/feedback-loops/SKILL.md
.agents/skills/library-first/SKILL.md
.agents/skills/measure-performance/SKILL.md
.agents/skills/project-setup/SKILL.md
.agents/skills/pull-requests/SKILL.md
.agents/skills/show-me/SKILL.md
.agents/skills/simplify/SKILL.md
.agents/skills/testing/SKILL.md

元信息

文件数
0
版本
72bfeeb
Hash
1e3bd77f
收录时间
2026-10-18 15:34

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-19 07:54
浙ICP备14020137号-1