lua-standards

Community

Elevate Lua quality with best practices.

Authordungle-scrubs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Lua projects often suffer from global leakage, inconsistent formatting, and weak typing, making maintenance hard. This Skill provides a structured set of standards to prevent these issues, ensuring safer, cleaner Lua code and conversations.

Core Features & Use Cases

  • Local scope everywhere: enforce local variables and avoid polluting the global namespace.
  • Typing annotations: LuaLS EmmyLua-style annotations for IDE support and checks.
  • Formatting and linting: StyLua for formatting and luacheck for linting across projects.
  • Error handling and modules: pcall/xpcall patterns and a clean module pattern for safe exports.

Use case: Apply these standards when building Neovim configs, Hammerspoon scripts, LÖVE2D games, or any Lua project to improve readability and reliability.

Quick Start

Install and configure LuaLS, StyLua, and luacheck, then run formatting and linting across your Lua codebase.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: lua-standards
Download link: https://github.com/dungle-scrubs/agent-config/archive/main.zip#lua-standards

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.