# Syntax Hunter

> Basic syntax error resolution.

- Skill: `udapy/syntax-hunter` (Agent Skill)
- Install (CLI): `npx skillmds@latest add udapy/syntax-hunter`
- Raw SKILL.md: https://api.skillmd.com/api/skills/udapy/syntax-hunter/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: udapy (https://skillmd.com/u/udapy)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/udapy/syntax-hunter

---


<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>

