Approved catalog listing
SKILL #3786
skillshunter.net
Home / Software & Development / Roblox Luau Static Analysis V27
Listing Approved Approved on: November 30, 2026

Roblox Luau Static Analysis V27

Analyze Roblox Luau projects using the official luau-analyze CLI for type checking, linting, and evidence-based static diagnostics. This process identifies source directories, type modes, and inventory files without claiming to be a parser or type checker.

Rate this skill

No ratings yet

Editor's Note

Before running the analysis, ensure the official `luau-analyze` CLI is available and identify the actual game project root and source directories. Start with stable leaf modules and avoid mass edits of type directives.

When to Use It

  • Diagnose and improve Luau code quality
  • Perform type checking and linting on Roblox Luau projects
  • Inventory source files and type modes using V27 offline audit
  • Gradually migrate to strict typing with evidence-based diagnostics

SKILL.md

SkillsHunter provides this listing for informational purposes only. Review the skill’s source, license, and required permissions before use. You are responsible for deciding whether to install or run it. Terms of Use

↓ Download .md
---
name: roblox-luau-static-analysis-v27
description: Analyze Roblox Luau projects with the official luau-analyze CLI, incremental strict typing, and evidence-based static diagnostics.
---

# Roblox Luau Static Analysis

Use this skill when writing, reviewing, diagnosing, or improving Luau code quality.

## Establish the baseline

- Identify the actual game project root and source directories.
- Inspect the current type-mode directives and any `.luaurc` files.
- Check whether the official `luau-analyze` CLI is available.
- Use the V27 offline audit to inventory source files, type modes, and conservative architecture signals.
- Use `luau-analyze` for type checking and linting; do not claim the offline inventory is a parser or type checker.

## Gradual type migration

- Start with stable leaf modules, pure helpers, shared data definitions, and low-dependency interfaces.
- Add parameter types, return types, generic constraints, optional-field handling, and shared payload types.
- Move one bounded module or subsystem at a time to `--!strict`.
- Run the analyzer and relevant tests after each change.
- Prefer precise records and unions over broad `any` casts.
- Keep intentional dynamic/reflection-heavy modules in a justified mode until they can be typed safely.

Never add `--!strict` to every script in one mass edit. Never automatically alter type directives or suppress diagnostics to make a report green.

## Diagnostics workflow

1. Capture the baseline analyzer output.
2. Sort issues by runtime risk, affected callers, and shared-interface impact.
3. Fix root causes rather than hiding errors with casts.
4. Update affected callers and tests together.
5. Re-run static checks and focused Studio tests.
6. Report unresolved diagnostics and skipped tests.

## Honest evidence

- Keep compiler/type-checker output separate from Studio runtime logs.
- Record the exact CLI mode, project config, and files analyzed.
- Distinguish analyzer errors from heuristic warnings.
- A clean analyzer run does not prove the experience is correct at runtime.

Community Reviews & Field Notes

Tried this skill on your own project? Share the model you used and the results you got.

Add Your Review

Approved reviews appear publicly with the name or role you enter. See the Privacy Notice.