Logo de Building Ui

Building Ui

Communauté
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.

Présentation

ÉditeurMK27MK
Dépôtuxed
Nom de la compétencebuilding-ui
Étoiles
80
Forks
3
Fichiers inclus
13
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont en simple Markdown, et non en code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • 13 fichiers inclus

    Des scripts, des modèles de documents et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par MK27MK sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Building Ui dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Collez l’URL du dossier de la compétence indiquée ci-dessous, puis confirmez.
    https://github.com/MK27MK/uxed/tree/main/skills/building-ui
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter → Via URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet 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
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Building Ui dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Building Ui dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, Building Ui n’est pas lié au modèle pour lequel cette compétence a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

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.

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA 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...

Pourquoi utiliser Building Ui sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Building Ui se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Building Ui dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/MK27MK/uxed/tree/main/skills/building-ui. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Building Ui ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Building Ui ?

Autant que vous le souhaitez. Tant qu’un modèle prend en charge les compétences, vous pouvez utiliser Building Ui avec lui : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Building Ui est-elle gratuite ?

Cette compétence est publiée sur GitHub par MK27MK. Consultez le dépôt pour connaître les conditions de licence. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, modèles de documents ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇