Avatar utilizator
SCOOB
Administrator
Administrator
  • Mesaje: 4918
    Membru din: 07 Aug 2024, 18:53
  • Reacții: 122399
  • Mesaje utile: 47
  • Status: Pe aici.. 🤠
    Server: Saga2 - Soon
  • Regat: Jinno
  • [ID Discord]
  • Avatar utilizator
    SCOOB
    Administrator
    Administrator
    *Descriere:

    A skill for AI coding assistants that generates and modifies Metin2 client UI code. It works with screenshots, natural language descriptions, or existing scripts — and outputs correct, production-ready uiscript dicts, root ui*.py classes, and locale string entries.
    Supported Agents

    m2ui works with all major AI coding tools. Each tool picks up the skill through its native integration mechanism:
    05-01-2026, 19-19-23.png
    Quick Install (recommended)

    Paste this to your AI agent:
    Code:
    Install the m2ui skill from https://github.com/martysama0134/m2ui-skill into my project. For Claude Code, register the repo as a marketplace via `/plugin marketplace add <path>` and then `/plugin install m2ui@m2ui` — the repo ships a ready-to-use `.claude-plugin/marketplace.json` so symlinking alone is NOT enough.
    Claude Code

    Claude Code does not auto-discover plugins under ~/.claude/plugins/local/. Plugins must be registered via a marketplace and then installed. This repo ships a ready-to-use marketplace descriptor at .claude-plugin/marketplace.json so the same clone serves as both marketplace and plugin source.

    Step 1 — clone the repo somewhere local:

    # Anywhere on disk; the path doesn't have to be ~/.claude/plugins/local/
    Code:
    git clone https://github.com/martysama0134/m2ui-skill.git /path/to/m2ui-skill
    Step 2 — register the marketplace in Claude Code:
    Code:
    /plugin marketplace add /path/to/m2ui-skill
    Step 3 — install the plugin from that marketplace:
    Code:
    /plugin install m2ui@m2ui
    (The first m2ui is the plugin name; the second is the marketplace name declared in .claude-plugin/marketplace.json.)

    Step 4 — restart Claude Code (or run /reload-plugins) to pick up the slash command and skill. Verify with /help — you should see /m2ui in the slash-command list.

    To upgrade later:
    Code:
    git pull in the cloned dir + restart Claude Code. The marketplace registration persists.


    Cursor / Windsurf / Cline / Copilot

    These agents look for rule files at your project root. Copy the relevant directories from this repo into your Metin2 project:

    # Clone the skill repo
    Code:
    git clone https://github.com/martysama0134/m2ui-skill.git /tmp/m2ui-skill
    # Copy the rule files and reference docs to your project root
    Code:
    cp -r /tmp/m2ui-skill/.cursor /tmp/m2ui-skill/.windsurf /tmp/m2ui-skill/.clinerules your-project/
    cp -r /tmp/m2ui-skill/.github/copilot-instructions.md your-project/.github/
    cp -r /tmp/m2ui-skill/skills your-project/
    Alternatively, add as a submodule at your project root and symlink the rule directories.

    The rule files are thin pointers that tell the agent to read the full reference docs in skills/m2ui/reference/


    Codex

    The Codex plugin is in plugins/m2ui/. Point your Codex configuration to this directory.


    Gemini CLI

    Install as a Gemini extension using gemini-extension.json at the repo root.



    Usage
    In Claude Code

    m2ui exposes both a slash command and a Skill. They reach the same engine — the slash command is a thin entry point that delegates to the skill, which does the actual work. Use whichever feels natural:

    Slash command (discoverable via /help):
    Code:
    /m2ui                              Interactive mode — asks what you want to do
    /m2ui screenshot                   Analyze an attached image, generate matching UI code
    /m2ui talk make a shop window      Describe a UI in plain language, get generated code
    /m2ui script uimovechannel.py      Modify an existing UI file
    /m2ui diagnose uixxx.py            Audit an existing UI file for memory leaks and anti-patterns
    Natural language (the skill auto-activates from context):
    Code:
    use m2ui to make a shop window
    m2ui screenshot: <attach image>
    modify uimovechannel.py with m2ui
    m2ui diagnose uixxx.py
    audit my UI files with m2ui
    The keywords (m2ui, screenshot, diagnose), plus a .py file reference, an attached image, or a plain text description drive auto-detection of the right mode (see Auto-Detection below).
    In Other Agents

    Just describe what you want in natural language. The agent will automatically read the reference docs and follow the m2ui rules:
    "Create a new window with a title bar, three buttons, and a scrollable item list"
    "Add a search bar to the inventory window"
    "Here's a screenshot of a UI from another game — recreate it as Metin2 UI"

    Auto-Detection

    When no explicit mode is specified, the skill auto-detects from your input:
    Image attached — screenshot mode (analyze and replicate)
    "check"/"audit"/"diagnose"/"find bugs" — diagnose mode (audit for anti-patterns)
    References a .py file — script mode (modify existing)
    Text description — talk mode (generate new)
    No input — interactive mode (asks what you want)
    Other info in Readme / rar file.


    Download:
    Conținut: Ascuns
    Reacționează ❤️ la acest mesaj și conținutul se va afișa automat.


    Conținut: Ascuns
    Reacționează ❤️ la acest mesaj și conținutul se va afișa automat.

    Nou Cum descarc de pe TeraBox?

    Afișează detalii Ascunde detalii
    • Este asemănător cu Mega.nz
    • Instalați-vă clientul lor de Download de aici
    • Faceți-vă un cont (vă puteți loga cu Facebook / Google / etc)
    • Nou Dacă nu vreți să descărcați clientul de Download, folosiți acest site
    • Gata! Acum puteți descărca resursele rapid & simplu.

    De ce folosim TeraBox?

    • Este gratuit
    • Primești 1TB de spațiu gratuit la orice cont creat!
    • Este ușor de folosit și varianta premium este foarte ieftină
    • Fișierele nu sunt șterse niciodată
    TeraBox logo
    Comunitatea Metin2 Romania este si pe Discord! :ymcowboy:

    2500+ membri • Chat activ zilnic • Support • Cereri & Resurse

    ► discord.gg/jWxeDSf7HP ◄





    See full signature
    Avatar utilizator
    Diwi c++
    Membru Ucenic
    Membru Ucenic
    Mesaje: 30
    Membru din: 14 Apr 2026, 00:54
  • Reacții: 13
  • Mesaje utile: 1
  • Status: Pierd vremea ^.^
    Server: -
  • Regat: Chunjo
  • [ID Discord]
  • Medalii

    Avatar utilizator
    Diwi c++
    Membru Ucenic
    Membru Ucenic

    Mesaj

    Îl încerc acum, mersi.
    Avatar utilizator
    PepsiZero
    Membru Ucenic
    Membru Ucenic
  • Mesaje: 16
    Membru din: 01 Mar 2025, 00:28
  • Reacții: 89
  • Mesaje utile: 0
  • Status: Pierd vremea ^.^
  • Regat: Chunjo
  • Medalii

    Avatar utilizator
    PepsiZero
    Membru Ucenic
    Membru Ucenic

    Mesaj

    I highly recommend installing this module it makes things much easier for graphic designers.
    Im actually quite impressed by how well it reproduces the system's GUI elements.

    Înapoi la “Resurse utile”

    Discord ID copiat: