/monitor
Set up monitoring, alerting, and observability for the application.
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/monitor
Context preview
What this command does when you run it.
Set up monitoring, alerting, and observability for the application.
Command definition
monitor.mdSet up monitoring, alerting, and observability for the application.
Steps
1. Analyze the application to determine monitoring needs:
- Web server: response times, error rates, request volume.
- Database: query performance, connection pool, replication lag.
- Queue: message throughput, consumer lag, dead letters.
- Background jobs: execution time, failure rate, queue depth.
2. Generate monitoring configuration for the detected stack:
- **Prometheus**: Scrape config, recording rules, alert rules.
- **Grafana**: Dashboard JSON with key panels.
- **Datadog**: `datadog.yaml` or agent configuration.
- **Health endpoint**: `/health` or `/healthz` implementation.
3. Define alerts for critical metrics:
- Error rate > 1% over 5 minutes.
- P99 latency > 2 seconds.
- Disk usage > 80%.
- Memory usage > 90%.
- Certificate expiry < 14 days.
4. Add structured logging configuration:
- JSON log format with timestamp, level, message, trace ID.
- Log levels: ERROR for failures, WARN for degradation, INFO for operations.
5. Set up distributed tracing if applicable:
- OpenTelemetry SDK initialization.
- Trace context propagation headers.
6. Write all configuration files to `monitoring/` or `deploy/monitoring/`.
Format
groups:
- name: <app-name>-alerts
rules:
- alert: HighErrorRate
expr: rate(http_requests_total{status=~"5.."}[5m]) > 0.01
for: 5m
labels:
severity: critical
annotations:
summary: "High error rate detected"Rules
- Every production service must have health checks, error rate alerts, and latency monitoring.
- Use percentile-based latency metrics (P50, P95, P99), not averages.
- Set alert thresholds based on SLO targets, not arbitrary values.
- Include runbook links in alert annotations.
- Log at appropriate levels; never log sensitive data (passwords, tokens, PII).
Read more
Set up monitoring, alerting, and observability for the application.
Steps
1. Analyze the application to determine monitoring needs:
- Web server: response times, error rates, request volume.
- Database: query performance, connection pool, replication lag.
- Queue: message throughput, consumer lag, dead letters.
- Background jobs: execution time, failure rate, queue depth.
2. Generate monitoring configuration for the detected stack:
- **Prometheus**: Scrape config, recording rules, alert rules.
- **Grafana**: Dashboard JSON with key panels.
- **Datadog**: `datadog.yaml` or agent configuration.
- **Health endpoint**: `/health` or `/healthz` implementation.
3. Define alerts for critical metrics:
- Error rate > 1% over 5 minutes.
- P99 latency > 2 seconds.
- Disk usage > 80%.
- Memory usage > 90%.
- Certificate expiry < 14 days.
4. Add structured logging configuration:
- JSON log format with timestamp, level, message, trace ID.
- Log levels: ERROR for failures, WARN for degradation, INFO for operations.
5. Set up distributed tracing if applicable:
- OpenTelemetry SDK initialization.
- Trace context propagation headers.
6. Write all configuration files to `monitoring/` or `deploy/monitoring/`.
Format
groups:
- name: <app-name>-alerts
rules:
- alert: HighErrorRate
expr: rate(http_requests_total{status=~"5.."}[5m]) > 0.01
for: 5m
labels:
severity: critical
annotations:
summary: "High error rate detected"Rules
- Every production service must have health checks, error rate alerts, and latency monitoring.
- Use percentile-based latency metrics (P50, P95, P99), not averages.
- Set alert thresholds based on SLO targets, not arbitrary values.
- Include runbook links in alert annotations.
- Log at appropriate levels; never log sensitive data (passwords, tokens, PII).
The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.
Repo: rohitg00/awesome-claude-code-toolkit
Other commands on rohitg00-claude-code-toolkit.
- /adr
Write an Architecture Decision Record documenting a significant technical decision.
Open command - /design-review
Conduct a structured design review of a module, feature, or system component.
Open command - /diagram
Generate Mermaid diagrams from codebase analysis or description.
Open command - /migrate
Plan and execute a framework or library migration incrementally.
Open command - /plan
Create a structured implementation plan for the requested feature or change.
Open command - /refactor
Perform a systematic refactoring of the specified code area.
Open command

