lua-lint — lua code formatting lua-lint, okuban.nvim, khwerhahn, community, lua code formatting, ai agent skill, ide skills, agent automation, luacheck linting, neovim plugin development, stylua formatting tool, lua syntax validation

v1.0.0
GitHub

About this Skill

Perfect for Code Review Agents needing advanced Lua code quality maintenance. lua-lint is a code analysis tool that runs StyLua and Luacheck on Lua codebases to ensure formatting and syntax consistency.

Features

Runs StyLua for formatting checks and auto-fixing
Utilizes Luacheck for linting and syntax validation
Supports checking all Lua files with `/lua-lint` command
Allows checking specific files with `/lua-lint file.lua` command
Integrates with NeoVim for seamless code analysis
Enables dry-run formatting checks with `stylua --check` command

# Core Topics

khwerhahn khwerhahn
[0]
[0]
Updated: 3/10/2026

Quality Score

Top 5%
51
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
> npx killer-skills add khwerhahn/okuban.nvim/lua-lint
Supports 19+ Platforms
Cursor
Windsurf
VS Code
Trae
Claude
OpenClaw
+12 more

Agent Capability Analysis

The lua-lint skill by khwerhahn is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for lua code formatting, luacheck linting, neovim plugin development.

Ideal Agent Persona

Perfect for Code Review Agents needing advanced Lua code quality maintenance.

Core Value

Empowers agents to enforce high code standards using StyLua for formatting and Luacheck for linting, ensuring consistency across Lua codebases with features like auto-fixing and dry-run checks.

Capabilities Granted for lua-lint

Automating Lua code formatting with StyLua
Linting Lua files for errors using Luacheck
Checking specific Lua files for formatting and linting issues

! Prerequisites & Limits

  • Requires StyLua and Luacheck installation
  • NeoVim plugin dependency
  • Lua codebase only
Project
SKILL.md
967 B
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8
SKILL.md
Readonly

Lua Lint & Format

Run StyLua and Luacheck on the codebase.

Usage

  • /lua-lint — Check all Lua files
  • /lua-lint lua/okuban/api.lua — Check a specific file

Steps

1. Format Check (StyLua)

bash
1# Check formatting (dry-run) 2stylua --check lua/ tests/ 3 4# Auto-fix formatting 5stylua lua/ tests/

If $ARGUMENTS is provided:

bash
1stylua --check $ARGUMENTS

2. Lint (Luacheck)

bash
1# Lint all 2luacheck lua/ tests/ 3 4# Lint specific file 5luacheck $ARGUMENTS

3. Report

After running both tools:

  1. List any formatting issues found (and whether they were auto-fixed)
  2. List all Luacheck warnings/errors grouped by file
  3. For each issue, explain what's wrong and suggest a fix
  4. If everything passes, confirm clean status

Prerequisites

If tools are missing, suggest installation:

bash
1# StyLua 2brew install stylua 3# or: cargo install stylua 4 5# Luacheck 6luarocks install luacheck 7# or: brew install luacheck

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is lua-lint?

Perfect for Code Review Agents needing advanced Lua code quality maintenance. lua-lint is a code analysis tool that runs StyLua and Luacheck on Lua codebases to ensure formatting and syntax consistency.

How do I install lua-lint?

Run the command: npx killer-skills add khwerhahn/okuban.nvim/lua-lint. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for lua-lint?

Key use cases include: Automating Lua code formatting with StyLua, Linting Lua files for errors using Luacheck, Checking specific Lua files for formatting and linting issues.

Which IDEs are compatible with lua-lint?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for lua-lint?

Requires StyLua and Luacheck installation. NeoVim plugin dependency. Lua codebase only.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add khwerhahn/okuban.nvim/lua-lint. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use lua-lint immediately in the current project.

Related Skills

Looking for an alternative to lua-lint or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
Design

linear

Logo of lobehub
lobehub

Linear issue management. MUST USE when: (1) user mentions LOBE-xxx issue IDs (e.g. LOBE-4540), (2) user says linear, linear issue, link linear, (3) creating PRs that reference Linear issues. Provides

73.4k
0
Communication

testing

Logo of lobehub
lobehub

Testing guide using Vitest. Use when writing tests (.test.ts, .test.tsx), fixing failing tests, improving test coverage, or debugging test issues. Triggers on test creation, test debugging, mock setup

73.3k
0
Communication

zustand

Logo of lobehub
lobehub

Zustand state management guide. Use when working with store code (src/store/**), implementing actions, managing state, or creating slices. Triggers on Zustand store development, state management questions, or action implementation.

72.8k
0
Communication