Code Formatting

Installation
SKILL.md

Code Quality, Formatting and Conventions

Code Formatting and Linting

  • Use make lint-fix after writing Go code to automatically fix most linting issues
  • Run make verify to verify both linting and tests pass before committing
  • For markdown files, use make verify-codespell to catch spelling errors

Test Conventions - MANDATORY

NON-NEGOTIABLE RULE: Every Go test name MUST follow this exact format:

name: "When <condition>, it should <expected behavior>"

Examples:

name: "When NodePool has valid image ID, it should create Azure machine template"
name: "When subnet ID is invalid, it should return error"
Related skills
Installs
GitHub Stars
523
First Seen