observability-and-instrumentation
Instruments code so production behavior is visible and diagnosable. Use when adding logging, metrics, tracing, or alerting. Use w…
What it does
- Building any feature that will run in production
- Adding a new service, endpoint, background job, or external integration
- A production incident took too long to diagnose ("we couldn't tell what happened")
- Setting up or reviewing alerting rules
- Reviewing a PR that adds I/O, retries, queues, or cross-service calls
- Diagnosing a failure happening right now — use the debugging-and-error-recovery skill (observability is what makes that skill fast next time)
- Profiling and optimizing measured slowness — use the performance-optimization skill
Requirements & configuration
- | error | Invariant broken; someone may need to act | Investigate |
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
Instruments code so production behavior is visible and diagnosable. Use when adding logging, metrics, tracing, or alerting. Use when shipping any feature that runs in production and you need evidence it works. Use when production issues are reported but you can't tell what happened from the available data.
Source
Repository: https://github.com/addyosmani/agent-skills
observability-and-instrumentation FAQ
What does the observability-and-instrumentation skill do?
Instruments code so production behavior is visible and diagnosable. Use when adding logging, metrics, tracing, or alerting. Use when shipping any feature that runs in production and you need evidence it works. Use when production issues are reported but you can't tell what happened from the available data. Building any feature that will run in production Adding a new service, endpoint, background job, or external integration
What does observability-and-instrumentation require?
| error | Invariant broken; someone may need to act | Investigate |
How do I install observability-and-instrumentation?
Run: npx -y skills add https://github.com/addyosmani/agent-skills --skill observability-and-instrumentation --agent claude-code — the source lives at github.com/addyosmani/agent-skills.
Maintain observability-and-instrumentation?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/addyosmani-agent-skills-observability-and-instrumentation?ref=badge) npx agentictools info skills/addyosmani-agent-skills-observability-and-instrumentation The second line is the CLI lookup for this page — handy in READMEs and docs.