Logo vun Vois Components

Vois Components

Communautéit
ommakes
vois-components

Component selection rubrics organized by job-to-be-done. Use after vois-patterns determines structure, before vois-tokens applies tokens. Optionally records each choice via the vois_record_component_choice MCP tool if one is available. Use when deciding between similar components — Dialog vs Drawer, Toast vs Banner, Select vs Combobox, a chart vs a table, etc.

Iwwersiicht

Editeurommakes
RepositorySkills
Skill-Nummvois-components
Stären
21
Forks
0
Matgeliwwert Fichieren
8
LizenzMIT
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.

  • 8 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 ommakes op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Vois Components 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/ommakes/Skills/tree/main/vois-components
  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/ommakes/Skills.git /tmp/Skills
mkdir -p .claude/skills
cp -r /tmp/Skills/vois-components .claude/skills/vois-components
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Vois Components 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 Vois Components automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Vois Components 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.

Vois Component Selection Skill

You are picking specific components from the workspace manifest. This skill answers "which component for this job" — not what structure (that's vois-patterns) and not how to style it (that's vois-tokens).

Read this skill after vois-patterns has determined the container type. If a vois_record_component_choice tool is available in your environment, call it for every component you pick before moving to vois-tokens; if not, just make the selection and move on.

The Quick Reference table below resolves most cases on its own. When it doesn't — ambiguous case, need the full decision tree, or need to justify the choice — read the matching reference file.


Before You Pick a Component

  1. Identify the job-to-be-done — phrase it as a verb plus object: "confirm a destructive action", "show transient feedback", "group related controls"

  2. Find the matching row in Quick Reference, or the matching job in the index below

  3. If ambiguous, read the matching reference file and walk its decision tree

  4. If a vois_record_component_choice tool is available, call it with your selection:

    Tool: vois_record_component_choice
    Arguments:
      job: <the job-to-be-done, one sentence, e.g. "confirm destructive action">
      componentName: <exact component name from the manifest, e.g. "AlertDialog">
      alternativesConsidered: <optional array of component names you ruled out>
      reasoning: <optional one sentence on why you chose this over the alternatives>

    If that tool isn't available, this step is optional telemetry — proceed with your selection.

  5. If no section matches your job and a vois_report_pattern_gap tool is available, call it:

    Tool: vois_report_pattern_gap
    Arguments:
      skillVersion: <this skill's version, from SKILL.md frontmatter>
      userGoal: <what the UI needs to do>
      attemptedFallback: <closest job ID from this skill, e.g. JOB-OVERLAY-INTERACTION>
      reasoning: <what the rubrics don't cover>

    There is no description/closestPathId/gapDescription argument shape on the real tool — use the fields above. If the tool isn't available, just note the gap in your own output and proceed with the closest match.

Note on workspace manifests. These rubrics use standard shadcn/ui component names. Your workspace may extend or rename them — e.g. Banner instead of Alert, DataTable instead of Table. Check your workspace manifest for the exact name; use the rubric logic to make the selection, then record the workspace-specific name.


Quick Reference

JobUseNot
Confirm destructive actionAlertDialogDialog, Toast
Fixed-length one-time codeInputOTPInput
Transient feedback, no action neededToastAlert, Banner
Transient feedback, action requiredAlert (persistent)Toast
Focused overlay, exactly one field anchored to a row/itemPopoverSheet, Dialog
Focused overlay, short taskDialogDrawer, Sheet
Focused overlay, a handful of fields or more, contextual to a list itemSheetDialog, Popover
Group content, interactive itemCarddiv, Surface
Switch between major content areasTabsSegmented Control
Filter a list, 2–4 optionsSegmented ControlTabs
Choose from short listSelectCombobox
Choose from long list / searchComboboxSelect
Search + trigger actionsCommandSelect, Combobox
Short label, no interactionTooltipPopover
Rich content, triggered by clickPopoverTooltip
Immediate-effect binary settingSwitchCheckbox
Form field binary / consentCheckboxSwitch
Page load or content fetchSkeletonSpinner
Action in progressSpinner (inline)Skeleton
Measurable long operationProgressSpinner
True zero stateEmptyState with CTABlank space
Filtered to zero resultsInline message + clearEmptyState
Row-level actionsDropdownMenuContextMenu, Command
Right-click enhancementContextMenuDropdownMenu
2–5 sequential required steps, each fits a page containerStepper (references/stepper.md)Progress, Tabs, Wizard
6+ steps, or a step that needs its own full pageWizardStepper
3+ levels deep, counting HomeBreadcrumbBack link
2 levels deep, counting HomeBack linkBreadcrumb
Simple collection, no sortingListTable
Comparable attributes, < 100 rowsTableDataTable
One headline numberStat tile in a Card (see vois-dataviz)A one-bar chart
Trend, comparison, share, distributionChart: walk the vois-dataviz decision treeA table of raw rows
100+ rows, sortable, bulk actionsDataTableTable
Open a record from a table rowSheet (full page if the record is big)Dialog
Table first loadSkeleton rows under real headersSpinner
Persistent app navigationSidebarDrawer
Contextual tools for selected itemSheet or PanelSidebar, Drawer

Lookalikes: Don't Hand-Build These

Agents often write markup that looks like a component but isn't one. A screen can follow every rule in this skill and still contain one. Before you write markup for any of these, use the component. The full rows (why, rule IDs, evidence, a signal a script can match) are in data/components-rules.json under lookalikes.

Seen in blind builds (vois-eval/lookalike-pass, 40 builds):

If you are about to writeUse instead
A raw <button> with your own focus ring, as a text link, an icon in an input, or a Tooltip or Popover triggerButton: variant="link" for text, variant="ghost" with an icon size and aria-label for icons, asChild as a trigger
Loader2 with animate-spinSpinner
Buttons with role="radio"RadioGroup, or ToggleGroup (single) for a segmented control
Numbered circles joined by linesThe shared Stepper (references/stepper.md)

Not seen, but already forbidden by a rule:

If you are about to writeUse instead
div or span with onClickButton, or a link for navigation
fixed inset-0 backdrop and a centered boxDialog, AlertDialog or Sheet
setTimeout that hides a messageSonner toast
"x" or "×" text as a closeThe Dialog or Sheet close, or a ghost icon Button with aria-label
window.confirm, alert or promptAlertDialog, or Sonner
A colored border-l-4 box with an icon and textAlert with a status role
title="..." as a tooltipTooltip

When the prompt describes how something looks ("a red × in the corner", "a pill with a circle"), pick the component by its job, then style it. The look in a prompt is not the component.

Job Index

data/components-rules.json has the full decision tree (condition → recommended component, including nested thresholds and edge cases) plus every "why not X" rationale, for all 21 jobs — query it by id or number. This is now the only source for this content; the prose reference files it was extracted from have been removed as fully redundant.

Component specs: when a pick has no shadcn component and agents hand-build it, the spec lives in references/. Today that is references/stepper.md (the Stepper that JOB-MULTISTEP-GUIDE picks) and references/motion-morphs.md (the core eight: label and text morph, shared element transfer, number ticker and typed input, icon morph, directional transition, grow-from-trigger, reorder and regroup, status button), references/motion-tray.md (a tray and its lifecycle) and references/motion-context.md (shared element context, chart range change, collapse to indicator, small state changes). Pick the morph with vois-patterns/references/motion.md first.

Source of truth: data/components-rules.json is canonical and, since the prose reference files were removed, the only source for decision-tree content. The Job Index table above is the one place each JOB-* ID is tagged in prose, and each JSON entry's source_file points here.

Job IDJob
JOB-CONFIRM-DESTRUCTIVEJob 1 Confirm destructive action
JOB-TRANSIENT-FEEDBACKJob 2 Transient feedback
JOB-OVERLAY-INTERACTIONJob 3 Focused overlay interaction
JOB-CONTAIN-CONTENTJob 4 Contain a unit of content
JOB-SWITCH-VIEWSJob 5 Switch views / filter
JOB-CHOOSE-FROM-LISTJob 6 Choose from a list
JOB-CONTEXTUAL-INFOJob 7 Contextual info (tooltip/popover)
JOB-TRIGGER-ACTIONJob 8 Trigger an action
JOB-ACCEPT-TEXTJob 9 Accept text input
JOB-BINARY-PREFERENCEJob 10 Binary preference
JOB-LABEL-CONTENTJob 11 Label/categorize content
JOB-REPRESENT-USERJob 12 Represent a user/group
JOB-LOADING-STATEJob 13 Loading state
JOB-EMPTY-CONTENTJob 14 Empty content
JOB-EXPOSE-ACTIONSJob 15 Expose a set of actions
JOB-MULTISTEP-GUIDEJob 16 Multi-step process
JOB-NAVIGATION-POSITIONJob 17 Position in a hierarchy
JOB-DISPLAY-DATAJob 18 Display structured data
JOB-DATA-ENTRYJob 19 Data entry surface
JOB-SECONDARY-CONTENTJob 20 Secondary content / persistent nav
JOB-VISUALIZE-DATAJob 21 Visualize data (hands the form choice to vois-dataviz)

Relationship to Other Skills

Read vois-patterns first. That skill determines the container type — settings page, form, table, dialog. Once you know the structure, come here to pick the specific components that fill it.

vois-dataviz for charts. JOB-VISUALIZE-DATA picks the container (Card, Tabs, filter row, states). The chart form, chart colors, honesty rules and dashboard structure come from vois-dataviz.

Read vois-tokens after. Once components are selected, vois-tokens handles tokens, spacing, animation, and accessibility implementation.

Righter for all copy. Component labels, empty state messages, button text, error copy — all of it goes through righter (which calls vois_get_microcopy first when that tool is available). This skill says nothing about words.

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 Vois Components?

Component selection rubrics organized by job-to-be-done. Use after vois-patterns determines structure, before vois-tokens applies tokens. Optionally records each choice via the vois_record_component_choice MCP tool if one is available. Use when deciding between similar components — Dialog vs Drawer, Toast vs Banner, Select vs Combobox, a chart vs a table, etc.

Firwat Vois Components op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Vois Components 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 Vois Components an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/ommakes/Skills/tree/main/vois-components 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 Vois Components 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 Vois Components benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Vois Components 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 Vois Components gratis?

Jo. De Skill gëtt vum ommakes ënner der Lizenz MIT op GitHub publizéiert. 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 👇