Install any skill in seconds. Free to start, no credit card required.
Get Started Free →gsd-build/observability
Add agent-first observability to code — structured logs, health endpoints, failure-state persistence, and explicit failure modes — so the next agent hitting a problem at 3am has the signals it needs to diagnose.
Passed 18 of 21 test cases with the skill, and 13 of 21 without it.
and 3 more in the full report
5 fixed14 passed either way3 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 5 test cases the skill fixed. Same model, same prompt, with and without the skill.
I am instrumenting `src/services/order-processor.ts`. A developer suggested adding `logger.info('Entering processOrder()')` and `logger.info('Exiting processOrder()')` to every function. How should we log execution in this processor?
| Checked | Without skill | With skill |
|---|---|---|
| Rejects uniform function entry log lines | Passed | Passed |
| Logs decision points with contextual decision rationale fields | Missed | Passed |
The instructions your model reads when the skill loads.
This skill is the thinking process for adding it. Not "add logs everywhere" — add the right signals at the right decision points.
Invocation points:
<core_principle>
LOG DECISIONS, NOT ACTIVITY. "Entering function X" is noise. "Dispatched unit slice/S02 after guard check passed because status=pending" is signal. Every log line should answer a question a future debugger will ask.
FAIL LOUDLY AND PERSIST THE REASON. Silent try/catch that returns undefined is an anti-pattern. If something fails, the failure state needs to be somewhere a fresh agent can find it — a JSONL, a status file, a health endpoint.
OBSERVABILITY IS NOT FREE. Every log allocation, every metric, every health check costs CPU and disk. Add only what you would actually read. </core_principle>
Before instrumenting, list what can go wrong:
This map tells you where to instrument. Don't instrument uniformly — instrument at the decision points where these failures would manifest.
test cases passed, vs 13 / 21 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.