Lang Lua
Navigate, test, and lint Lua modules.
Skill metadata
| Source | Bundled (installed by default) |
| Path | skills/software-development/lang-lua |
| Version | 1.1.0 |
| Author | VibeOS |
| License | MIT |
| Platforms | linux, macos, windows |
Reference: full SKILL.md
信息
The following is the complete skill definition that VibeOS loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
Lua Language Pack Skill
Drive Lua work with the project index and standard CLI recipes.
LSP hint: lua-language-server (editor-side when applicable). Zero new core tools.
What this language is (beginner)
Крошечный встраиваемый язык. Часто внутри игр, Neovim, Redis, роутеров и плагинов.
Лучше всего для:
- скрипты игровых движков (Love2D и др.)
- конфиг/плагины Neovim
- встраиваемая логика в C/C++ хостах
- лёгкие скрипты там, где уже есть Lua runtime
When to Use
Выбирай этот pack, если:
- хост-система уже требует Lua
- есть .luarc.json / selene.toml / *.rockspec
- нужен маленький скриптовый язык внутри приложения
Manifests (автодетект репозитория): .luarc.json, selene.toml, *.rockspec
Обычно рядом: Часто рядом с C/C++ хостом.
См. также skill choose-language-pack, если цель ещё не ясна.
When NOT to use
- общее приложение / веб → TypeScript / Python
- системный код → Rust / Go / Zig
Prerequisites
vibeos pack apply lang-lua --apply
vibeos pack apply project-intelligence --apply
How to Run
vibeos project index build
luacheck . || selene .
busted
Quick Reference
| Goal | Command |
|---|---|
| Apply pack | vibeos pack apply lang-lua --apply |
| Doctor | vibeos language doctor lua |
| Primary test | busted |
| Choose guide | skill choose-language-pack |
Procedure
- Если язык ещё не выбран для нового проекта — сначала
choose-language-pack. - Work from the project root that matches pack manifests.
- Index query →
read_file→ edit → path-scoped tests when iterating. - Prefer the package manager / toolchain already locked in the repo.
- Explain non-obvious toolchain choices in plain language for the user.
Pitfalls
- Love2D / Neovim / Redis Lua differ — follow project tooling.
- Prefer project-local rockspecs.
- Do not invent core tools; stay on
terminal+read_file+ index CLI.
Verification
vibeos language doctor lua
luacheck . || selene . || true