General debug
Systematic logic error isolation.From its SKILL.md
npx -y skills add udapy/rust-agentic-skills --skill general-debugAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
0.8 KB, 152 tokens by cl100k_base, as published. Nobody here has run it
<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>- Reproduction:
- Can you write a test case that fails?
- If not, create a minimal reproducible example (MRE).
- Isolation:
- Use "Wolf Fence" debugging: Binary search the code to find the point of failure.
- Insert
dbg!()macros (better thanprintln!).
- Resolution: - Once isolated, fix the logic. - Remove all
dbg!()calls before final commit. </protocol>