Skip to content

Add observability-and-monitoring skill - #61

Closed
googlarz wants to merge 15 commits into
addyosmani:mainfrom
googlarz:feat/observability-skill
Closed

googlarz wants to merge 15 commits into
addyosmani:mainfrom
googlarz:feat/observability-skill

Conversation

@googlarz

Copy link
Copy Markdown
Contributor

Summary

Adds observability-and-monitoring — the one confirmed lifecycle gap in the collection (no existing PR, not covered by any current skill). Covers the full production visibility workflow: structured logging, four golden signals metrics, OpenTelemetry distributed tracing, SLO-based alerting, and dashboard design.

Changes

  • New skill: skills/observability-and-monitoring/SKILL.md
  • New reference: references/observability-checklist.md — logging, metrics, tracing, SLOs/alerting, dashboards, pre-launch gate
  • incremental-implementation: one-liner anchoring observability to slice definition ("define what you'll measure when you define the slice")
  • using-agent-skills: decision tree, lifecycle (step 11, before shipping), quick reference table
  • idea-refine: forward reference to spec-driven-development
  • deprecation-and-migration: references to incremental-implementation, test-driven-development, git-workflow-and-versioning
  • README: skill count 20 → 21, new entry in Ship section and directory tree

Review feedback addressed (from #59)

Feedback Fix
Decision tree trigger is reactive Reworded to "Instrumenting a service / setting up monitoring?"
Observability only appears at step 11 Added anchor in incremental-implementation — define measurements at slice definition time
No references/observability-checklist.md Created — consistent with security-checklist.md, testing-patterns.md, performance-checklist.md
Steps assume greenfield Added Step 0: brownfield audit — inventory existing instrumentation before adding more

Reviews run before submission

This branch went through /codex:adversarial-review and /codex:review before the original PR #59. Both findings were fixed (metric cardinality labelling, OTel propagation, /ship command wiring, lifecycle ordering). This PR is the observability-only split of that work.

Fast-forward merged 8 upstream commits (a11y + performance checklist
improvements). Added fork note linking to the 3 open PRs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mvn-dongho-dn

Copy link
Copy Markdown

Implementation complete (parallel build).

  • Commit: 90ae4dc
  • Files changed: 8 (shared schema, Mongoose model, service, routes, 2 test files + 2 index updates)
  • Tests: 372 passing (shared: 203, api: 144, web: 25)
  • Merged with: Task 24 (parallel group: api-late)

Key points:

  • Version numbers auto-increment per document starting at 1
  • Diff absent on v1, computed via line-diff from v2 onward (no extra deps)
  • Restore creates a NEW version (history is immutable)
  • Editors can snapshot/restore; viewers get 403

→ Ready for dev review.

Adds a production-grade calendar and task management skill for Claude Code.

Features:
- Rich context-aware Google Calendar entries with transcript links
- Detects scheduling conflicts before committing
- Respects work hours and user preferences via pattern matching
- Manages local task lists without external dependencies
- Optional prep blocks before meetings (user-confirmed per event)
- Supports recurring events with RRULE
- Bulk reschedule for schedule adjustments

Python implementation (calendar.py, tasks.py) handles OAuth setup,
Google Calendar API integration, and local task storage.

Comprehensive documentation includes:
- SKILL.md: Complete workflow reference and command documentation
- README.md: User guide with practical examples and troubleshooting
- INTEGRATION.md: Step-by-step guide for adding to agent-skills fork
- preferences.json: Event-type pattern matching configuration

No maintenance commitment; contributions welcome.
- New skill: observability-and-monitoring covering structured logging,
  metrics (four golden signals), distributed tracing, SLO-based alerting,
  and dashboard design — a confirmed gap with no existing PR
- idea-refine: add forward reference to spec-driven-development
- deprecation-and-migration: add references to incremental-implementation,
  test-driven-development, and git-workflow-and-versioning at natural touch points
- using-agent-skills: add new skill to decision tree, lifecycle sequence,
  and quick reference table
- Metric labels: replace raw path with route_template, add cardinality
  rule banning user IDs/tenant IDs/query strings from labels
- Tracing: remove custom X-Trace-Id/X-Span-Id example; show proper
  OpenTelemetry propagation with W3C traceparent/tracestate
- Ship command: wire observability-and-monitoring into the launch
  checklist so the skill is reached via the /ship entrypoint
- README: update skill count to 21, add observability-and-monitoring
  to Ship section and directory tree
- using-agent-skills: move observability before shipping-and-launch in
  decision tree, lifecycle sequence, and quick reference table so agents
  instrument before deploying, not after
- Decision tree trigger reworded to proactive framing:
  "Instrumenting a service / setting up monitoring?"
- incremental-implementation: anchor observability to slice definition —
  define what you'll measure when you define the slice
- Add references/observability-checklist.md covering logging, metrics,
  tracing, SLOs/alerting, dashboards, and pre-launch gate
- observability skill: add Step 0 brownfield audit (inventory existing
  instrumentation before adding more — the most common real-world case)
- observability skill: reference observability-checklist.md from Verification
@googlarz
googlarz force-pushed the feat/observability-skill branch from 7333c8b to f2b7f60 Compare April 30, 2026 04:06
@googlarz

Copy link
Copy Markdown
Contributor Author

Rebased on main after v0.6.0 merge. Key conflict resolved: /ship was completely rewritten as a fan-out orchestrator — integrated the observability step into Phase B (step 6) rather than the old numbered checklist. README skill count updated to 22.

googlarz and others added 8 commits April 30, 2026 06:29
- SKILL.md: replace "log inputs and outputs of external calls" with
  deny-by-default rule: metadata only (endpoint, status, latency, retry,
  sanitized IDs) — no bodies, auth headers, or tokens. Body logging
  requires an explicit debug flag, off by default (fixes addyosmani#106 adversarial)
- observability-checklist.md: same deny-by-default rule
- ship.md Phase B: gate observability step on service/runtime changes;
  explicit N/A for libraries, CLIs, docs, config-only changes

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
…outing

AGENTS.md intent map and lifecycle mapping omitted observability-and-monitoring,
making the new skill unreachable for OpenCode users following this file.

Add intent mapping for production visibility / logging / alerting and update
the SHIP lifecycle step to invoke observability-and-monitoring before shipping.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Two unconditional references caused observability-and-monitoring to fire
for libraries, CLIs, docs-only, and config-only changes — contradicting
the skill's own When-NOT-to-use guidance.

- AGENTS.md lifecycle: add N/A qualifier matching the /ship command
- incremental-implementation: qualify instrumentation guidance to slices
  that ship to a production runtime path

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…-skill

The meta-skill lifecycle sequence was routing all feature work through
observability-and-monitoring unconditionally, conflicting with the skill's
own When-NOT-to-use guidance and the AGENTS.md qualifier added previously.

Add skip annotation for libraries, CLIs, docs-only, and config-only changes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- .gemini/commands/ship.toml: add Phase B step 6 matching claude ship.md
- docs/opencode-setup.md: update SHIP lifecycle with observability hop
- docs/getting-started.md: update before-deploy guidance
- README.md: fix skill count from 22 to 23 (tree comment also 21→23)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- using-agent-skills: update routing table so deploy/launch flows through
  observability-and-monitoring before shipping-and-launch (with skip note)
- .gemini/commands/ship.toml: drop agent-skills: namespace prefix so the
  skill name resolves correctly in Gemini CLI context

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- CLAUDE.md: add observability-and-monitoring to Ship phase skill list
- using-agent-skills: update multi-skill example to include observability hop
- docs/getting-started.md: update /ship table entry to include observability

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ders

Both /ship command entrypoints still opened with only shipping-and-launch,
making the new observability phase B step advisory-only. Update both headers
to explicitly invoke observability-and-monitoring for production service changes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@googlarz

Copy link
Copy Markdown
Contributor Author

Hi @addyosmani — gentle ping on this one. Happy to rebase or address any feedback whenever you get a chance.

addyosmani pushed a commit that referenced this pull request Jun 19, 2026
…lity skill

Follow-up suggested in #223 review: folds in the useful half of #61
(the observability checklist) as this skill's quick-reference
companion, mirroring the security-and-hardening / security-checklist
pairing.

Aligned with the merged skill's framing: on-call questions first,
RED/USE metrics, cardinality rules, symptom-based alerting with the
page/ticket two-severity rule, telemetry verification, and a
pre-launch gate. Linked from the skill's Verification section and
registered in the README references table and CLAUDE.md.
@federicobartoli

Copy link
Copy Markdown
Collaborator

Thanks for the work here and for the discussion it generated. Following Addy's file-by-file check of the current shape of this branch: the observability ground is now covered on main by skills/observability-and-instrumentation together with its companion references/observability-checklist.md, so the useful half of this PR is already folded in. The remaining contents (the skills/assistant Calendar OAuth and MCP package, and the fork note in the README) are out of scope for this pack. Closing this one. Focused follow-ups are always welcome, and improvements to the existing observability skill or its checklist would be a great place to contribute.

tisan-das added a commit to tisan-das/agent-skills that referenced this pull request Aug 29, 2026
…ose ends

Self-review of the previous two commits found six problems, three of them
claims stated more confidently than the source supports.

Scope errors. The ~60 GB figure describes what is available to permanent
tables; the source never says whether that ceiling is per database, per
CE, or the whole PERM allocation, so both copies now say so instead of
asserting "the whole engine". NVMe is attributed to follower CW AMPs,
which is what the source says, not to every CW AMP. The Azure
single-SKU conclusion is relabelled [inferred] - it is drawn from two
design-doc statements, not stated by either.

Autoscale read as contradictory. "Shipped disabled" sat next to a corpus
carrying live autoscale failures (#16b, addyosmani#36, addyosmani#61) and F9/F9b documenting
the daemon in detail. Both rows now say disabled *by default*, and that
this is not the same as absent.

Maintenance contracts had drifted from what the corpus now is. KB 10.4
still listed three markers after 0 defined a fourth, and neither it nor
SKILL.md said where engine or database-object knowledge belongs. The
registry gains a rule keeping the product-limitations section outside the
#N space, so a future maintainer does not renumber design-doc rows into
the proven-mechanism space - with the promotion path if one is ever
confirmed as a defect.

Both maintenance sections now name the highest-value action available:
verifying a [design-doc] claim against code and promoting the marker,
starting with the conflicts in 12.

SCAgent was defined in the previous commit; this one makes sure the rest
of the vocabulary I introduced is reachable from the maintenance rules
that govern it.
zeekay pushed a commit to Dream-AI-4444/addys-agent-skills that referenced this pull request Sep 9, 2026
…lity skill

Follow-up suggested in addyosmani#223 review: folds in the useful half of addyosmani#61
(the observability checklist) as this skill's quick-reference
companion, mirroring the security-and-hardening / security-checklist
pairing.

Aligned with the merged skill's framing: on-call questions first,
RED/USE metrics, cardinality rules, symptom-based alerting with the
page/ticket two-severity rule, telemetry verification, and a
pre-launch gate. Linked from the skill's Verification section and
registered in the README references table and CLAUDE.md.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants