hoangnguyen0403/agent-skills-standard/nestjs-observability
Claude Code and agent skill by hoangnguyen0403/agent-skills-standard
- community
Checking that the SKILL.md file is still in the repository.
Configure structured logging with Pino, Prometheus metrics, and health checks for NestJS services. Use when adding JSON logging, request tracing with correlation IDs, Prometheus metric endpoints, or liveness/readiness health checks.
Install
npx vskill@latest install hoangnguyen0403/agent-skills-standard/nestjs-observabilitySKILL.md
The same SKILL.md was published earlier as hoangnguyen0403/agent-skills-standard/nestjs-observability.
Observability Standards
Priority: P1 (HIGH)
Structured Logging (Pino)
Use nestjs-pino for high-performance, async JSON logging. Node's console.log blocking and unstructured.
Tracing (Correlation)
- Request ID: Every log line must include
reqId.nestjs-pinohandles this viaAsyncLocalStorage. - Propagation: Pass
x-request-idto downstream microservices and database queries for end-to-end tracing.
Metrics
Expose /metrics for Prometheus scraping using @willsoto/nestjs-prometheus.
Health Checks
- Terminus: Implement "Liveness" (I'm alive) vs "Readiness" (I can take traffic).
- DB Check:
TypeOrmHealthIndicator/PrismaHealthIndicator. - Memory Check: Fail readiness if Heap > 300MB to prevent crash loops.
Performance Headers (Dev Only)
X-Response-Duration-Ms,X-DB-Execution-Ms,X-API-Overhead-Ms- Gate behind
ENABLE_PERFORMANCE_BENCHMARKfeature flag; never expose in production.
Anti-Patterns
- No console.log: Use nestjs-pino for async, structured, JSON-formatted logging.
- No missing reqId: Propagate
x-request-idheader to all downstream services and queries. - No perf data in production by default: Gate benchmarking behind
ENABLE_PERFORMANCE_BENCHMARKflag.
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/nestjs/nestjs-observability/SKILL.md
Popularity
- Repository stars
- 542
- Repository forks
- 159
- 7-day trend score
- 31
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Aug 2026, 3 months ago.
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/nestjs-observability)