Skip to content
Agentmart
Submit a tool

debugging

Use when something is failing, regressing, or behaving unexpectedly and the goal is root-cause analysis, narrowest fix, and verification.

Skill by aayushostwal

IndexedMIT★ 19
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/aayushostwal-debugging

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when something is failing, regressing, or behaving unexpectedly and the goal is root-cause analysis, narrowest fix, and verification. Covers CI/CD, tests, runtime, deployment, and tooling failures. Output should be RCA + fix + prevention, not design options.

Use cases: design, devops

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/debugging

What's inside

Skill name
debugging
Description
Use when something is failing, regressing, or behaving unexpectedly and the goal is root-cause analysis, narrowest fix, and verification. Covers CI/CD, tests, runtime, deployment, and tooling failures. Output should be RCA + fix + prevention, not design options.
License
MIT
Instructions
103 lines in SKILL.md · view on GitHub

Files (7)

  • SKILL.md
  • debugging-checklist.md · checklists/
  • ci-cd.md
  • codebase.md
  • common.md
  • frameworks.md
  • output-validation.md · validation/

SKILL.md (first lines)

# Nexus Debugging

Route to the correct sub-guide and follow it end-to-end.

---

## Compatibility
- Sub-guides: `skills/debugging/ci-cd.md`, `skills/debugging/codebase.md`, `skills/debugging/frameworks.md`
- Shared rules and output formats: `skills/debugging/common.md`

---

## Workflow

### Step 1 — Classify the Failure
Pick exactly one track:

| Track | Failure origin | Sub-guide |
|-------|---------------|-----------|
| CI/CD | GitHub Actions, Jenkins, CircleCI, or deployment pipeline log | `ci-cd.md` |
| Codebase | Failing test, runtime exception, or regression in application code | `codebase.md` |
| Framework | Django, FastAPI, Bazel, or other tooling misbehavior | `frameworks.md` |

If unsure: ask "Is the failure in pipeline logs, app code, or a framework?"

### Step 2 — Gather Error Context
Before reading the sub-guide, collect:
1. Full error message or stack trace — copy exact text, do not paraphrase
2. What changed recently: last commit, dependency update, config change, environment change
3. Environment details: local vs CI, OS, Python/Node/runtime version
4. Steps to reproduce (minimum reproducible case if possible)

### Step 3 — Read Sub-Guide & Execute
Read the appropriate sub-guide. Follow its steps in order. Do not skip steps.
Read `common.md` for shared output format and checklists.

### Step 4 — Search for Tool-Specific Errors
If the error is framework-specific or tool-specific:
1. Search: `"<exact error message>" <tool-name> <version>` — use exact error text
2. Check the official tool changelog for breaking changes in the version in use
3. Check GitHub Issues for the tool repo filtered by the error keyword

### Step 5 — Apply Fix & Verify
1. Apply the narrowest fix that addresses the root cause — do not clean up unrelated code
2. Run the exact verification command that confirms the fix (re-run the failing test or job)
3. State what would prevent this from recurring

---

## Output Format

```
## Debug Report
**Track:** [CI/CD | Codebase | Framework]
**Root Cause:** [one sentence — specific, not "something went wrong"]
**Fix:** [exact command or minimal code diff]
**Verification:** [command to run to confirm fix]
**Prevention:** [what change stops this from recurring]
```

---

## Anti-Patterns
- Never guess the root cause without reading the full error message and stack trace first.
- Never apply a fix without stating and running a verification step.
- Never mix tracks — pick one sub-guide and follow it completely before considering another.
- Never paraphrase an error message when searching — copy it verbatim.
- Never mark the issue resolved before running the verification command.
- Never clean up unrelated code as part of a bug fix — scope the change to the root cause only.

---

## Examples

**Input:** User pastes GitHub Actions log:
```
ModuleNotFoundError: No module named 'pydantic'
Error: Process completed with exit code 1.
```

**Step 1:** Track = CI/CD (failure in pipeline)
**Step 2:** Error = `ModuleNotFoundError: No module named 'pydantic'`; changed = recent dependency PR; env = GitHub Actions Ubuntu 22.04
**Step 4:** Search `"ModuleNotFoundError: No module named 'pydantic'" github actions` → find pydantic missing from requirements.txt

**Output:**
```
## Debug Report
Track: CI/CD
Root Cause: pydantic installed locally but not in requirements.txt — CI builds from scratch so it's absent
Fix: pip freeze | grep pydantic >> requirements.txt && git add requirements.txt && git commit -m "fix: add pydantic to requirements"
Verification: Re-run the failing GitHub Actions job — confirm it passes
Prevention: Add a CI step that runs `pip check` after install to catch missing transitive deps
```

---

## Debugging Specialization
- For CI/CD failures: always check if the failure is environment-specific — works locally but fails in CI = env delta (missing secret, different OS, version mismatch).
- For codebase bugs: always check if a recent commit introduced the regression; use `git bisect` if the commit is not obvious.
- For framework issues: always check the framework changelog for the exact version in use before assuming it's your code.
- For flaky tests: run the test 5 times in isolation before investigating — confirm it's truly flaky vs. consistently failing.

From aayushostwal/nexus, MIT.

More from aayushostwal/nexus

Signals

Stars
19
Forks
0
Open issues
2
Last commit (this folder)
Sep 30, 2026 (27 days ago)
Last release
Aug 10, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from aayushostwal

Cite this page

debugging skill. Agent Mart. https://agentmart.dev/skills/aayushostwal-debugging (last updated 2026-10-24)