s-lint

Lint and format WoW addon Lua code with Luacheck and StyLua.

16|5|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/Falkicon/Mechanic --skill s-lint
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: s-lint
Source: https://github.com/Falkicon/Mechanic/tree/main/.claude/skills/s-lint
Command: npx skills add https://github.com/Falkicon/Mechanic --skill s-lint

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamline WoW addon development by automatically detecting and fixing code quality issues with Lua and formatting standards, reducing review time and errors.

Core Features & Use Cases

  • Luacheck Linting — Detect syntax errors, undefined globals, and common mistakes.
  • StyLua Formatting — Enforce consistent code style across files.
  • Error Resolution — Identify and fix recurring lint issues across a project.
  • Security Analysis — Flag risky patterns and potential insecure API usage.
  • Complexity Analysis — Highlight deep nesting and long functions for maintainability.
  • Dead Code Detection — Find unused code paths and dead branches to clean up.

Quick Start

Run addon.lint(addon="MyAddon") to lint and format your addon code.

Frequently Asked Questions about s-lint

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I lint and format WoW addon Lua code to fix code quality issues?

To lint and format WoW addon Lua code, you can use a tool that runs Luacheck to detect syntax errors and StyLua to enforce consistent formatting across multiple project files.

What does static analysis detect in a WoW addon Lua project?

Static analysis in a WoW addon Lua project detects undefined globals, dead code branches, deep nesting complexity, and risky insecure API usage patterns to improve maintainability.

Do I need Luacheck and StyLua installed to lint and format Lua files?

Yes, you need Luacheck and StyLua installed alongside a configured local project setup to successfully parse, lint, and format your Lua addon code.

Can I automatically resolve recurring lint errors across multiple addon files?

You can resolve recurring lint errors across multiple addon files by applying automated formatting and style enforcement to identify and fix common mistakes throughout the project.

What is the best way to enforce consistent Lua code style across a WoW addon team?

The best way to enforce consistent Lua code style across a WoW addon team is applying automated StyLua formatting and Luacheck linting rules to the shared local project setup.

Why does complexity analysis flag long functions in WoW addon development?

Complexity analysis flags long functions and deep nesting in WoW addon development to highlight maintainability issues, reducing review time and errors before code is committed.