debugging
Use when something is failing, regressing, or behaving unexpectedly and the goal is root-cause analysis, narrowest fix, and verification.
Skill by aayushostwal
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.
About
Use cases: design, devops
Reviews
Write a reviewNo 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
- 0.648score
software-engineer
aayushostwal
Resolve a GitHub issue or a concrete bug described in chat in a local repository, from reproduction through a verified fix and pull request.
SkillAFreshness: A★ 19Claude Code +9 - 0.643score
nexus
aayushostwal
Use for persistent TODO capture, daily brief retrieval, and shared Codex/Claude operating rules.
SkillAFreshness: A★ 19Claude Code +9 - 0.643score
observability
aayushostwal
Use for correlated API failures, cascading errors, and distributed-system incident tracing.
SkillAFreshness: A★ 19Claude Code +9 - 0.643score
performance
aayushostwal
Use for memory, CPU, latency, and query-performance investigations, plus dependency-upgrade blast-radius analysis.
SkillAFreshness: A★ 19Claude Code +9 - 0.643score
reliability
aayushostwal
Use for production incidents, outages, and service degradations, plus release-readiness gate checks.
SkillAFreshness: A★ 19Claude Code +9 - 0.643score
shorts
aayushostwal
Use to convert any input into a ready-to-record YouTube Shorts script.
SkillAFreshness: A★ 19Claude Code +9 - 0.643score
skill-writer
aayushostwal
Use for creating, refactoring, or debugging skills and improving SKILL.md trigger quality.
SkillAFreshness: A★ 19Claude Code +9 - 0.643score
tutorial
aayushostwal
Use for creating executable Jupyter tutorials and AI engineering walkthroughs with runnable cells.
SkillAFreshness: A★ 19Claude Code +9 - 0.613score
testing
aayushostwal
Use for flaky or nondeterministic tests, especially local-vs-CI inconsistencies.
SkillAFreshness: A★ 19Claude Code +9 - 0.592score
token-optimizer
aayushostwal
Always-on token optimization rules.
SkillBFreshness: B★ 19Claude Code +9
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
- Repository
- github.com/aayushostwal/nexus
- Website
- nexus-ai.aayushostwal.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from aayushostwal
- 0.648score
software-engineer
aayushostwal
Resolve a GitHub issue or a concrete bug described in chat in a local repository, from reproduction through a verified fix and pull request.
SkillAFreshness: A★ 19Claude Code +9 - 0.643score
nexus
aayushostwal
Use for persistent TODO capture, daily brief retrieval, and shared Codex/Claude operating rules.
SkillAFreshness: A★ 19Claude Code +9 - 0.643score
observability
aayushostwal
Use for correlated API failures, cascading errors, and distributed-system incident tracing.
SkillAFreshness: A★ 19Claude Code +9 - 0.643score
performance
aayushostwal
Use for memory, CPU, latency, and query-performance investigations, plus dependency-upgrade blast-radius analysis.
SkillAFreshness: A★ 19Claude Code +9 - 0.643score
reliability
aayushostwal
Use for production incidents, outages, and service degradations, plus release-readiness gate checks.
SkillAFreshness: A★ 19Claude Code +9 - 0.643score
shorts
aayushostwal
Use to convert any input into a ready-to-record YouTube Shorts script.
SkillAFreshness: A★ 19Claude Code +9
Cite this page
debugging skill. Agent Mart. https://agentmart.dev/skills/aayushostwal-debugging (last updated 2026-10-24)