Logo di Hof Cp Dialog

Hof Cp Dialog

Organizzazione
openreachtech
hof-cp-dialog

Use when building a modal, a confirm/destructive-action prompt, or a side panel, in a repo that consumes @openreachtech/furo-vue — "modal", "confirmation dialog", "are you sure prompt", "side panel", "delete confirmation". Routes to FuroDialog, FuroAlertDialog, FuroDrawer.

Panoramica

Pubblicato daopenreachtech
Repositoryhora-skills-ort-furo
Nome della skillhof-cp-dialog
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 Dialog 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-dialog
  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-dialog .claude/skills/hof-cp-dialog
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Hof Cp Dialog 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 Dialog 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 Dialog 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à.

FuroDialog / FuroAlertDialog / FuroDrawer

Three organism-layer overlays that block or partially block the page, each for a different job. FuroDialog is the general-purpose modal (or non-modal, via parcel.modal: false) with header/body/footer regions and a close button — use it for forms, detail views, or any freeform modal content. FuroAlertDialog is a narrower, purpose-built confirmation prompt: no close button, outside-click never dismisses, and it ships built-in confirm/cancel buttons (with a destructive tone) — use it specifically when you need the user to make an explicit yes/no decision (e.g. delete confirmation). FuroDrawer is an edge-anchored sliding panel (left/right/top/bottom) with optional drag handle, swipe-to-dismiss, and snap points — use it for persistent side panels, mobile sheet-style UI, or content too long/wide for a centered modal. All three share the same title / description / busy / initialFocus / closeOnEscape keys in their parcel.

  • Layer: organism
  • Import: import { FuroDialog, FuroAlertDialog, FuroDrawer } from '@openreachtech/furo-vue'
  • Manifest entry: node_modules/@openreachtech/furo-vue/public/furo-vue/components.json → components[].name === 'FuroDialog' / 'FuroAlertDialog' / 'FuroDrawer'

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

When NOT to use

  • Small, click-anchored floating panel that doesn't need to block the page (inline edit, action panel) → use hof-cp-popover (FuroPopover), not a non-modal FuroDialog.
  • Simple hover/focus hint text → use hof-cp-popover (FuroTooltip).
  • A menu of discrete actions anchored to a trigger → use hof-cp-dropdown-menu.
  • Toast-style transient feedback (success/error message, not a decision) → use hof-cp-toast.
  • Inline expand/collapse of content within the page flow (not an overlay) → use hof-cp-collapsible.
  • Need a plain "yes/no" without a destructive tone but the decision is trivial and low-stakes — FuroAlertDialog is still correct; don't reach for FuroDialog + hand-rolled footer buttons just to avoid it, since FuroAlertDialog already encodes the "block until decided" behavior (no close button, no outside-click dismiss).

Props

All three take a single parcel prop — no other props.

ComponentPropTypeDefaultNotes
FuroDialogparcelFuroDialogParcel | nullnullReactive behavior object.
FuroAlertDialogparcelFuroAlertDialogParcel | nullnullReactive behavior object.
FuroDrawerparcelFuroDrawerParcel | nullnullReactive behavior object.

parcel fields

FuroDialog

FieldTypeDefaultNotes
openboolean—Controlled open state. When omitted, the dialog manages its own state.
disabledbooleanfalseDisables the trigger.
modalbooleantruefalse renders without the overlay scrim and keeps the page interactive.
titlestring | nullnullHeading text. Provide a title (or the title slot) for accessibility.
descriptionstring | nullnullSub-heading text below the title.
closeTextstring'Close'Accessible label for the built-in close button.
closeOnOutsideClickbooleantruefalse ignores overlay / outside-click dismissal.
closeOnEscapebooleantruefalse ignores the Escape key.
size'sm' | 'default' | 'lg' | 'fullscreen''default'Content width variant. fullscreen fills the viewport.
busybooleanfalseWhile true, all dismissal is blocked — use during async work.
initialFocusstring | nullnullCSS selector (scoped to the content) of the element to focus on open.

FuroAlertDialog

FieldTypeDefaultNotes
openboolean—Controlled open state. When omitted, the dialog manages its own state.
disabledbooleanfalseDisables the trigger.
titlestring | nullnullHeading text. Provide a title (or the title slot) for accessibility.
descriptionstring | nullnullSub-heading text below the title.
confirmTextstring'Confirm'Label for the built-in confirm button.
cancelTextstring'Cancel'Label for the built-in cancel button.
tone'default' | 'destructive''default'destructive renders the confirm button with the destructive variant.
closeOnEscapebooleantruefalse ignores the Escape key.
size'sm' | 'default' | 'lg''default'Content width variant.
busybooleanfalseWhile true, dismissal is blocked and the action buttons are disabled (confirm shows a loading state).
initialFocusstring | nullnullCSS selector (scoped to the content) of the element to focus on open. When unset, the cancel button is focused.

FuroDrawer

FieldTypeDefaultNotes
openboolean—Controlled open state. When omitted, the drawer manages its own state.
disabledbooleanfalseDisables the trigger.
modalboolean | 'trap-focus'truetrue: overlay + focus trap + scroll lock. 'trap-focus': focus trapped, page interactive. false: fully non-modal.
titlestring | nullnullHeading text. Provide a title (or the title slot) for accessibility.
descriptionstring | nullnullSub-heading text below the title.
closeTextstring'Close'Accessible label for the built-in close button.
closeOnOutsideClickbooleantruefalse ignores overlay / outside-click dismissal.
closeOnEscapebooleantruefalse ignores the Escape key.
side'left' | 'right' | 'top' | 'bottom''right'Edge the panel docks to, slides in from, and is swiped toward to dismiss.
size'sm' | 'default' | 'lg' | 'fullscreen''default'Cross-axis extent: width for left/right, height for top/bottom. fullscreen fills the docking axis.
snapPointsArray<number | string> | nullnullPreset resting positions: fractions 0–1, pixels > 1, or '148px'/'30rem' strings.
activeSnapPointnumber | string | nullnullControlled active snap point. When set, the parent owns it (update:activeSnapPoint).
sequentialSnapbooleanfalsetrue snaps one point at a time; false snaps to the nearest by distance.
swipeToOpenbooleanfalseRenders an edge grab strip so the panel can be swiped open from closed.
dragHandlebooleanfalseRenders a drag handle (grab indicator) on the docked edge.
busybooleanfalseWhile true, all dismissal is blocked — use during async work.
initialFocusstring | nullnullCSS selector (scoped to the drawer content) of the element to focus on open.

Events

ComponentEventPayloadFires when
FuroDialogupdate:openbooleanOpen state changed — enables v-model:open.
FuroDialogopen:change{ open: boolean }Open state changed (semantic form).
FuroAlertDialogconfirm—The confirm action was chosen.
FuroAlertDialogcancel—The cancel action was chosen (button or Escape).
FuroAlertDialogupdate:openbooleanOpen state changed — enables v-model:open.
FuroAlertDialogopen:change{ open: boolean }Open state changed (semantic form).
FuroDrawerupdate:openbooleanOpen state changed — enables v-model:open.
FuroDraweropen:change{ open: boolean }Open state changed (semantic form).
FuroDrawerupdate:activeSnapPointnumber | string | nullActive snap point changed — enables v-model:activeSnapPoint.
FuroDrawersnap:change{ snapPoint: number | string | null }Active snap point changed (semantic form).

Slots

FuroDialog

SlotDescription
triggerOptional element that opens the dialog, rendered via as-child. Omit when opened via controlled open.
titleOverrides the heading (falls back to parcel.title).
descriptionOverrides the description (falls back to parcel.description).
default (scoped: { close })Dialog body content. Receives a close() slot prop to dismiss from inside.
footer (scoped: { close })Footer region. Receives a close() slot prop so action buttons can dismiss the dialog.
closeContent of the built-in close button (defaults to ✕).

FuroAlertDialog

SlotDescription
triggerOptional element that opens the dialog, rendered via as-child. Omit when opened via controlled open.
titleOverrides the heading (falls back to parcel.title).
descriptionOverrides the description (falls back to parcel.description).
defaultOptional body content rendered between the heading and the footer.
footer (scoped: { confirm, cancel })Overrides the built-in confirm / cancel buttons. Receives confirm() and cancel() slot props.

FuroDrawer

SlotDescription
triggerOptional element that opens the drawer (rendered via as-child). Omit when opened via controlled open or swipe-to-open.
titleOverrides the heading (falls back to parcel.title).
descriptionOverrides the description (falls back to parcel.description).
default (scoped: { close })Drawer body content. Receives a close() slot prop to dismiss from inside.
footer (scoped: { close })Footer region (e.g. action buttons). Receives a close() slot prop.
closeContent of the built-in close button (defaults to ✕).

Close button size

Before 1.5.0From 1.5.0
FuroDialog and FuroDrawer built-in close buttonFixed at 1.75rem wide and tall in the component's CSSReads --size-close-button-medium, which defaults to 1.75rem, 28px
Override from the appDeclaring the token changes nothing, because the component never reads itRedefine the token, and the button follows

From 1.5.0, an app raises the button to a larger touch target by overriding the token as /hof-lib-tokens describes, never the dialog's CSS. The token holds one value in both themes, so put it on :root, either unlayered or in @layer app:

css
:root {
  --size-close-button-medium: 2.5rem;
}

FuroAlertDialog has no close button, so the token does not touch it.

Fallthrough attributes

class and style compose onto the root. Every other attribute you write on the component (id, aria-*, data-*) is dropped and reaches no element.

Usage

vue
<script>
import {
  FuroDialog,
  FuroAlertDialog,
  FuroDrawer,
} from '@openreachtech/furo-vue'

export default {
  components: {
    FuroDialog,
    FuroAlertDialog,
    FuroDrawer,
  },
}
</script>

<template>
  <FuroDialog
    v-model:open="context.isEditDialogOpen"
    :parcel="{ title: 'Edit member', busy: context.isSubmitting }"
  >
    <template #trigger>
      <button type="button">
        Edit
      </button>
    </template>

    <template #default="{ close }">
      <MemberEditForm @submitted="close()" />
    </template>
  </FuroDialog>

  <FuroAlertDialog
    v-model:open="context.isDeleteConfirmOpen"
    :parcel="{
      title: 'Delete this member?',
      description: 'This action cannot be undone.',
      tone: 'destructive',
      busy: context.isDeleting,
    }"
    @confirm="context.onConfirmDelete()"
    @cancel="context.onCancelDelete()"
  />

  <FuroDrawer
    v-model:open="context.isFilterDrawerOpen"
    :parcel="{ side: 'right', title: 'Filters', dragHandle: true }"
  >
    <template #default>
      <FilterForm @apply="context.onApplyFilters({ payload: $event })" />
    </template>
  </FuroDrawer>
</template>

Rules (per project conventions)

  • All three use parcel + v-model:open for open/close state — this is the 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. FuroDrawer also supports v-model:activeSnapPoint.
  • None of the three follow the form-control (parcel.value) contract — they are visibility/overlay components, not inputs.
  • FuroAlertDialog is not a generic modal: it has no update:open-driven close button and no outside-click dismissal by design. Its real contract is the confirm / cancel events — always handle both, and do the actual destructive action (e.g. the delete mutation) inside the confirm handler in the page/component Context, never inline in the template.
  • Never import the underlying headless primitives (reka-ui's DialogRoot, etc.) — only the public FuroDialog / FuroAlertDialog / FuroDrawer exports.
  • Keep business logic (what happens on confirm/cancel/close, what data the dialog body submits) in the page/component Context, 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.

Domande frequenti

Cosa fa la skill IA Hof Cp Dialog?

Use when building a modal, a confirm/destructive-action prompt, or a side panel, in a repo that consumes @openreachtech/furo-vue — "modal", "confirmation dialog", "are you sure prompt", "side panel", "delete confirmation". Routes to FuroDialog, FuroAlertDialog, FuroDrawer.

Perché usare Hof Cp Dialog su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Hof Cp Dialog è 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 Dialog 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-dialog. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Hof Cp Dialog?

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

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

La skill IA Hof Cp Dialog è 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 👇