Logo de Hof Cp Dialog

Hof Cp Dialog

Organização
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.

Visão geral

Publicado poropenreachtech
Repositóriohora-skills-ort-furo
Nome da habilidadehof-cp-dialog
Estrelas
32
Forks
0
Arquivos incluídos
Somente instruções
LicençaApache-2.0
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por openreachtech no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Hof Cp Dialog no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-dialog
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse 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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Hof Cp Dialog em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Hof Cp Dialog automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Hof Cp Dialog não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo 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.

Perguntas frequentes

O que a habilidade de IA Hof Cp Dialog faz?

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.

Por que usar Hof Cp Dialog no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Hof Cp Dialog é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Hof Cp Dialog no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-dialog. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Hof Cp Dialog?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Hof Cp Dialog?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Hof Cp Dialog com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Hof Cp Dialog é gratuita?

Sim. A habilidade é publicada no GitHub por openreachtech sob a licença Apache-2.0. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇