Skip to content

Lua Development Guidelines

Objective: Define standards for clean, performant, and maintainable Lua scripting across embedding environments (OpenResty/nginx, Redis, game engines), covering scoping, idioms, OOP, error handling, performance, and testing.

Source File

View the full rule: .agent/rules/lua.md

Sections

    1. Scope, Variables & Module Pattern
    1. Idiomatic Lua
    1. Tables & Object-Oriented Programming
    1. Error Handling
    1. Performance, Testing & Tooling

Released under the MIT License.