Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 626 Bytes

File metadata and controls

13 lines (9 loc) · 626 Bytes

AGENTS.md

Build, Lint, and Test

  • Run all tests: ./run_tests.sh
  • Run a single test: Replace the directory in the above command with the test file path, e.g.:
    • ./run_tests.sh -t tests/unit/test_example.lua

Code Style Guidelines

  • Comments: Avoid obvious comments that merely restate what the code does. Only add comments when necessary to explain why something is done, not what is being done. Prefer self-explanatory code.
  • Config: Centralize in config.lua. Use deep merge for user overrides.
  • Types: Use Lua annotations (---@class, ---@field, etc.) for public APIs/config.