General syntax

From udapy/rust-agentic-skills · View interactive version

General syntax is an AI agent skill from the GitHub repository udapy/rust-agentic-skills. Basic syntax error resolution.

How to use this skill

Skill file

<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?
  1. Braces: Are {} matching?
  2. Turbofish: Are you calling a generic function? Use ::<>, e.g., collect::<Vec<_>>().
  3. Lifetimes: 'a syntax usage vs declaration.

</checklist>

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.