Repository navigation
Conversation
- 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
- code-review-and-quality: reference code-reviewer persona in the Multi-Model Review Pattern section and See Also; show how to invoke it - security-and-hardening: reference security-auditor persona in See Also with clear trigger conditions (auth, input, data, integrations) - test-driven-development: reference test-engineer persona in the subagent section with concrete prompt template - using-agent-skills: add Skill Rule 5 listing all three personas and where they are loaded from so agents can discover them
- AGENTS.md: add Agent Personas section with table, invocation pattern, and distinction between skills and personas; update Intent→Skill mapping to include persona load instructions for review/test/security; update lifecycle to include observability before shipping - CLAUDE.md: add observability-and-monitoring to Ship phase; expand agents/ entry to show which skill each persona is invoked from
|
Thanks @googlarz for the thorough work here — the adversarial review pass before submitting is exactly the right discipline, and it shows. The technical decisions in the observability skill are solid: route_template cardinality rule, OTel + W3C traceparent, burn-rate alerting over raw thresholds, and the "When NOT to use" section are all production-grade choices that less experienced contributors miss. A few things worth discussing before merge: 1. Two independent concerns in one PRThe observability skill and the agent persona integration are unrelated changes. The persona wiring touches code-review-and-quality, security-and-hardening, test-driven-development, AGENTS.md, and CLAUDE.md — none of which have anything to do with observability. Bundling them increases blast radius and makes the diff harder to review. If either half needs to be reverted, you're reverting both. These should be two PRs. 2. The decision tree trigger is reactiveThe skill itself says "build observability before you need it, not after your first outage", but this trigger only fires when you already feel the pain. Something like "Instrumenting a service / setting up monitoring?" would match the proactive framing the skill is actually teaching. 3. Lifecycle placement is right, but incompletePutting observability before shipping-and-launch (step 11 of 12) is correct. The problem is it implies you start thinking about it at the end. A small note in incremental-implementation, something like "when defining a slice, define what you'll measure" — would anchor observability to where it actually starts, without moving the full skill. 4. Missing references/observability-checklist.mdEvery other skills covering a technical domain has a corresponding checklist in references/:
This skill doesn't create one and doesn't reference one. A checklist covering "do I have the four golden signals? trace_id on every log line? SLOs defined?" would be the most immediately useful artifact for someone running this skill on a real service — and it would make this PR consistent with the rest of the repo. 5. No Step 0 for existing servicesThe "When to Use" mentions "taking ownership of an existing one" but the steps assume you're starting from scratch. There's no audit step, "what instrumentation do you already have?", before adding more. That's the most common real-world case.
|
|
Thanks for the thorough review — all points taken. Closing this in favour of two focused PRs:
The CI validator is in its own separate #60. |
Summary
observability-and-monitoring— fills the only confirmed lifecycle gap in the collection. Covers structured logging (with cardinality rules), four golden signals metrics, OpenTelemetry-standard distributed tracing (W3Ctraceparent/tracestate), SLO-based alerting (burn rate, not raw thresholds), and dashboard design. Followsskill-anatomy.mdformat exactly: Overview, When to Use, stepwise process, Common Rationalizations, Red Flags, Verification checklist.idea-refinenow points forward tospec-driven-development;deprecation-and-migrationnow referencesincremental-implementation,test-driven-development, andgit-workflow-and-versioningat the natural touch points in the migration process./shipcommand updated —observability-and-monitoringis wired into the launch checklist so the skill is reachable via the/shipentrypoint, not just via the meta-skill decision tree.using-agent-skillsupdated — new skill added to decision tree, lifecycle sequence (beforeshipping-and-launch, not after), and quick reference table.How findings were addressed
This PR went through both
/codex:adversarial-reviewand/codex:reviewbefore submission:pathlabel causes cardinality explosionroute_template; added explicit cardinality rule banning user IDs, tenant IDs, query strings from labelsX-Trace-Idheaders (non-interoperable)inject()+ W3Ctraceparent/tracestate/shipentrypointshipping-and-launchin decision tree, lifecycle, and quick referenceTest plan
skills/observability-and-monitoring/SKILL.mdexists and passes frontmatter lintls skills/ | wc -l/shipcommand referencesobservability-and-monitoringusing-agent-skillshas observability before shipping