Logo de Ux Selection Controls

Ux Selection Controls

Organização
Uxcel-Lab
ux-selection-controls

Projete ou avalie controles de seleção: escolha o controle certo (caixa de seleção, botão de opção, botão de alternância, menu suspenso, controle deslizante ou seletor) para cada escolha e aplique boas práticas de rotulagem, alinhamento e estados. Acione esta habilidade quando o usuário pedir para criar ou avaliar caixas de seleção, botões de opção, botões de alternância, menus suspensos, controles deslizantes, filtros por faixa ou perguntar “qual controle devo usar?”.

Add to TypingMind

Visão geral

Publicado porUxcel-Lab
Repositórioproduct-skills
Nome da habilidadeux-selection-controls
Estrelas
35
Forks
8
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por Uxcel-Lab no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Ux Selection Controls no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/Uxcel-Lab/product-skills/tree/main/ux/components/selection-controls
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Uxcel-Lab/product-skills.git /tmp/product-skills
mkdir -p .claude/skills
cp -r /tmp/product-skills/ux/components/selection-controls .claude/skills/ux-selection-controls
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Ux Selection Controls em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Ux Selection Controls automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Ux Selection Controls não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Selection Controls Skill

How this skill behaves (read first)

This is a generative skill. The default failure mode is wrong-control selection: a dropdown for 3 options, a toggle for something that needs a Submit, radio buttons restyled as squares, a slider where precision matters. The control is determined by the structure of the choice (how many options, how many selectable, immediate vs. deferred effect) — not by looks. This skill gates:

  1. Establish the choice structure — that mostly decides the control; styling questions come second.
  2. Apply the always-true core — conventional shapes, interactive labels, clear alignment, defaults.
  3. Surface the context-dependent decisions (dropdown alternatives, slider variants, preset ranges) with trade-offs.

Then it hands off to ux-heuristics-audit, ux-accessibility-audit, ux-aesthetics-audit, and ux-microcopy-audit for validation.


Step 0 — Establish the choice structure

Four questions essentially pick the control:

  • How many options can the user select? One → radio buttons. Several (or zero) → checkboxes. Exactly on/off → toggle or standalone checkbox.
  • Does the choice take effect immediately or after submit? Immediate (settings, filters that live-update) → toggle switch / slider. Deferred until a Submit/confirm → checkbox or radio.
  • How many options are there? ≤5 → show them all (radio/checkboxes — visible options beat hidden ones). Long lists → dropdown with auto-suggest search, or text input.
  • Is the value a point/range on a scale? Approximate feel (volume, brightness, price band) → slider. Exact value matters → text input (or slider + linked input box).

Also establish platform — mobile changes alignment (switches right, labels left), touch-target demands, and picker choice (input picker for distant dates like birthdates; calendar picker for dates within ~a year).


The always-apply core (correct for almost every case)

Keep conventional shapes — they're load-bearing

  • Square = checkbox, circle = radio, rounded rectangle = switch. Restyle colors, borders, shadows freely; never the fundamental shape — users decide how to interact based on it.
    • ❌ Round checkboxes "for brand consistency" ✅ Square boxes with a checkmark; circles only for radios
  • Uniform control sizes within a group. Varying sizes subtly biases users toward options — guidance must stay transparent, not manipulative.
  • Indeterminate state for parent checkboxes in nested lists: empty = none, horizontal line = some, checkmark = all selected. Nest sub-options indented under their parent rather than flattening everything.

Labels do the heavy lifting

  • Labels are clickable/tappable — the whole label + control area activates the option (pointer cursor on desktop, comfortable touch area on mobile).
  • Start with the keyword, cut the rest. No questions, no ambiguity. For switches, the label states what happens when it's on — test by reading the label aloud + "on/off": ❌ "Do you want notifications?" ✅ "Email notifications"
  • ~14px label size, quieter than body text but readable; margin between control and label tight enough that pairing is never ambiguous.

Align for scanning

  • Vertical, single-column, left-aligned lists — easier to follow, matches left-edge scanning. Horizontal layouts only with generous spacing so label-control pairing stays obvious.
  • Controls before labels (LTR): faster successive clicking and a predictable pattern.
  • Multi-line labels: align the control with the first line of text; wrapped lines align with the line above (bullet-point style).
  • Subheads align with the controls, not the label text.
  • Mobile switches: switch right-aligned, label left-aligned.

Defaults and states

  • Required radio groups always have a default selected — prevents the "no option selected" error; base the default on the most common real choice.
  • Toggles take effect immediately and always have a default value. If the action needs review + Submit, it isn't a toggle — use a checkbox.
  • Standalone checkbox for a single opt-in (terms, newsletter) — never pre-checked for consent-type choices (→ dark-patterns territory).

Sliders (when the value is a range or feel)

  • Anatomy: track, thumb (big enough touch target — motor disabilities, older users), filled portion, min/max labels (essential for non-obvious units like price/time), value display that a finger doesn't cover.
  • Changes apply immediately — no Apply button; that's the slider's entire advantage.
  • Continuous slider for by-feel values (volume, brightness); ticks + auto-snapping when only discrete values are valid; dual thumbs for ranges (price filters); add a linked text input when users may need precision.
  • Recognizable thumb style and enough spacing between adjacent sliders to prevent accidental adjustments.
  • RTL locales: sliders run right-to-left.

The context-dependent decisions (surface, don't auto-apply)

DecisionApply whenAvoid / adapt whenDefault recommendation
Dropdown vs. visible optionsLong lists (countries) — saves space; add auto-suggest + frequent options on top≤5 options (hides choices, adds interaction cost)Radio/checkboxes up to ~5; searchable dropdown beyond
Toggle vs. checkboxImmediate-effect settings → toggleChoices reviewed and submitted together → checkboxDecide by effect timing, never by looks
Slider vs. preset rangesDesktop / precision-tolerant users → sliderMobile/on-the-go: tap-friendly presets ("Under $50," "$100–200")Offer presets where popular ranges are known; slider for custom
Slider vs. radio/dropdownGenuine range with many valuesFew distinct options or exact values requiredIf options are countable on one hand, don't use a slider
Histogram sliderData context helps the choice (price distribution à la Airbnb)Data adds noise, not signalPlain dual slider unless the distribution informs the decision
Picker type (mobile dates)Input picker + mask for distant dates (birthdate); calendar picker within ~a year (booking)Calendar pickers for birthdates (endless scrolling); nested dropdownsMatch picker to date distance
Default selection (radios)Required fields; research-backed most-common optionDefaults that steer toward a paid/consent choice (→ dark-patterns)Default to the genuinely most common option
Video-style slidersMedia scrubbing — preview thumbnail, clickable thumb, keyboard shortcutsStandard form contextsOnly for timeline navigation

Validate the result (orchestration)

Hand-offs name each lens by its installable skill name. Invoke one only if that skill is installed; if it isn't, this skill's own core already carries these rules — proceed without it rather than blocking.

After generating or revising, hand the result to the audit lenses rather than declaring it done. These are candidate lenses — posture is set by docs/orchestration-policy.md, or route the whole thing through ux-design-review. Here, heuristics, microcopy, and dark-patterns are Tier A (auto-run); accessibility, aesthetics, and mobile-responsiveness are Tier B (offered) — under an existing design system aesthetics is suppressed and accessibility narrows to usage; mobile-responsiveness applies only on mobile. If the user invoked this skill for one specific thing, respect that scope.

  • ux-heuristics-audit (Tier A) — match to mental models (effect timing vs. control type), consistency, error prevention (defaults, snapping).
  • ux-accessibility-audit (Tier B — offer; narrow under a design system) — touch-target sizes (thumbs, checkboxes), keyboard operability, label-control association, contrast of small control glyphs.
  • ux-aesthetics-audit (Tier B — offer; suppress under a design system) — alignment rhythm, spacing, whether restyled controls stayed recognizable.
  • ux-microcopy-audit (Tier A) — label phrasing (keyword-first, on-state wording for switches), group subheads.
  • ux-dark-patterns-audit (Tier A) — when defaults or pre-selections steer consent, payment, or data-sharing choices: sizing bias, pre-checked opt-ins, steering defaults.
  • ux-mobile-responsiveness-audit (Tier B — offer; applies only on mobile) — when the context is mobile: switch alignment, picker choice, thumb targets.

If the audits surface a conflict, resolve back toward the primary task: the user should grasp the choice structure at a glance and select without errors.


Common do/don't patterns

❌ Don't✅ Do
Dropdown for 3 payment methodsRadio buttons — all options visible, one tap
Toggle that only applies after "Save"Checkbox + Submit; toggles = immediate effect
Round checkboxes / square radios for styleConventional shapes; restyle color and borders only
Label as a question ("Want emails?")Keyword-first on-state label ("Email notifications")
Only the tiny control square is clickableWhole label + control activates the option
Required radio group with nothing selectedResearch-based default pre-selected
Slider for choosing 1 of 4 plansRadio buttons; sliders are for ranges/feel
Slider with an Apply buttonImmediate effect — that's the point of a slider
Price filter with no min/max labelsMin/max shown; dual thumbs; presets for mobile
Pre-checked consent checkbox as a "default"Unchecked consent; defaults prefill facts, not decisions (→ dark-patterns)
Ship without checkingHand off to heuristics + accessibility + aesthetics + microcopy

Source lessons (Uxcel)

Perguntas frequentes

O que a habilidade de IA Ux Selection Controls faz?

Projete ou avalie controles de seleção: escolha o controle certo (caixa de seleção, botão de opção, botão de alternância, menu suspenso, controle deslizante ou seletor) para cada escolha e aplique boas práticas de rotulagem, alinhamento e estados. Acione esta habilidade quando o usuário pedir para criar ou avaliar caixas de seleção, botões de opção, botões de alternância, menus suspensos, controles deslizantes, filtros por faixa ou perguntar “qual controle devo usar?”.

Por que usar Ux Selection Controls no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Ux Selection Controls é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Ux Selection Controls no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/Uxcel-Lab/product-skills/tree/main/ux/components/selection-controls. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Ux Selection Controls?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Ux Selection Controls?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Ux Selection Controls com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Ux Selection Controls é gratuita?

Sim. A habilidade é publicada no GitHub por Uxcel-Lab sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇