Logotipo de Hof Cp Text Field

Hof Cp Text Field

Organización
openreachtech
hof-cp-text-field

Use when building a single-line text input in a repo that consumes @openreachtech/furo-vue — "text input", "email field", "password field", "number input", "file upload". Routes to FuroTextField, FuroEmailField, FuroPasswordField, FuroNumberField, FuroFileField.

Descripción general

Editoropenreachtech
Repositoriohora-skills-ort-furo
Nombre de la habilidadhof-cp-text-field
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 la petición encaja con la habilidad.

  • 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 Text Field 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-text-field
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → 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-text-field .claude/skills/hof-cp-text-field
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Hof Cp Text Field 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 encaja con la habilidad, 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 Text Field 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 Text Field 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 que encaja con la habilidad, 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á.

FuroTextField and typed variants

Single-line text input atoms. FuroTextField is the plain generic input; FuroEmailField, FuroPasswordField, FuroNumberField, and FuroFileField are typed variants that hard-code the underlying input semantics (type="email", type="password", a numeric spinbutton, type="file") rather than relying on a parent passing a native type attribute onto FuroTextField. Pick the typed variant that matches the data you're collecting instead of FuroTextField type="email" — the typed variants bake in the right payload helpers, ARIA/ validation semantics, and (for number/file) a materially different internal structure that FuroTextField lacks.

  • Layer: atom
  • Import:
    • import { FuroTextField } from '@openreachtech/furo-vue'
    • import { FuroEmailField } from '@openreachtech/furo-vue'
    • import { FuroPasswordField } from '@openreachtech/furo-vue'
    • import { FuroNumberField } from '@openreachtech/furo-vue'
    • import { FuroFileField } from '@openreachtech/furo-vue'
  • Manifest entry: node_modules/@openreachtech/furo-vue/public/furo-vue/components.json → components[].name === 'FuroTextField' | 'FuroEmailField' | 'FuroPasswordField' | 'FuroNumberField' | 'FuroFileField'

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

When NOT to use

  • Multi-line text (comments, descriptions) → use hof-cp-textarea (FuroTextarea) instead.
  • Needs a label / hint / error message around it → wrap in FuroControlBlock (see hof-cp-control-block), don't hand-roll a <label>.
  • Picking a value from a fixed or searchable list rather than typing free text → use hof-cp-select (FuroSelect / FuroAutocompleteField).
  • An in-place edit of an already-displayed value → use hof-cp-editable-field.
  • Date/time entry → use hof-cp-date-time, not FuroTextField with manual formatting.

Props

All five components declare only parcel as a public prop; native HTML attributes pass through as fallthrough attrs.

ComponentPropTypeDefaultNotes
FuroTextFieldparcelFuroTextFieldParcel | nullnullBehavior-controlling props as one object. Native HTML attributes pass through.
FuroEmailFieldparcelFuroEmailFieldParcel | nullnullBehavior-controlling props as one object. Native HTML attributes pass through.
FuroPasswordFieldparcelFuroPasswordFieldParcel | nullnullBehavior-controlling props as one object. Native HTML attributes pass through.
FuroNumberFieldparcelFuroNumberFieldParcel | nullnullThe only declared prop; v-bind spread onto the root plus Furo extensions. Other attributes are read from attrs.
FuroFileFieldparcelFuroFileFieldParcel | nullnullBehavior-controlling props as one object. No value key. Native HTML attributes pass through.

parcel fields

FuroTextField

FieldTypeDefaultNotes
valuestring | number | nullnullControlled value, synced to the internal ref.
invalidbooleanfalseApplies the invalid / error visual state.

FuroEmailField

FieldTypeDefaultNotes
valuestring | nullnullControlled value, synced to the internal ref.
invalidbooleanfalseApplies the invalid / error visual state.

FuroPasswordField

FieldTypeDefaultNotes
valuestring | nullnullControlled value, synced to the internal ref.
invalidbooleanfalseApplies the invalid / error visual state.

FuroNumberField

FieldTypeDefaultNotes
valuenumber | nullnullControlled value, watched and synced into an internal ref.
invalidbooleanfalseApplies the invalid / error visual state and aria-invalid.
minnumber—Smallest value allowed; also reflected on the inner input as the min attribute.
maxnumber—Largest value allowed; also reflected on the inner input as the max attribute.
stepnumber(primitive default)Step for increment and decrement.
stepSnappingboolean—When false, avoids snapping to step increments.
formatOptionsIntl.NumberFormatOptions—Formatting for the displayed value (currency, percent, decimals).
localestring—BCP 47 locale tag for formatting (e.g. 'en-US', 'ja-JP').
inputParcelobject—Props and HTML attributes passed to the input part.
decrementParcelobject—Props passed to the decrement part.
incrementParcelobject—Props passed to the increment part.

FuroFileField

FieldTypeDefaultNotes
invalidbooleanfalseApplies the invalid / error visual state.

Note: FuroFileField has no value field — browsers forbid scripting a file input's value, so selection is read from the event payload instead.

Events

FuroTextField

EventPayloadFires when
change-valueTextFieldEmitPayloadEmitted on every input event (each keystroke).
commit-valueTextFieldEmitPayloadEmitted on blur or Enter key press.
update:valuestring | nullRaw string value emitted alongside change-value and commit-value for v-model:value.

FuroEmailField

EventPayloadFires when
change-valueEmailFieldEmitPayloadEmitted on every input event (each keystroke).
commit-valueEmailFieldEmitPayloadEmitted on blur or Enter key press.
update:valuestring | nullRaw string value emitted alongside the above for v-model:value.

FuroPasswordField

EventPayloadFires when
change-valuePasswordFieldEmitPayloadEmitted on every input event (each keystroke).
commit-valuePasswordFieldEmitPayloadEmitted on blur or Enter key press.
update:valuestring | nullRaw string value emitted alongside the above for v-model:value.

FuroNumberField

EventPayloadFires when
change-valueNumberFieldEmitPayloadEmitted when the model updates: typing, stepping, arrow keys, or wheel.
commit-valueNumberFieldEmitPayloadEmitted on blur of the inner input or on Enter.
update:valuenumber | nullBare number or null emitted alongside change-value and commit-value for v-model:value.

FuroFileField

EventPayloadFires when
change-valueFileFieldEmitPayloadEmitted when the set of selected files changes (native change event).

Note: FuroFileField has no commit-value and no update:value — there is no v-model:value support for this component.

Slots

  • FuroTextField, FuroEmailField, FuroPasswordField, FuroFileField: no slots.
  • FuroNumberField:
    • decrement (scoped props: { value }) — replaces the default decrement icon. Default: ph:minus.
    • increment (scoped props: { value }) — replaces the default increment icon. Default: ph:plus.

Appearance

This component's control boundary reads --color-input, the stronger of the library's two border tiers. If your app pinned a lighter edge, override --color-input from the app side — see the library token skill (hof-lib-tokens).

Usage

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

export default {
  components: {
    FuroEmailField,
    FuroPasswordField,
  },
}
</script>

<template>
  <FuroEmailField
    v-model:value="form.email"
    :parcel="{ invalid: context.hasEmailError() }"
    placeholder="you@example.com"
    @commit-value="context.onCommitEmail({ payload: $event })"
  />

  <FuroPasswordField
    v-model:value="form.password"
    :parcel="{ invalid: context.hasPasswordError() }"
    placeholder="Password"
    @commit-value="context.onCommitPassword({ payload: $event })"
  />
</template>

FuroNumberField and FuroFileField example:

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

export default {
  components: {
    FuroNumberField,
    FuroFileField,
  },
}
</script>

<template>
  <FuroNumberField
    v-model:value="form.quantity"
    :parcel="{ min: 1, max: 99, step: 1 }"
  />

  <FuroFileField
    :parcel="{ invalid: context.hasAttachmentError() }"
    accept="image/png,image/jpeg"
    @change-value="context.onChangeAttachment({ payload: $event })"
  />
</template>

Rules (per project conventions)

  • Pass parcel + use v-model:value where the field supports it (FuroTextField, FuroEmailField, FuroPasswordField, FuroNumberField) — 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. FuroFileField has no value/update:value — read the selected files from the change-value payload instead of trying to bind v-model:value.
  • Never import the underlying headless primitive — only the public FuroTextField / FuroEmailField / FuroPasswordField / FuroNumberField / FuroFileField exports.
  • Put commit/validation logic in the page/component Context (on{Field}Commit style method), not inline in the template.
  • 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 Text Field?

Use when building a single-line text input in a repo that consumes @openreachtech/furo-vue — "text input", "email field", "password field", "number input", "file upload". Routes to FuroTextField, FuroEmailField, FuroPasswordField, FuroNumberField, FuroFileField.

¿Por qué usar Hof Cp Text Field en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Hof Cp Text Field 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 Text Field 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-text-field. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Hof Cp Text Field?

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 Text Field?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Hof Cp Text Field 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 Text Field?

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 el directorio

Crea ya tu propio espacio de trabajo con IA

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