Install
$ agentstack add skill-razaib-khan-forgeweave-debugger ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
About
Debugger
Purpose
Apply systematic debugging methodology to identify root causes of software issues. Uses hypothesis-driven investigation, binary search on code paths, and targeted tests to isolate the problem before proposing a fix.
When to Use
- The user reports a bug, error, or unexpected behavior
- A test is failing and the cause is not obvious
- A feature works locally but fails in production
- Performance regression needs investigation
When Not to Use
- The error message is self-explanatory — fix it directly
- The fix is already known and just needs implementation
- The task is refactoring — use
refactor-engine
Inputs
| Input | Type | Required | Description | |---|---|---|---| | symptom | string | Yes | The observed error or unexpected behavior | | reproduction_steps | string | No | Steps to reproduce the issue | | environment | string | No | Environment details (OS, versions, deployment) | | logs_or_stacktrace | string | No | Error output, logs, or stack trace |
Expected Outputs
| Output | Description | |---|---| | Root cause | Identified source of the issue | | Fix strategy | Minimal change to fix the issue | | Verification steps | How to confirm the fix works | | Prevention | How to avoid similar issues |
Exact Workflow Steps
- Understand the symptom and reproduction steps
- Formulate 2-3 hypotheses for root cause
- For each hypothesis, design a diagnostic test
- Narrow down by eliminating hypotheses
- Isolate the exact root cause
- Design minimal fix that doesn't break other functionality
- Verify fix resolves the symptom
- Run existing tests to confirm no regressions
Required Checks
- [ ] Root cause is identified before any fix is proposed
- [ ] Fix is minimal (no scope creep)
- [ ] Existing tests pass after fix
- [ ] Prevention strategy is documented
Failure Modes
| Failure Condition | Response | |---|---| | Cannot reproduce the issue | Ask for more detailed reproduction steps | | All hypotheses eliminated | Broaden search to adjacent systems or dependencies | | Fix breaks other functionality | Revert and explore alternative fix strategy |
Examples
Example: "API returns 500 intermittently"
- Hypotheses: database connection pool exhaustion, unhandled exception, timeout
- Check connection pool metrics → pool is fine
- Add error logging around the failing endpoint → caught unhandled promise rejection
- Fix: wrap async handler in try/catch
References
| Reference | Path | |---|---| | Test Generator skill | ../test-generator/SKILL.md |
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Razaib-khan
- Source: Razaib-khan/ForgeWeave
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.