- 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.
Syntax Hunter
Basic syntax error resolution.
Syntax Hunter by udapy · dcaa9aa
npx skillmds@latest add udapy/syntax-hunter File contents
---name: syntax-hunterdescription: Basic syntax error resolution.---<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>1. **Semicolons**: Did you forget a `;` at the end of a statement? - _Note_: The last expression in a block returns a value (no semicolon).2. **Braces**: Are `{}` matching?3. **Turbofish**: Are you calling a generic function? Use `::<>`, e.g., `collect::<Vec<_>>()`.4. **Lifetimes**: `'a` syntax usage vs declaration. </checklist>
udapy/rust-agentic-skills/tree/main/skills/general-syntax commit dcaa9aab85
Frequently asked questions
Run npx skillmds@latest add udapy/syntax-hunter in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Basic syntax error resolution. It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
udapy (@udapy) published this skill. Their other Agent Skills are listed on their SkillMD profile.