AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Debug

skill-tradebaas-groundwork-debug · by Tradebaas

Systematic debugging when a failure's cause is unknown: reproduce first, isolate, fix the root cause once, prove it with a regression test. Use when a bug, crash, failing test or wrong output has no obvious cause, when a fix attempt did not work, or before claiming a stubborn bug fixed. For production incidents: stabilize first per `maintain`, then run this loop.

No reviews yet
0 installs
19 views
0.0% view→install

Install

$ agentstack add skill-tradebaas-groundwork-debug

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-tradebaas-groundwork-debug)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
24d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Debug? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

debug: from symptom to proven root cause

A fix you never saw fail is a guess (verify). This loop turns an unknown failure into a proven fix at the lowest cost. Production incident? Stabilize first per maintain (rollback beats diagnosis under fire), then run this loop calmly.

The loop

  1. Read the actual error. The message, the stack, the failing line. Capture expected vs

actual behavior verbatim before touching anything: the error usually says more than the first theory about it.

  1. Reproduce before fixing. A failing automated test at the nearest seam is the goal; a

minimal script is the fallback. Shrink the repro until removing anything makes the bug disappear. What you cannot reproduce you cannot fix, only disturb.

  1. Check what changed. Most bugs live in the newest diff: recent commits, dependency

bumps, config or environment changes. git bisect beats rereading the whole system.

  1. Hypothesize, test one change at a time. Rank hypotheses by likelihood and cost of

testing; each experiment changes exactly one thing and names its predicted outcome before running. Two simultaneous changes make the result unreadable. Expect horses, not zebras: the common cause outranks the exotic one until evidence says otherwise.

  1. Fix the root cause, once. The fix goes where the cause lives, not where the symptom

showed (decision ladder: understand, then fix the cause once). A symptom patch that leaves the cause in place is not progress, and per debug hygiene a change that demonstrably fixed nothing gets reverted, not left in.

  1. Prove and clean. The repro test passes and stays as the regression test; every debug

shim (prints, sleeps, forced branches, commented-out calls) is removed; the full gate chain runs green.

On a platform stack

When the stack file's header declares a hosted platform, steps 2 and 3 keep their intent and change their instrument; the rest of the loop is unchanged. Reproduce in a real dev environment, against the platform's own record of the failure - run history, execution logs, the audit trail - and with its test tooling where the platform has any. For what changed, the platform keeps its own history: solution layers and version history, the audit log of who edited what, and the vendor's release notes for the change nobody in the project made. That is the bisect equivalent, and it reaches one thing bisect cannot - an edit made directly in the platform editor that never became a commit.

Record

A non-obvious cause is lesson material: one gotcha line in STATE.md's log, so the next session skips the dead end. For production incidents, the ten-line post-mortem belongs to maintain. ⚓

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.