What problem does it solve? Unattended processes like background jobs, servers, and watchers fail silently, leaving no signal for whoever debugs them later. This Skill guides you to instrument code with decision-point logs, durable failure state, and health surfaces so a cold-start agent can diagnose problems without rerunning the code. ## Core Features & Use Cases - Decision-Point Logging: Add structured JSONL log events at the exact points where decisions are made, with the values that drove them, instead of noisy entry/exit traces. - Failure-State Persistence: Write atomic failure records (error, stack, retry count) to a known runtime location so the last failure is always discoverable. - Health & Status Surfaces: Expose cheap health endpoints or status files for long-running processes, plus a minimal set of metrics that drive alerts. - Use Case: You are building a dispatch loop with retries and guards. Use this Skill to map its failure modes, log each dispatch decision with its reason, persist errors to runtime/last-error.json, and verify the signals by simulating one failure. ## Quick Start Ask the agent to add observability to your background job or server so failures are logged, persisted, and visible on a health endpoint.