hoangnguyen0403/agent-skills-standard/common-observability
Claude Code and agent skill by hoangnguyen0403/agent-skills-standard
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Enforce structured JSON logging, OpenTelemetry distributed tracing, and RED metrics across backend services. Use when adding request correlation, setting up tracing spans, defining SLO burn-rate alerts, or instrumenting middleware.
Install
npx vskill@latest install hoangnguyen0403/agent-skills-standard/common-observabilitySKILL.md
The same SKILL.md was published earlier as hoangnguyen0403/agent-skills-standard/common-observability.
Common Observability Standards
Priority: P1 (HIGH)
Logging & Tracing
- JSON Logs: Always emit JSON structured logs. Never plain-text in prod.
- Correlation: Extract
X-Request-Idortraceparent. Attach to async context. - Tracing: Use OpenTelemetry. Propagate W3C
traceparent. - Spans: Name spans like
<HTTP_METHOD> <route>(GET /users/:id).
See implementation examples for structured logger setup with Pino.
Metrics
- Required: Request rate, Error rate, Latency histogram (p50/p95/p99), Saturation.
- SLOs: Alert on SLO burn rates, not raw threshold spikes.
Instrumentation Workflow
- Define the operation and route-normalized span name before adding code.
- Propagate request/trace context across every async or service boundary.
- Log one structured event with correlation fields; redact secrets and request bodies.
- Add RED metrics with route-safe labels, then define an SLO and burn-rate alert.
- Exercise a success and failure path; confirm spans close and IDs join logs to traces.
Anti-Patterns
- Console.log: not use in prod; use structured logger (
pino,zap). - PII in Logs: Never log tokens, passwords, or full request bodies.
- Dynamic Span Names:
GET /users/123causes cardinality explosion. UseGET /users/:id. - Missing Cleanup: Always end tracing spans.
References
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/common/common-observability/SKILL.md
Popularity
- Repository stars
- 501
- Repository forks
- 148
- 7-day trend score
- 31
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hoangnguyen0403/agent-skills-standard/common-observability)