Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

linjector-luau-script-ide

БесплатноБез исполняемых скриптовНе проверен

Open-source Luau/Lua script IDE and executor built as a Windows Forms C# application with Monaco editor integration

reason-machinesот reason-machines★ 99 звёзд на GitHub

Об этом скилле

LInjector Luau Script IDE

Skill by ara.so — Daily 2026 Skills collection.

LInjector is an open-source Luau/Lua script IDE and executor built as a Windows Forms application in C# (.NET Framework 4.8, 32-bit). It features the Monaco editor (the same editor powering VS Code) with Luau syntax highlighting, an optimized multi-tab system, and DLL injection capabilities targeting the Roblox UWP client.

Important Note (2026): The UWP Version is patched due to Hyperion/Byfron anti-cheat. You can still build, modify, and extend LInjector by providing your own working DLL or injection method.


Project Structure

LInjector/
├── LInjector.sln              # Visual Studio solution
├── LInjector/
│   ├── LInjector.csproj       # Project file (.NET 4.8, x86)
│   ├── Forms/                 # Windows Forms UI
│   │   ├── MainForm.cs        # Main application window
│   │   └── *.cs               # Other form files
│   ├── Classes/               # Core logic classes
│   │   ├── Injector.cs        # DLL injection logic
│   │   ├── TabSystem.cs       # Optimized tab management
│   │   └── *.cs
│   ├── Monaco/                # Monaco editor web assets
│   │   ├── index.html         # Editor host page
│   │   └── *.js               # Monaco JS files
│   └── Resources/             # Embedded resources

Build Requirements

  • Visual Studio 2022
  • .NET Framework 4.8 SDK
  • Target Platform: x86 (32-bit)
  • Configuration: Release

How to Build

# 1. Clone the repository
git clone https://github.com/WeritoP/LInjector-FORKED-
cd LInjector-FORKED-

# 2. Open in Visual Studio 2022
start LInjector.sln

# 3. Set build configuration in VS:
#    Configuration: Release
#    Platform: x86

# 4. Build via keyboard shortcut
# CTRL + SHIFT + B

# OR via CLI with MSBuild
msbuild LInjector.sln /p:Configuration=Release /p:Platform=x86

Important: Always compile before editing Forms. If you open a Form before compiling, Visual Studio's designer will fail. If this happens, restart Visual Studio.


Monaco Editor Integration

LInjector embeds Monaco in a WebBrowser or WebView2 control. The editor is hosted in a local HTML file.

Accessing the Monaco Editor from C#

// In your Form class — get script content from Monaco
private string GetEditorContent()
{
    // Execute JavaScript to retrieve editor value
    object result = webBrowser.Document.InvokeScript(
        "eval",
        new object[] { "monaco.editor.getModels()[0].getValue()" }
    );
    return result?.ToString() ?? string.Empty;
}

// Set content in Monaco editor
private void SetEditorContent(string script)
{
    string escaped = script
        .Replace("\\", "\\\\")
        .Replace("'", "\\'")
        .Replace("\n", "\\n")
        .Replace("\r", "\\r");

    webBrowser.Document.InvokeScript(
        "eval",
        new object[] { $"monaco.editor.getModels()[0].setValue('{escaped}')" }
    );
}

Monaco Editor Host HTML (Monaco/index.html pattern)

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <style>
        html, body, #container {
            width: 100%; height: 100%;
            margin: 0; padding: 0;
            overflow: hidden;
            background: #1e1e1e;
        }
    </style>
</head>
<body>
    <div id="container"></div>
    <script src="monaco/min/vs/loader.js"></script>
    <script>
        require.config({ paths: { 'vs': 'monaco/min/vs' } });
        require(['vs/editor/editor.main'], function () {
            window.editor = monaco.editor.create(
                document.getElementById('container'), {
                    value: '-- LInjector Script\n',
                    language: 'lua',
                    theme: 'vs-dark',
                    fontSize: 14,
                    automaticLayout: true,
                    minimap: { enabled: false },
                    scrollBeyondLastLine: false
                }
            );
        });

        // Helper functions callable from C#
        function getScript() {
            return window.editor.getValue();
        }
        function setScript(val) {
            window.editor.setValue(val);
        }
        function clearScript() {
            window.editor.setValue('');
        }
    </script>
</body>
</html>

Tab System

LInjector's tab system is optimized to cap RAM usage at ~1 GB even with 40+ tabs open.

// TabSystem.cs — Example pattern for managing script tabs
public class ScriptTab
{
    public string Name { get; set; }
    public string Content { get; set; }
    public TabPage TabPage { get; set; }

    public ScriptTab(string name, string content = "")
    {
        Name = name;
        Content = content;
    }
}

public class TabManager
{
    private readonly List<ScriptTab> _tabs = new List<ScriptTab>();
    private readonly TabControl _tabControl;
    private int _activeIndex = 0;

    public TabManager(TabControl tabControl)
    {
Полный SKILL.md на GitHub

Установить linjector-luau-script-ide в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл linjector-luau-script-ide?

Open-source Luau/Lua script IDE and executor built as a Windows Forms C# application with Monaco editor integration

Как установить скилл linjector-luau-script-ide?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл linjector-luau-script-ide запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить linjector-luau-script-ide с