Logotipo de Hof Cp Select

Hof Cp Select

Organización
openreachtech
hof-cp-select

Use when picking one or more values from a list in a repo that consumes @openreachtech/furo-vue — "dropdown select", "pick from a list", "searchable dropdown", "typeahead field", "multi-select with search". Routes to FuroSelect, FuroAutocompleteField.

Descripción general

Editoropenreachtech
Repositoriohora-skills-ort-furo
Nombre de la habilidadhof-cp-select
Estrellas
32
Forks
0
Archivos incluidos
Solo instrucciones
LicenciaApache-2.0
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por openreachtech en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Hof Cp Select en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-select
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/openreachtech/hora-skills-ort-furo.git /tmp/hora-skills-ort-furo
mkdir -p .claude/skills
cp -r /tmp/hora-skills-ort-furo/kit/skills/hof-cp-select .claude/skills/hof-cp-select
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Hof Cp Select en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Hof Cp Select automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Hof Cp Select no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

FuroSelect and FuroAutocompleteField

Two molecules for choosing from a list, differing in how the user finds an option. FuroSelect is a plain dropdown: it renders a fixed options array (with optional groups) in a popover and the user picks by clicking/keyboard navigation — no text filtering. FuroAutocompleteField is a text-input-driven combobox: the user types to filter (client-side via localCompare, or against a parent-owned/API-driven list when localCompare: false), with debounced search-keyword emission, optional "select all", and optional "create new option" rows. Use FuroSelect for short, known lists (status, role); use FuroAutocompleteField when the list is long, searched, or fetched asynchronously.

  • Layer: molecule
  • Import:
    • import { FuroSelect } from '@openreachtech/furo-vue'
    • import { FuroAutocompleteField } from '@openreachtech/furo-vue'
  • Manifest entry: node_modules/@openreachtech/furo-vue/public/furo-vue/components.json → components[].name === 'FuroSelect' | 'FuroAutocompleteField'

Read the manifest before writing markup if you need to confirm this information is still current — the library may have added props/events since this skill was written.

When NOT to use

  • Free-form text entry, not a pick from a list → use hof-cp-text-field.
  • A menu of actions to trigger (not a value to store) → use hof-cp-dropdown-menu.
  • A simple boolean choice → use hof-cp-checkbox-toggle.
  • Needs a label / hint / error message around it → wrap in FuroControlBlock (see hof-cp-control-block), don't hand-roll a <label>.
  • Grouped toolbar-style toggle buttons rather than a value-bearing field → use hof-cp-toggle-group.

Props

FuroSelect

PropTypeDefaultNotes
parcelobject | nullnullRoot behavior and Furo fields.
triggerParcelobject | nullnullExtra attributes applied to the trigger part.
portalParcelobject | nullnullAttributes of the portal the option list renders in, such as to or disabled. From furo-vue 1.5.0 only; 1.4.0 accepts the prop and ignores it. See Where the option list renders.
contentParcelobject | nullnullExtra attributes applied to the content part (side-offset defaults to 4).

FuroAutocompleteField

PropTypeDefaultNotes
parcelFuroAutocompleteFieldParcel | nullnullFuro behavior. The only public prop; HTML / form attributes pass through to the root.

parcel fields

FuroSelect

FieldTypeDefaultNotes
valuestring | number | object | nullnullControlled value; an array when multiple. Objects are supported.
defaultValuesame as value—Uncontrolled initial value.
optionsArray<FuroSelectOption>[]Unified list of groups and leaf rows.
invalidbooleanfalseInvalid visual state plus aria-invalid on the trigger.
loadingbooleanfalseLoading state on the trigger; suppresses the empty row.
placeholderstring''Placeholder shown in the value display.
textDirection'toRight' | 'toLeft''toRight'Maps to the root dir (ltr / rtl).
multiplebooleanfalseEnables multi-select on the root.
disabledbooleanfalseDisables the whole control; may also be set as a fallthrough attribute.

FuroAutocompleteField

FieldTypeDefaultNotes
valueFuroAutocompleteOption | FuroAcceptableValue | Array<FuroAutocompleteOption | FuroAcceptableValue> | null—Controlled selection; synced to the internal value, with fallthrough value as fallback.
optionsArray<FuroAutocompleteOption | FuroAcceptableValue>[]List rows (groups and leaves).
placeholderstring'Select an option'Input placeholder.
loadingbooleanfalseInput spinner; filtered list returns empty and the empty state is suppressed.
invalidbooleanfalseRoot invalid class.
disabledbooleanfalseDisables the combobox.
textDirection'toRight' | 'toLeft''toRight'Maps to the primitive's dir (ltr / rtl).
multiplebooleanfalseMulti-select; chips in the anchor.
showClearbooleantrueClear control shown when a value is selected.
localComparebooleantruetrue filters on the client; false uses the parent-owned options.
debounceMillisecondsnumber300Debounce for search-keyword (TimerClerk).
openOnClickbooleantruePassed through to the root.
showSelectAllbooleanfalseMulti only; sentinel select-all row.
selectAllTextstring'Select All'Select-all row label.
emptyTextstring'No options.'Default empty-slot copy.
creatablebooleanfalseShow a create row when the trimmed keyword has no exact label/value match.
createOptionTextstring'Create "{keyword}"'Create-row text template; {keyword} is replaced with the trimmed keyword.
searchKeywordstring—Partial: parent to internal input via watch; no update:search-keyword.
openboolean—Not implemented; the template open uses the internal popover ref.

Events

FuroSelect

EventPayloadFires when
change-valueSelectEmitPayloadFired on selection.
commit-valueSelectEmitPayloadSame gesture as change-value; selection is the commit point.
update:valuestring | number | object | nullPrimary selected value; first selected value for multi-select.

FuroAutocompleteField

EventPayloadFires when
change-valueAutocompleteEmitPayloadSelect option, select-all, clear, or chip remove.
update:valueFuroAutocompleteOption | FuroAcceptableValue | Array<FuroAutocompleteOption | FuroAcceptableValue> | nullSame gesture as change-value; suitable for v-model:value.
search-keywordstringAfter debounce while the popover is open; also '' on clear.
create-optionAutocompleteEmitPayloadSelect the create row (creatable); read the typed value via extractTrimmedSearchKeyword().

Note: FuroAutocompleteField has no commit-value — change-value already fires at the selection point.

Slots

FuroSelect

SlotScoped propsDescription
trigger-content—Value display and trigger icon area.
group{ group, groupIndex }Group label and its child options.
option{ option, optionIndex, group?, groupIndex? }Option row text and indicator.
empty—Shown when options is empty and not loading. Default text: No options.

FuroAutocompleteField

SlotScoped propsDescription
trigger-left—Optional leading anchor content.
trigger-right—Caret icon inside the trigger part.
select-all—Select-all label text (scoped checked / indeterminate / disabled not wired).
group{ group, groupIndex }Group and its children.
group-label{ group, groupIndex }Group header text.
option{ option, optionIndex, group?, groupIndex? }Row and indicator.
option-text{ option, optionIndex }Label text.
empty{ searchKeyword, loading }Shown when the filtered list is empty and not loading; defaults to emptyText.
loading{ searchKeyword }Spinner shown in the list.
create-option{ searchKeyword }createOptionText with {keyword} replaced; shown only when creatable and no exact match.

Fallthrough attributes on FuroSelect

FuroSelect hands every fallthrough attribute except class and style to its state root, which renders no element and binds no attribute it does not read:

AttributeLands on
name, required, disabled, autocomplete, bythe control itself
class, stylethe wrapper
id, aria-label, aria-labelledby, aria-describedby, data-*, title, …nowhere: dropped

The trigger, the <button role="combobox"> a <label for> has to reach, receives only triggerParcel. Put id and aria-* there:

vue
<FuroSelect
  v-model:value="context.formValueReactive.territory"
  name="territory"
  :parcel="{ options: context.extractTerritoryOptions() }"
  :trigger-parcel="{
    id: 'territory-select',
    'aria-describedby': 'territory-error',
  }"
/>

Where the option list renders

Before 1.5.0From 1.5.0
Option listRenders inside the select, next to the trigger in the DOMRenders in a portal at body
portalParcelAccepted and ignoredBound to the portal: to moves it, disabled: true keeps the list inline
Inside FuroDialog or another transformed or clipping ancestorThe ancestor becomes the list's containing block, so the list opens away from its trigger and the ancestor's overflow clips itThe list opens beside its trigger, outside the ancestor
Option row heightFixed at calc(var(--size-input-height) - 0.5rem)Reads --size-option-height, which defaults to the same value

From 1.5.0, send the list somewhere other than body through portalParcel:

vue
<FuroSelect
  v-model:value="form.status"
  :parcel="{ options: context.statusOptions }"
  :portal-parcel="{ to: '#overlay-root' }"
/>
  • A rule that styles the list through an ancestor of the select, such as .order-form .unit-select-content, stops matching from 1.5.0, because the list no longer sits inside that ancestor. Style it through contentParcel.class or the .unit-select-content class alone.
  • On 1.4.0, a select inside FuroDialog shows the clipped, misplaced list, and portalParcel cannot fix it. Raising furo-vue to 1.5.0 is the fix.
  • To raise every option row to a larger touch target from 1.5.0, override --size-option-height as /hof-lib-tokens describes, never the select's CSS.

Usage

vue
<script>
import {
  FuroSelect,
} from '@openreachtech/furo-vue'

export default {
  components: {
    FuroSelect,
  },
}
</script>

<template>
  <FuroSelect
    v-model:value="form.status"
    :parcel="{
      options: context.statusOptions,
      placeholder: 'Select status',
      invalid: context.hasStatusError(),
    }"
  />
</template>

FuroAutocompleteField against a server-driven list:

vue
<script>
import {
  FuroAutocompleteField,
} from '@openreachtech/furo-vue'

export default {
  components: {
    FuroAutocompleteField,
  },
}
</script>

<template>
  <FuroAutocompleteField
    v-model:value="form.assignee"
    :parcel="{
      options: context.assigneeOptions,
      loading: context.isSearchingAssignees,
      localCompare: false,
      placeholder: 'Search assignee',
    }"
    @search-keyword="context.onSearchAssignee({ payload: $event })"
  />
</template>

Rules (per project conventions)

  • Pass parcel + use v-model:value — this is the one documented exception to the project's general no-v-model rule, which applies only to custom in-project components, not to furo-vue library components.
  • Never import the underlying headless primitive — only the public FuroSelect / FuroAutocompleteField exports.
  • Keep option-list fetching, filtering (when localCompare: false), and create-option persistence in the page/component Context (on{Field}SearchKeyword, on{Field}CreateOption style methods), not inline in the template.
  • Put id and aria-* in triggerParcel, the only route to the trigger, and keep name / required / disabled on <FuroSelect> itself.
  • Pass only the parcel keys this skill lists. A component reads the keys it names and ignores the rest, so a mistyped key changes nothing and reports nothing, so check a key against the manifest rather than trusting silence.

Preguntas frecuentes

¿Qué hace la habilidad de IA Hof Cp Select?

Use when picking one or more values from a list in a repo that consumes @openreachtech/furo-vue — "dropdown select", "pick from a list", "searchable dropdown", "typeahead field", "multi-select with search". Routes to FuroSelect, FuroAutocompleteField.

¿Por qué usar Hof Cp Select en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Hof Cp Select está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Hof Cp Select en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-select. TypingMind lee su archivo SKILL.md y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Hof Cp Select?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Hof Cp Select?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Hof Cp Select con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Hof Cp Select?

Sí. openreachtech la ha publicado en GitHub bajo la licencia Apache-2.0. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇