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でも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    openreachtechがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Hof Cp Toast」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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で使用

TypingMindのチャットでHof Cp Toastを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にHof Cp Toastを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Hof Cp Toastは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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.

よくある質問

AIスキル「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.

TypingMindでHof Cp Toastを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Hof Cp Toastはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにHof Cp Toastをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-toastを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Hof Cp Toastを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Hof Cp Toastで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもHof Cp Toastを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Hof Cp Toast」は無料ですか?

はい。openreachtechがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇