Logo di Hof Cp Toast

Hof Cp Toast

Organizzazione
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.

Panoramica

Pubblicato daopenreachtech
Repositoryhora-skills-ort-furo
Nome della skillhof-cp-toast
Stelle
32
Fork
0
File inclusi
Solo istruzioni
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da openreachtech su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Hof Cp Toast in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-toast
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Hof Cp Toast in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Hof Cp Toast non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Hof Cp Toast non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello 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.

Domande frequenti

Cosa fa la skill 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.

Perché usare Hof Cp Toast su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Hof Cp Toast è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Hof Cp Toast in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-toast. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Hof Cp Toast?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Hof Cp Toast?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Hof Cp Toast: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Hof Cp Toast è gratuita?

Sì. È pubblicata su GitHub da openreachtech con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇