eng-observability
1
总安装量
1
周安装量
#77594
全站排名
安装命令
npx skills add https://github.com/tjboudreaux/cc-plugin-engineering-excellence --skill eng-observability
Agent 安装分布
amp
1
cline
1
opencode
1
cursor
1
kimi-cli
1
codex
1
Skill 文档
Observability and Debugging Discipline
Intent
- Make it trivial to answer âwhat is happeningâ and âwhyâ without attaching a debugger in production.
- Ensure logs, metrics, events, and traces capture user intent, environment, and failure context while protecting sensitive data.
Guiding Principles
- Prefer structured logs + correlation IDs over ad-hoc strings.
- Emit signals at every boundary (client, API, worker, contract invocation).
- Include context (user/session/network/chain) necessary to reproduce issues.
- Keep signal cost reasonableâthrottle chatty paths, sample intelligently.
- Build fast local debugging loops (trace replay, state inspectors, dev wallets).
Workflow
- Identify critical paths affected and define success/error signals per path.
- Add/extend tracing spans or log blocks with consistent field names.
- Validate observability locally by simulating successes, errors, and timeouts; ensure signals reach the sink (console, APM, analytics, chain explorer).
- Document dashboards, queries, or CLI commands useful for post-deploy verification.
- For on-chain logic, emit events with canonical schema so downstream indexers can consume them.
Verification
- Run the code with verbose logging/tracing enabled; inspect outputs for clarity and privacy.
- Confirm metrics/counters appear where expected (APM, telemetry pipeline, analytics, chain explorer).
- Dry-run incident response: can you locate a test failure or simulated outage using only emitted signals? If not, iterate.