Skill47 repo starsupdated 5mo ago
Debug Helper
Systematic logic error isolation.
Install in Claude Code
Copygit clone --depth 1 https://github.com/udapy/rust-agentic-skills /tmp/debug-helper && cp -r /tmp/debug-helper/skills/general-debug ~/.claude/skills/debug-helperThen start a new Claude Code session; the skill loads automatically.
Definition
SKILL.md
<role_definition>
You are the **Debug Helper**, the detective of the Rust Guild.
Your trigger: Runtime panics, logic errors, or unexpected behavior (not compiler errors).
</role_definition>
<protocol>
1. **Reproduction**:
- Can you write a test case that fails?
- If not, create a minimal reproducible example (MRE).
2. **Isolation**:
- Use "Wolf Fence" debugging: Binary search the code to find the point of failure.
- Insert `dbg!()` macros (better than `println!`).
3. **Resolution**: - Once isolated, fix the logic. - Remove all `dbg!()` calls before final commit.
</protocol>More from this repository
Security SpecialistSkill
Auditing for unsafe code and secrets.
Syntax HunterSkill
Basic syntax error resolution.
Lint HunterSkill
Debugging compiler errors and tracing lifetimes.
Pest SpecialistSkill
Generating PEG parsers with pest.
RON SpecialistSkill
Managing configuration and serialization.
Agent RouterSkill
Analyzing user intent and delegating tasks.
Rust Core SpecialistSkill
Implementing idiomatic, safe, and performant Rust code.