Logo vun Building Ui

Building Ui

Communautéit
MK27MK
building-ui

Design and change UI through an interactive shell. Turn a spec and a low-fidelity sketch, or an existing component, into a high-fidelity mock.html in the project's own style, iterate on it with the user, then implement it. Or open the shell over the running app, where the user inspects, comments on and restyles real elements, and the changes go straight into code and tests. Use when the user invokes /building-ui, asks to mock up a new component or UI element from a sketch, asks to change a component through a mock, asks to implement an approved mock, or asks to review or change the UI of the running app.

Iwwersiicht

EditeurMK27MK
Repositoryuxed
Skill-Nummbuilding-ui
Stären
80
Forks
3
Matgeliwwert Fichieren
13
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 13 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum MK27MK op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Building Ui an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/MK27MK/uxed/tree/main/skills/building-ui
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MK27MK/uxed.git /tmp/uxed
mkdir -p .claude/skills
cp -r /tmp/uxed/skills/building-ui .claude/skills/building-ui
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Building Ui an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Building Ui automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Building Ui net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Building UI

The shell works in two modes: App and Mock. Read only the file for the phase you are in, and the sections below that it points to.

Mock

To work on a component in isolation. Use it for a new component, or when the user explicitly asks to change a component:

PhaseWhenFile
MockNo mock exists for the component yet.mock.md
ReviewA mock exists and the user has not approved it.review.md
ImplementThe user approved the mock and asks to implement it.implement.md

The flow pauses when the user approves the mock. Implement the component only when the user asks.

App

For changes to UI elements the running app already shows: app.md.

Pick mock mode for a new component or when the user explicitly asks to change a component, and app mode for any other change to existing UI. If a request fits both, ask.

Conventions

notes.mjs is node scripts/notes.mjs. It reads and updates the notes for both modes: run it with no arguments for its commands. Prefer it to reading or editing the notes JSON yourself. <notes> is the notes file of the mode you are in.

Paths starting with assets/ or scripts/ are relative to this skill's folder.

Open the shell

Once the mode's file has started scripts/serve.mjs in the background, which prints its URL on port 4870 or the next free one:

  1. Open the page the mode's file names in the browser. Prefer the built-in browser pane when it is available.
  2. Check once that the shell's toolbar shows and the console has no errors from /__mock/ routes or, in mock mode, from mock.html. Do no further visual QA.
  3. End the turn. Do not explain the shell in chat: its ? button, at the bottom left, shows how to use it.

Each time the user hands back the turn

  1. Run notes.mjs pending <notes>. It lists the edits, renames and comments left to handle.
  2. Edits. Write each style edit into the element's CSS, and each text edit into the matching instance. Then run notes.mjs clear <notes> edits <id>….
  3. Renames. Apply each rename where the mode's file says.
  4. Comments. Address each listed comment. A change in look (style, layout, spacing, wording) is an edit: make it now, with no rule. A change in behaviour is a rule: add it with notes.mjs rule <notes> <id> "<text>", or, only when it has several readings that lead to different changes, add the one you would pick with --assumption, so the user can confirm it. When you cannot tell what a comment targets, ask in the reply and change nothing. Then reply with notes.mjs reply <notes> <id> "<text>": say what changed, or ask a question. Never resolve comments: only the user resolves them.
  5. Rules. Treat every rule the user wrote, changed or confirmed as spec, and make the UI obey it. Only the user turns an assumption into spec: never change a rule's source yourself, unless the user settles it in a comment or in chat.
  6. Apply any changes the user asked for in chat.
  7. The page reloads itself when the notes or the UI change. If the user has unsaved edits, the page shows a toast instead; tell them to reload before they edit again, because a stale page overwrites your notes on its next save.
  8. Report in chat only what the comment replies do not already say: changes the user asked for in chat, questions, and blockers. Do not restate your replies.

Repeat until the user is done, then stop the server and finish as the mode's file says.

Rename in code

An element's name in code is its component, its CSS-module class as stem.local, a plain class, or its data-ui value. Rename the class in its stylesheet and every use, or the data-ui value. A new stem means renaming the stylesheet file and its imports, and the component too when they share the name. A renamed component also renames its folder to the new name in kebab-case, and its files the way the project names them.

Implement rules test-first

  1. Implement an element only when all its rules are spec. Leave elements with assumptions for the user to confirm in the shell: tell the user that assumptions are left to confirm there, and do not list or ask about them in chat.
  2. Run the test-first loop with the project's TDD skill. If the project has none, stop before writing code and ask the user with AskUserQuestion, offering three options:
    • Stop for now (Recommended): end the turn so the user can add a TDD skill.
    • Continue with TDD, without a skill: write each test and watch it fail before you implement it.
    • Continue without TDD: implement first, then write the tests.
  3. Each new or changed rule becomes at least one test, and each removed rule a test that the behaviour is gone.
  4. In code, use the project's token wherever a token has exactly the value you would write.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Building Ui?

Design and change UI through an interactive shell. Turn a spec and a low-fidelity sketch, or an existing component, into a high-fidelity mock.html in the project's own style, iterate on it with the user, then implement it. Or open the shell over the running app, where the user inspects, comments on and restyles real elements, and the changes go straight into code and tests. Use when the user invokes /building-ui, asks to mock up a new component or UI element from a sketch, asks to change a component through a mock, asks to implement an approved mock, or asks to review or change the UI of th...

Firwat Building Ui op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Building Ui besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Building Ui an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/MK27MK/uxed/tree/main/skills/building-ui an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Building Ui benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Building Ui benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Building Ui domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Building Ui gratis?

De Skill gëtt vum MK27MK op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇