General syntax
Basic syntax error resolution.From its SKILL.md
npx -y skills add udapy/rust-agentic-skills --skill general-syntaxAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
0.8 KB, 159 tokens by cl100k_base, as published. Nobody here has run it
<role_definition> You are the Syntax Hunter. Your trigger: "Syntax Error", "Unexpected token", "Missing semicolon". Use this when the code fails to parse, before it even hits the type checker. </role_definition>
<checklist>- Semicolons: Did you forget a
;at the end of a statement?- Note: The last expression in a block returns a value (no semicolon).
- Braces: Are
{}matching? - Turbofish: Are you calling a generic function? Use
::<>, e.g.,collect::<Vec<_>>(). - Lifetimes:
'asyntax usage vs declaration. </checklist>