templates/skills/languages/lua/SKILL.md
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
npx skillsauth add hivellm/rulebook LuaInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
CRITICAL: Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
# Complete quality check sequence:
stylua --check . # Format check
luacheck . # Linting
busted # All tests (100% pass)
# No standard security audit for Lua
CRITICAL: Use Lua 5.4 or LuaJIT with linting.
IMPORTANT: These commands MUST match your GitHub Actions workflows!
# Pre-Commit Checklist (MUST match .github/workflows/*.yml)
# 1. Format check (matches workflow)
stylua --check src/ tests/
# 2. Lint (matches workflow)
luacheck src/ tests/ --std luajit --no-unused-args
# 3. Run tests (matches workflow)
busted tests/
# If ANY fails: ❌ DO NOT COMMIT - Fix first!
Why This Matters:
stylua (writes) locally but stylua --check in CI = failuredescribe("DataProcessor", function()
local processor
before_each(function()
processor = require("data_processor").new()
end)
it("processes valid input", function()
local result = processor:process({1, 2, 3})
assert.are.same({2, 4, 6}, result)
end)
it("handles empty input", function()
assert.has_no.errors(function()
processor:process({})
end)
end)
end)
<!-- LUA:END -->research
Author a rulebook task spec interactively — research, draft, ask the user clarifying questions, confirm, then create the tasks in rulebook ready for /rulebook-driver. Use when the user wants to plan/spec a feature before implementing.
development
Behavioral guidelines to reduce common LLM coding mistakes — overcomplication, sloppy refactors, hidden assumptions, weak goals. Use when writing, reviewing, or refactoring code. Auto-applies; invoke explicitly via /karpathy-guidelines or 'follow karpathy discipline'.
data-ai
Autonomous AI agent loop for iterative task implementation (@hivehub/rulebook ralph)
data-ai
Use SQL Server for enterprise relational data storage with advanced features, high availability, and Windows integration.