/fde-operate:observability-gapfrom fde-operate
Identifies and closes observability gaps after incidents or before shipping changes. Helps add missing logs, metrics, traces, and alerts to make future diagnosis faster.
Ships in fde-operate. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Making the next incident cheaper than this one.
After an incident everyone discusses the cause. Almost nobody discusses why it took forty minutes to find — and that second question is usually the more valuable one, because the cause was specific to this incident while the diagnosis difficulty will recur across every future one.
If the answer was hard to find, that is a fixable defect. A missing log line, an absent metric, a dashboard that shows the symptom but not the cause, an alert that fires on the wrong thing. Each one costs time in every incident that touches that area, forever, and each is usually a small change.
This is the compounding skill in the portfolio. It's also the one most easily deferred, because the incident is over and the pressure is gone. That's precisely why it needs to be a deliberate step rather than an intention.
The other half is prospective: before shipping, asking whether this change's failure would be silent. A failure nobody detects is far more dangerous than one that pages someone at 3am.
nfr-baseline flagged a silent-failure riskResolve <workspace> before reading or writing artifacts: use FDE_WORKSPACE if set (report an unavailable explicit path rather than falling back), otherwise the charter's recorded Location (look in .fde/ and ../*-fde/), then an existing .fde/ or ../<repo>-fde/. If none exists, run core fde-orient; do not create a second workspace. All artifact paths below use that location. Follow core workspace conventions for headers; preserve existing sections when appending.
<workspace>/incidents/*.md, especially "what made this hard", if available<workspace>/03b-nfrs.md if it exists. A draft target or a missing-baseline finding from nfr-baseline is enough; do not require that skill to finish first.<workspace>/08-release-readiness.md — optional, only if a release assessment already existsChoose the mode first. Post-incident: use the actual diagnosis below. Pre-release: name the changed operation and its dependencies, list plausible failure and silent-corruption scenarios from the spec or draft NFRs, and ask the four questions in step 2 for each. Tag these scenarios as inferred until tested. Do not manufacture an incident or wait for a future release assessment to begin.
The best input is a specific incident and the specific moments where you were stuck. incident-triage records these under "what made this hard" for exactly this reason.
Reconstruct the diagnosis and mark each point where you had to guess, wait, or ask someone. Each is a gap with a known cost — you just paid it.
Working from a real incident produces a much better result than working from a generic observability checklist, because it targets what actually failed rather than what might.
For the area in question:
Question 1 is the one that matters most. A failure detected only when a customer complains has an unbounded detection time, and detection time dominates total incident duration far more often than diagnosis does.
The highest-value target. Some failures are loud — errors, timeouts, crashes — and are usually already covered. The dangerous ones produce no error at all:
For each, the fix is usually an assertion about what should be true rather than a detector for what went wrong: this job should complete daily by 06:00; this count should match that count; this queue should not exceed this depth; this rate should stay within this band.
Absence detection — alerting on something that didn't happen — is the most commonly missing kind of monitoring and the most valuable to add. Nothing failing is indistinguishable from nothing running.
More telemetry is not better. An alert nobody acts on trains people to ignore alerts, and a dashboard with sixty panels hides the four that matter.
Add:
For each alert, answer: who receives it, what do they do, and what happens if they do nothing? If the honest answer to the last is "nothing," it should be a dashboard, not an alert.
Existing monitoring is often subtly wrong, and nobody has checked since it was written:
That last one is a real risk from ordinary work — renaming a log field silently breaks any alert parsing it, with no error anywhere. blast-radius ring 6 covers this prospectively; this is the retrospective check.
Confirm the important alerts can actually fire. The only reliable way is to make one fire deliberately in a lower environment.
The failure mode here is proposing an observability programme instead of adding four log lines and one alert.
Ship the small version now: the specific gaps from the incident or pre-release scenarios. It's reviewable, it's cheap, and it gives the next diagnosis better evidence. Larger platform gaps — no tracing at all, no log aggregation — belong in the handover as findings; record any required detection capability that remains missing as a release gap.
A PR plus a note appended to the incident record, or <workspace>/07c-observability.md:
# Observability gaps — <area>
**Engagement:** <name> · **Author:** FDE · **Date:** <YYYY-MM-DD>
**Source:** <incident and diagnosis duration, or proposed change / draft NFR scenarios>
**Status:** draft
**Source revision:** <repo>@<short SHA>, or "no repository yet"
**Confidence:** <what is confirmed, inferred, or unverified>
## Where diagnosis stalled / prospective detection gaps
| # | Stuck on | Cost | Gap |
|---|---|---|---|
| 1 | Which downstream was slow | ~15 min after incident, or unmeasured before release | No per-dependency latency metric |
| 2 | Whether the recon job had run | ~10 min | No completion metric — had to read logs on the host |
| 3 | Which tenants were affected | ~8 min | Errors aggregated only, no tenant dimension |
## The four questions
| Question | Before | After |
|---|---|---|
| Would we know it broke? | Only via customer reports | ✅ alert on error rate |
| Would we know what broke? | No | ✅ per-dependency latency |
| Which requests/tenants? | No | ✅ tenant dimension added |
| Follow one request? | Partially — no ID across the queue | ⚠️ correlation ID propagated, tracing still absent |
## Silent failures found
| Failure | Currently detected? | Fix |
|---|---|---|
| Recon job doesn't run | **No** — silent until month-end | Absence alert: no completion by 06:00 → page |
| Refund written with wrong currency | **No** | Daily reconciliation count vs. source |
## Changes made
| # | Change | Type | Alerts to |
|---|---|---|---|
| 1 | `dependency_latency{dep}` histogram | metric | dashboard only |
| 2 | `recon_job_completed` + absence alert | metric + alert | #payments-oncall |
| 3 | `tenant_id` on error logs | log | — |
## Existing monitoring found broken
| What | Problem | Fixed |
|---|---|---|
| `payment_failures` alert | Routed to a team disbanded in 2024 | ✅ rerouted |
| `queue_depth` dashboard panel | Metric renamed in a 2025 refactor; empty since | ✅ |
## Platform gaps — not fixed here
<Larger findings for the handover: no distributed tracing, log retention only 7 days.>
Skipping it because the incident is over. The pressure is gone, which is exactly why it needs to be a deliberate step.
Inventing an incident to satisfy a prerequisite. Use a real diagnosis after an incident, or explicit inferred failure scenarios before release. Neither mode needs a future release assessment to begin.
Only instrumenting loud failures. They're usually covered. Silent ones are the danger.
Missing absence detection. Nothing failing is indistinguishable from nothing running.
Adding alerts with no defined action. Noise with a pager attached, and it trains people to ignore the real ones.
Not checking existing monitoring. Alerts routed to disbanded teams and dashboards on dead metrics are extremely common.
Not verifying an alert can fire. Make one fire deliberately in a lower environment.
Proposing a programme instead of shipping four log lines. Ship the small version; record the platform gaps as findings.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
observability, incident-response, monitoring, alerting, telemetry
3 skills in this plugin
/ci-forensicsDiagnose a red, flaky, or slow pipeline by identifying the failure class first - genuine break, flake, environment drift, ordering dependency, or resource contention - before attempting fixes, and distinguishing making it green from making it right. Use when the build is failing, when tests pass locally but not in CI, when a suite is intermittently red, when the pipeline is too slow to be useful, or when someone says "just re-run it". A pipeline nobody trusts provides no signal, which is worse than having no pipeline./post-deploy-watchDefine and execute the observation window after a release - smoke checks, the specific metrics that would show this change broke something, how long to watch, and pre-agreed rollback triggers - converting "seems fine" into a recorded verification. Use immediately after any non-routine deploy, during a staged or percentage rollout, or when a change shipped with unverified items that were accepted as residual risk. A deploy is not done when the pipeline goes green; it is done when the observation window closes without incident.npx claudepluginhub rpraharaj/forward-deployed-engineer --plugin fde-operateOther plugins' skills for the same job