ldyom-definitions

Community

Generate Lua declarations from C++ bindings.

AuthorGeTechG
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill automates the creation of Lua declaration files (with ---@meta annotations) from the C++ sol2 bindings used in the LDYOM2 project, enabling IDEs to provide accurate autocomplete and type checking for Lua addons.

Core Features & Use Cases

  • Declarative bindings extraction: scans LDYOM2/src/lua for binding definitions and derives corresponding LuaLS annotations.
  • Output generation: writes .lua declaration files to ingame/definitions/core alongside the LDYOM2 project.
  • Use Case: when you add a new C++ binding or modify an existing one, run this skill to regenerate the Lua declarations and update IDE support.

Quick Start

Run this skill to generate Lua declarations from LDYOM2 C++ bindings located under LDYOM2/src/lua and produce the output in ingame/definitions/core.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ldyom-definitions
Download link: https://github.com/GeTechG/LDYOM/archive/main.zip#ldyom-definitions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.