Logotipo de Hof Cp Toast

Hof Cp Toast

Organización
openreachtech
hof-cp-toast

Use when showing a transient notification in a repo that consumes @openreachtech/furo-vue — "toast notification", "success/error snackbar", "show a saved message", "notify the user after an action". Routes to FuroToast, FuroToaster.

Descripción general

Editoropenreachtech
Repositoriohora-skills-ort-furo
Nombre de la habilidadhof-cp-toast
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 Toast 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-toast
  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-toast .claude/skills/hof-cp-toast
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Hof Cp Toast 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 Toast 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 Toast 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á.

FuroToast / FuroToaster

FuroToast is the controlled toast-stack organism: the parent owns the notification queue in its own reactive array (parcel.toasts) and removes entries itself in response to the dismiss / action events. FuroToaster is a zero-prop wrapper around FuroToast that is mounted once (typically in a layout) and driven imperatively from anywhere in the app through the exported toast helper (toast.show(...), toast.update(...), toast.hide(...), toast.clear(), toast.configure(...)) instead of a parent-owned array. Most pages should reach for FuroToaster + toast; reach for FuroToast directly only when a specific screen must own and render its own notification queue.

  • Layer: organism (both)
  • Import: import { FuroToast } from '@openreachtech/furo-vue'
  • Import: import { FuroToaster, toast } from '@openreachtech/furo-vue'
  • Manifest entry: node_modules/@openreachtech/furo-vue/public/furo-vue/components.json → components[].name === 'FuroToast' / 'FuroToaster'

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

  • A persistent inline validation error under a field → use hof-cp-control-block instead, not a toast.
  • A modal that blocks interaction until the user responds → use hof-cp-dialog instead.
  • A floating panel anchored to a specific trigger element (not a viewport-corner stack) → use hof-cp-popover instead.
  • A progress indicator for a multi-step flow → use hof-cp-stepper instead.

Props

FuroToast

PropTypeDefaultNotes
parcelToastParcel | nullnullReactive behavior object.

FuroToaster

PropTypeDefaultNotes
———FuroToaster takes no props; configure it through toast.configure().

parcel fields

FuroToast

FieldTypeDefaultNotes
toastsArray<ToastEntry>[]The queue, owned by the parent. Render order follows the array; remove an entry on dismiss.
position'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right''bottom-right'Viewport placement.
durationInMillisecondsnumber4000Default auto-dismiss in ms. Per-toast durationInMilliseconds overrides it.
swipeDirection'right' | 'left' | 'up' | 'down'derived from positionSwipe-to-dismiss direction. When unset, it follows the position.
labelstring'Notifications'Prefixes the screen reader announcement of each toast. From furo-vue 1.5.0 it also names the toast region. See Naming the toast region.
hotkeyArray<string> | nullnullKeyboard shortcut to focus the viewport (e.g. ['F8']).
maxVisiblenumber3Caps how many toasts render at once (the most recent). The rest stay queued.

FuroToaster

FuroToaster has no parcel array — it takes no props at all. Configure the underlying viewport (position, duration, maxVisible, richColors, …) with toast.configure({ ... }).

Events

FuroToast

EventPayloadFires when
dismiss{ key }A toast closed (timeout, swipe, or close button). Remove it from your array.
action{ key }The action button was clicked. The toast also dismisses afterward.

FuroToaster

FuroToaster emits no events — it never mutates a parent-owned array. It forwards its internal FuroToast's dismiss / action events into its own ToastQueue singleton instead, which is why the toast helper needs no event wiring from the consumer.

Slots

FuroToast

SlotScoped propsDescription
title{ toast }Overrides a toast's title region (falls back to toast.title).
description{ toast }Overrides a toast's description region (falls back to toast.description).

FuroToaster

FuroToaster declares no slots — customize toast content per call through the fields passed to toast.show({ ... }) (title, description, type, actions, …), not through slot markup.

Naming the toast region

labelBefore 1.5.0From 1.5.0
Announcement of each toastPrefixed with labelPrefixed with label
Accessible name of the region, label set (parcel.label or toast.configure({ label }))The fixed English name Notifications (F8), whatever label holdslabel, with any {hotkey} placeholder filled
Accessible name of the region, label unset (FuroToast or FuroToaster)Notifications (F8)Notifications (F8)
  • In every Notifications (F8) above, a hotkey the app sets takes the place of F8.
  • From 1.5.0, pass label in the app's own language, through parcel.label on FuroToast or toast.configure({ label }) for FuroToaster.
  • A set label replaces the whole default name, hotkey hint included. To keep the hint, write the {hotkey} placeholder into the label, as in label: '通知 ({hotkey})'; the region fills it with the shortcut, F8 unless hotkey says otherwise.
  • On 1.4.0, no parcel key renames the region, so a localized app still exposes the English Notifications (F8). Raising furo-vue to 1.5.0 is the fix.

From 1.5.0 the built-in close button takes its size from --size-close-button-small; before 1.5.0 it is a fixed 1.25rem. Override the token as /hof-lib-tokens describes to reach a larger touch target.

A consumer id does not land

An id written on <FuroToast> is not surfaced in the rendered DOM. Do not hang a <label for>, an aria-* reference, or an E2E hook off it — put it on a wrapper element you own, or on the content you pass through a slot.

Usage

Imperative usage with FuroToaster + toast (mount once, call anywhere):

vue
<!-- layouts/default.vue -->
<script>
import {
  FuroToaster,
} from '@openreachtech/furo-vue'

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

<template>
  <div class="unit-layout">
    <slot />

    <FuroToaster />
  </div>
</template>
vue
<!-- any page/component Context, after a mutation succeeds -->
<script>
import {
  toast,
} from '@openreachtech/furo-vue'

export default class SaveIssuePageContext {
  async onSubmitSave () {
    const key = toast.show({
      title: 'Saving...',
      type: 'loading',
    })

    await this.saveIssue()

    toast.update(key, {
      title: 'Saved',
      type: 'success',
    })
  }
}
</script>

Controlled usage with FuroToast, when a screen must own its own queue:

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

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

<template>
  <FuroToast
    :parcel="{ toasts: context.notificationQueue, position: 'top-right' }"
    @dismiss="context.onDismissNotification({ key: $event.key })"
    @action="context.onNotificationAction({ key: $event.key })"
  />
</template>

Rules (per project conventions)

FuroToast / FuroToaster are not form controls — neither exposes a value parcel field, so there is no v-model:value contract here (unlike FuroTextarea/FuroTextField). Follow these contracts instead:

  • For FuroToast, pass parcel.toasts down from a page/component Context-owned array, and remove the matching entry from that array yourself inside the dismiss (and, where relevant, action) event handler — the component never mutates your array for you.
  • For FuroToaster, never pass props or listen for events — drive it only through the imperative toast.show() / toast.update() / toast.hide() / toast.clear() / toast.configure() helper, called from the page/component Context (e.g. inside an on{Action} method), not inline in the template.
  • Never import the underlying headless primitive directly. ToastQueue is a public export of @openreachtech/furo-vue, but drive toasts through the toast helper (toast.show/update/hide/clear/configure) rather than reaching for ToastQueue directly, unless you specifically need to build a custom queue consumer.
  • 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 Toast?

Use when showing a transient notification in a repo that consumes @openreachtech/furo-vue — "toast notification", "success/error snackbar", "show a saved message", "notify the user after an action". Routes to FuroToast, FuroToaster.

¿Por qué usar Hof Cp Toast en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Hof Cp Toast 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 Toast 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-toast. 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 Toast?

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 Toast?

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

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 👇