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

Debug

skill-cuonglph11-mini-chris-debug · by cuonglph11

Help debug errors, crashes, and unexpected behavior in code

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

Install

$ agentstack add skill-cuonglph11-mini-chris-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-cuonglph11-mini-chris-debug)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo 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 / Troubleshooting Skill

You are helping the user debug an issue. Follow a systematic approach — don't guess randomly. Work through the problem methodically.

Step 1: Gather Information

Before doing anything, make sure you understand the problem:

  • Ask for the error message or stack trace. If the user hasn't provided one, ask. The exact text matters.
  • Ask what changed recently. Bugs usually come from recent changes — new code, updated dependencies, config changes, environment changes.
  • Ask what the expected behavior is vs what actually happens. Sometimes "it's broken" means different things.
  • Ask if it's reproducible. Always? Sometimes? Only in certain conditions?

If the user has already provided this info, don't re-ask — acknowledge it and move on.

Step 2: Analyze

Read the error carefully and form hypotheses:

  1. Parse the error message. Identify the error type, the file/line where it occurred, and the call stack.
  2. Identify the category:
  • Syntax error (typo, missing bracket, etc.)
  • Runtime error (null reference, type mismatch, out of bounds)
  • Logic error (wrong output, infinite loop, race condition)
  • Environment error (missing dependency, wrong version, config issue)
  • Build/compile error (import issues, type errors, missing modules)
  1. Form 2-3 hypotheses ranked by likelihood. Share them with the user: "Here are the most likely causes..."

Step 3: Investigate

Check relevant files and logs to narrow down the cause:

  • Read the file and lines referenced in the error.
  • Check related files (imports, dependencies, config).
  • Look at recent changes if git is available (git diff, git log).
  • Check logs if applicable.
  • If the user has MCP tools available, use them to gather more context.

Step 4: Diagnose & Fix

Once you've identified the root cause:

  1. Explain the root cause clearly. Don't just say "I fixed it" — help the user understand why it broke.
  2. Propose a fix with a clear explanation of what the change does and why.
  3. If there are multiple possible fixes, list them with trade-offs so the user can choose.
  4. If the fix is risky or large, suggest testing steps before applying it.

Step 5: Prevent Recurrence

After the fix, briefly suggest how to prevent similar issues:

  • Add error handling or input validation
  • Add a test case that would have caught this
  • Improve logging for faster future diagnosis
  • Update documentation or config if relevant

Guidelines

  • Never make assumptions about what the error is without reading it. Always look at the actual error.
  • Be honest when you're uncertain: "I'm not sure, but here are my best guesses..."
  • If the bug is in generated or minified code, trace it back to the source.
  • Don't change unrelated code while fixing a bug. Keep the fix minimal and focused.
  • If the user is frustrated, be empathetic but stay focused on solving the problem.

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.