Logotipo de Hof Cp Dialog

Hof Cp Dialog

Organización
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.

Descripción general

Editoropenreachtech
Repositoriohora-skills-ort-furo
Nombre de la habilidadhof-cp-dialog
Estrellas
32
Forks
0
Archivos incluidos
Solo instrucciones
LicenciaApache-2.0
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por openreachtech en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Hof Cp Dialog en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-dialog
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese 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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Hof Cp Dialog en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Hof Cp Dialog automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Hof Cp Dialog no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu 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.

Preguntas frecuentes

¿Qué hace la habilidad de 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.

¿Por qué usar Hof Cp Dialog en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Hof Cp Dialog está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Hof Cp Dialog en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-dialog. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Hof Cp Dialog?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Hof Cp Dialog?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Hof Cp Dialog con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Hof Cp Dialog?

Sí. openreachtech la ha publicado en GitHub bajo la licencia Apache-2.0. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇