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:
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.Cursor / Windsurf / Cline / Copilot
Codex
Gemini CLI
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-patternsCode:
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 m2uiIn 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:
Other info in Readme / rar file.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)
Download:


la acest mesaj și conținutul se va afișa automat.



