common-architecture-di…
Draw architecture diagrams as editable draw.io files with a fixed house style, C4 levels, and evidence-tagged shapes. Use when producing a system context,…
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.
$ npx -y skills add hoangnguyen0403/agent-skills-standard --skill common-observability --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/common-observabilityContext preview
The summary Claude sees to decide when to auto-load this skill.
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.
name: common-observability
description: 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.
metadata:
triggers:
files:
- "**/*.service.ts"
- "**/*.handler.ts"
- "**/*.middleware.ts"
- "**/*.interceptor.ts"
- "**/*.go"
- "**/*.java"
- "**/*.kt"
- "**/*.py"
keywords:
- logging
- tracing
- metrics
- opentelemetry
- observability
- sloSee [implementation examples](references/implementation.md) for structured logger setup with Pino.
1. Define the operation and route-normalized span name before adding code. 2. Propagate request/trace context across every async or service boundary. 3. Log one structured event with correlation fields; redact secrets and request bodies. 4. Add RED metrics with route-safe labels, then define an SLO and burn-rate alert. 5. Exercise a success and failure path; confirm spans close and IDs join logs to traces.
The portable SDLC standards layer for AI coding agents. Sync once, then work in your own runtime.
Repo: hoangnguyen0403/agent-skills-standard
Draw architecture diagrams as editable draw.io files with a fixed house style, C4 levels, and evidence-tagged shapes. Use when producing a system context,…
Enforce SOLID principles, guard-clause style, function size limits, and intention-revealing naming across all languages. Use when refactoring for readability,…
Standardize BRD and BRD-lite discovery for business goals, stakeholder impact, current-to-future state, and measurable value outcomes. Use when creating BRD,…
Conduct high-quality, persona-driven code reviews. Use when reviewing PRs, critiquing code quality, or analyzing changes for team feedback.
Maximize context window efficiency, reduce latency, and prevent lost-in-middle issues through strategic masking and compaction. Use when token budgets are…
Standardize dynamic application security testing for backend APIs, frontend web apps, and mobile clients. Covers ZAP, Nuclei, Nikto, sqlmap, ffuf, browser…