# Debug

> Find and fix a bug systematically: reproduce it, isolate the failing path, verify assumptions, fix the root cause, and keep a regression test. Use when something is broken and the cause is not obvious, when an earlier fix did not hold, or when the user reports a bug with no known cause.

- **Type:** Skill
- **Install:** `agentstack add skill-srrenks-prometheus-ai-debug`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [SrRenks](https://agentstack.voostack.com/s/srrenks)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [SrRenks](https://github.com/SrRenks)
- **Source:** https://github.com/SrRenks/prometheus-ai/tree/main/skills/debug

## Install

```sh
agentstack add skill-srrenks-prometheus-ai-debug
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

Work the bug down instead of guessing at it. Rules and tactics: `~/.config/agent-config/core/docs/debugging.md`.

1. Reproduce - get the smallest scenario that fails every time, and capture the exact dependency versions, logs, and stack traces.
2. Isolate - narrow to the smallest failing unit, commenting out or stubbing half at a time. Write a failing test that pins the behavior before touching the fix.
3. Verify assumptions - check configuration, dependency versions, and the data. Reproduce against a known-good dataset to rule data corruption out.
4. Fix the cause, not the symptom - the minimal change that makes the failing test pass. No drive-by refactors in the same edit.
5. Keep the regression test - the failing test stays, or gets an equivalent that would have caught this class of bug.
6. Post-mortem note - if the bug reached production or cost more than the time-box, record the root cause and what would have caught it earlier.

Deliverable: the fixed cause, the regression test, and a short report of what it was and why it happened.

Stop condition: report the root cause and the fix, or stop after three attempts on a simple issue and report what you ruled out.

## Source & license

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

- **Author:** [SrRenks](https://github.com/SrRenks)
- **Source:** [SrRenks/prometheus-ai](https://github.com/SrRenks/prometheus-ai)
- **License:** MIT

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

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-srrenks-prometheus-ai-debug
- Seller: https://agentstack.voostack.com/s/srrenks
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
