Логотип Hof Cp Toast

Hof Cp Toast

Організація
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.

Огляд

Видавецьopenreachtech
Репозиторійhora-skills-ort-furo
Назва навичкиhof-cp-toast
Зірки
32
Форки
0
Файли в пакеті
Лише інструкції
ЛіцензіяApache-2.0
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Видавець на GitHub: openreachtech. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Hof Cp Toast у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-toast
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Hof Cp Toast в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Hof Cp Toast, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Hof Cp Toast не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

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.

Поширені запитання

Що робить навичка ШІ 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.

Навіщо використовувати Hof Cp Toast у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Hof Cp Toast — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Hof Cp Toast у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-toast. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Hof Cp Toast?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Hof Cp Toast?

Зі скількома забажаєте. У TypingMind ви можете використовувати Hof Cp Toast із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Hof Cp Toast?

Так. На GitHub цю навичку публікує openreachtech за ліцензією Apache-2.0. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇