create-observability
Define logging, metrics, tracing, and alerting for a feature so production health can be monitored from day one.
Skill by tomzx
Chalk Labs
Need help deploying create-observability?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/tomzx-create-observability
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/create-observability
What's inside
- Skill name
create-observability- Description
- Define logging, metrics, tracing, and alerting for a feature so production health can be monitored from day one.
- License
- MIT
- Instructions
- 129 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Create Observability Defines how a feature's production health will be monitored by identifying log statements, service metrics, distributed traces, and alerts before implementation begins. Without this step, features go to production with no monitoring: outages go undetected, root causes take hours to find, and on-call engineers lack runbooks. ## Is Observability Warranted? Not every change deserves an observability plan. First decide whether the change introduces production runtime behavior worth monitoring at all: a new endpoint, a background loop, an external dependency, or a failure mode an operator would act on. If it does not (a refactor that only moves code, a schema change with no new runtime path, a documentation change), write nothing and say so. When it is warranted, define the smallest set that answers "if this number moved, what would I do", and treat `alerts.yaml` and a full plan as opt-in rather than default. A single counter or log line is a short section in the specification, not a plan. ## Prerequisites - Apply the shared SDLC conventions in `skills/sdlc/references/shared.md`. - If no argument is provided, locate the feature directory under `.sdlc/features/` whose frontmatter `issue` field references `$ISSUE_NUMBER`. - `.sdlc/features/N-<slug>/specification.md` (must have passed review with findings verdict `approved`), or a specification document provided in context or as a file path (`$1`) - `.sdlc/features/N-<slug>/lifecycle.md` (optional, if a lifecycle document was produced): monitor state transitions, invariant violations, and retention cleanup as part of observability - `.sdlc/features/N-<slug>/telemetry.md` (optional, if a telemetry plan was produced): align observability with business metrics already defined - `.sdlc/features/N-<slug>/requirements.md` (optional, for cross-referencing NFRs like latency and availability targets) ## Steps 1. Read the specification, lifecycle document (if present), telemetry plan (if present), and requirements. 2. Identify the critical paths and failure modes from the specification. 3. For each critical path, determine what log entries are needed for debugging. 4. Define service-level metrics (counters, histograms, gauges) that reflect system health. 5. Identify where distributed traces should be emitted for cross-service flows. 6. Define health checks and readiness probes for new services or endpoints. 7. Specify alerts with clear conditions, severity, and runbook links, but only for signals an operator would act on. When the monitoring stack is Prometheus-compatible and an actionable alert exists, write the normative alert definitions to `.sdlc/features/N-<slug>/alerts.yaml` (Prometheus rule format, template at `skills/sdlc/templates/features/alerts.yaml`) and keep the per-alert tables in the document as the human-readable summary. When no signal warrants an alert, skip `alerts.yaml` and say so. Validate best-effort with `promtool check rules alerts.yaml` when available; a missing tool is skipped, a validation failure is a defect to fix before handoff. 8. Determine observability infrastructure requirements (existing vs. new instrumentation). 9. Write the output to `.sdlc/features/N-<slug>/observability.md` (plus `alerts.yaml` when alerts are defined and the stack is Prometheus-compatible). ## Output Format Use the template at `skills/sdlc/templates/features/observability.md` (copied to `.sdlc/templates/features/observability.md` by `/initialize-sdlc-directory`; use the project's customized copy if present). Write the result to the artifact path named in the steps above. ## Logging Guidance - Use structured logging (JSON or key-value) so logs are queryable. - Log at the boundary of the system (incoming requests, outgoing calls to external services, state transitions). - Include a `correlation_id` or `trace_id` on every log entry to enable cross-service debugging. - Avoid logging sensitive data (PII, secrets, tokens). - Log levels: `DEBUG` (development only), `INFO` (normal operations), `WARN` (degraded but recoverable), `ERROR` (unexpected failure requiring attention). ## Metrics Guidance Common metric types for features: - **Request rate:** Number of requests per second to new endpoints. - **Error rate:** Percentage of requests resulting in errors (4xx/5xx). - **Latency:** Histogram of request durations (p50, p95, p99). - **Queue depth:** Number of items pending processing (for async features). - **Resource utilization:** CPU, memory, connections used by the feature. - **Business metrics:** Counts tied to domain events (orders placed, files uploaded). Every metric should answer: "If this number changes unexpectedly, what action do I take?" If no action exists, the metric is noise. ## Alert Guidance Good alerts are: - **Actionable:** Every alert triggers a human response. If nobody acts, remove the alert. - **Specific:** The condition clearly identifies what is wrong, not just "something is slow." - **Timely:** Fires fast enough to mitigate impact, but with a `for` duration to avoid flapping. - **Sized correctly:** Critical alerts wake someone up; Warning alerts appear in dashboards; Info alerts are logged. Every alert must have a runbook: a short list of steps to diagnose and resolve. ## Tracing Guidance Add spans at service boundaries and for expensive operations (DB queries, external API calls, large computations). Record attributes that help narrow down the issue: user ID, request ID, operation type, resource identifier. ## Outcome If `$OUTCOME_YAML` is set, emit `verdict: approved` there per `skills/sdlc/references/shared.md`, If the artifact could not be produced, omit the file. In the same emission, list every file you produced under `artifacts:` (`.sdlc/features/N-<slug>/observability.md`, plus `.sdlc/features/N-<slug>/alerts.yaml` when written). ## Example Usage **Scenario 1: REST API endpoint** Specification defines `POST /orders`. Metrics: `orders_request_total` (counter), `orders_request_duration_seconds` (histogram), `orders_error_total` (counter by status code). Logging: INFO on order created (with order_id, user_id), WARN on validation failure, ERROR on DB write failure. Alert: fire Critical if error rate > 5% for 5 minutes. Runbook: check DB connectivity, check upstream service. SLO: 99.9% availability, p99 latency < 500ms. **Scenario 2: Background job** Specification defines a nightly data export. Metrics: `export_jobs_total` (counter), `export_duration_seconds` (histogram), `export_records_processed` (counter). Logging: INFO on job start/complete (with job_id, record_count), WARN on partial failure, ERROR on full failure. Tracing: root span for the job, child spans for each batch. Alert: fire Warning if job duration exceeds 2x normal, Critical if job fails 2 consecutive runs. **Scenario 3: WebSocket connection** Specification defines a real-time notification feed. Metrics: `ws_connections_active` (gauge), `ws_messages_sent_total` (counter), `ws_connection_duration_seconds` (histogram). Logging: INFO on connect/disconnect (with user_id), WARN on reconnect storm, ERROR on message delivery failure. Health check: readiness probe that verifies the WebSocket server can accept connections. ## Completion Checklist Before handing off to review, confirm: - [ ] Each alert is actionable, severity-tagged, and links a runbook - [ ] `alerts.yaml` written when the stack is Prometheus-compatible, and it agrees with the alert summary tables - [ ] SLO/error-budget targets referenced from requirements where applicable Self-check the draft against the [`review-observability` checklist](../review-observability/SKILL.md) and fix what you can, so review finds less to flag. ## Next Step
From tomzx/agents, MIT.
More from tomzx/agents
- 0.639score
create-mermaid-visualization
tomzx
Create any Mermaid diagram (flowchart, sequence, class, state, ER, C4, architecture, gantt, mindmap, timeline, pie, sankey, and 20+ more) from a description…
SkillAFreshness: A★ 12Claude Code +9 - 0.639score
communication-guidelines
tomzx
Shared guidelines for writing concise, high-signal outbound communication the agent posts or drafts on the user's behalf, covering GitHub PR and issue…
SkillAFreshness: A★ 12Claude Code +9 - 0.634score
audit-functional-suitability
tomzx
Audit whether the software actually does what it should, completely and correctly.
SkillAFreshness: A★ 12Claude Code +9 - 0.634score
attach-assets
tomzx
Upload files (images, logs, screenshots) to a dedicated orphan branch in the repository and embed them in a GitHub issue or PR comment or description, so…
SkillAFreshness: A★ 12Claude Code +9 - 0.634score
audit-usability
tomzx
Audit the software's interfaces (CLI, API, and web UI) for usability, the ISO/IEC 25010 characteristic covering recognizability, learnability, operability…
SkillAFreshness: A★ 12Claude Code +9 - 0.634score
audit-compatibility
tomzx
Audit the codebase for compatibility, the ISO/IEC 25010 characteristic covering co-existence (running alongside other software without conflict) and…
SkillAFreshness: A★ 12Claude Code +9 - 0.634score
analyze-test-coverage
tomzx
Analyze a set of code changes (diff or files) and produce a structured test coverage report with three parts: introduced tests, change coverage, and uncovered…
SkillAFreshness: A★ 12Claude Code +9 - 0.634score
audit-attention
tomzx
Audit how your time splits between compounding and depreciating activities using the two-year test.
SkillAFreshness: A★ 12Claude Code +9 - 0.634score
create-article
tomzx
Write, update, or revise a high-quality article given a target audience and relevant sources.
SkillAFreshness: A★ 12Claude Code +9 - 0.634score
arxiv-article
tomzx
Downloads an arXiv HTML article, converts it to markdown with pandoc, archives it, and returns a structured summary.
SkillAFreshness: A★ 12Claude Code +9 - 0.634score
arxiv-catchup
tomzx
Fetches new arXiv cs.AI papers published since the last processed date, processes each paper's HTML version via the arxiv-article skill, and advances the date…
SkillAFreshness: A★ 12Claude Code +9 - 0.634score
audit-maintainability
tomzx
Audit the codebase for maintainability, the ISO/IEC 25010 characteristic covering modularity, reusability, analyzability, modifiability, and testability.
SkillAFreshness: A★ 12Claude Code +9
Signals
- Stars
- 12
- Forks
- 1
- Open issues
- 16
- Last commit (this folder)
- Oct 9, 2026 (22 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/tomzx/agents
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from tomzx
- 0.639score
create-mermaid-visualization
tomzx
Create any Mermaid diagram (flowchart, sequence, class, state, ER, C4, architecture, gantt, mindmap, timeline, pie, sankey, and 20+ more) from a description…
SkillAFreshness: A★ 12Claude Code +9 - 0.639score
communication-guidelines
tomzx
Shared guidelines for writing concise, high-signal outbound communication the agent posts or drafts on the user's behalf, covering GitHub PR and issue…
SkillAFreshness: A★ 12Claude Code +9 - 0.634score
audit-usability
tomzx
Audit the software's interfaces (CLI, API, and web UI) for usability, the ISO/IEC 25010 characteristic covering recognizability, learnability, operability…
SkillAFreshness: A★ 12Claude Code +9 - 0.634score
create-article
tomzx
Write, update, or revise a high-quality article given a target audience and relevant sources.
SkillAFreshness: A★ 12Claude Code +9 - 0.634score
analyze-test-coverage
tomzx
Analyze a set of code changes (diff or files) and produce a structured test coverage report with three parts: introduced tests, change coverage, and uncovered…
SkillAFreshness: A★ 12Claude Code +9 - 0.634score
arxiv-article
tomzx
Downloads an arXiv HTML article, converts it to markdown with pandoc, archives it, and returns a structured summary.
SkillAFreshness: A★ 12Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get create-observability running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
create-observability skill. Agent Mart. https://agentmart.dev/skills/tomzx-create-observability (last updated 2026-10-24)