src/main/resources/targets/claude/skills/conditional/review/x-review-observability/SKILL.md
Observability specialist review: validates distributed tracing, metrics naming, structured logging, health checks, correlation IDs, and alerting configuration.
npx skillsauth add edercnj/ia-dev-environment x-review-observabilityInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Review code changes for observability best practices: distributed tracing with proper span attributes, metrics naming conventions, structured logging with mandatory fields, health check implementation, correlation ID propagation, and alerting configuration.
Include this skill when observability.tool != "none" in the project configuration.
/x-review-observability 42 -- review PR #42 for observability/x-review-observability src/main/java/com/example/config/ -- review specific paths/x-review-observability -- review all current observability changes| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| target | String | No | (current changes) | PR number or file paths to review |
| Pack | Files | Purpose |
|------|-------|---------|
| observability | skills/observability/SKILL.md | Tracing, metrics, logging, health checks, correlation IDs |
Each item scores 0 (missing), 1 (partial), or 2 (fully compliant).
| # | Item | Score | |---|------|-------| | OBS-01 | Spans created for key operations (inbound requests, outbound calls, DB queries) | /2 | | OBS-02 | Span attributes include mandatory fields (service, operation, status) | /2 | | OBS-03 | Trace context propagated across service boundaries (W3C Trace Context headers) | /2 |
| # | Item | Score | |---|------|-------| | OBS-04 | Logs are structured JSON with mandatory fields (timestamp, level, message, trace_id, span_id, service) | /2 | | OBS-05 | No sensitive data in logs (PII, credentials, tokens masked or excluded) | /2 | | OBS-06 | Log levels appropriate (DEBUG for development, INFO for operations, WARN/ERROR for issues) | /2 |
| # | Item | Score | |---|------|-------| | OBS-07 | Health check endpoints implemented (liveness, readiness, startup) | /2 | | OBS-08 | Custom metrics follow naming convention ({service}{subsystem}{metric}_{unit}) | /2 | | OBS-09 | Correlation ID generated or propagated on every inbound request | /2 |
Read the observability knowledge pack:
skills/observability/SKILL.mdDetermine scope: configuration, middleware, service classes, health check endpoints.
Check span creation, attributes, and context propagation.
Verify structured logging, mandatory fields, and sensitive data exclusion.
Verify liveness, readiness, and startup probe implementations.
Check custom metrics naming conventions and correlation ID propagation.
Produce the scored report.
ENGINEER: Observability
STORY: [story-id or change description]
SCORE: XX/18
STATUS: PASS | FAIL | PARTIAL
### PASSED
- [OBS-XX] [Item description]
### FAILED
- [OBS-XX] [Item description]
- Finding: [file:line] [issue description]
- Fix: [remediation guidance]
### PARTIAL
- [OBS-XX] [Item description]
- Finding: [partial compliance details]
| Scenario | Action | |----------|--------| | No observability code found | Report INFO: no observability code discovered | | OpenTelemetry not configured | Warn and check for alternative tracing libraries | | Health check endpoints missing | Report as FAILED for OBS-07 |
testing
Scaffolds a Helidon SE/MP service with routing, health, config, Dockerfile, and tests.
tools
Generates a Picocli @Command with subcommands, options, converters, and unit tests.
testing
Scaffolds a Micronaut service with @Controller, DI, health, Dockerfile, and tests.
testing
Scaffolds a Helidon SE/MP service with routing, health, config, Dockerfile, and tests.