Logo de Hof Cp Editable Field

Hof Cp Editable Field

Organização
openreachtech
hof-cp-editable-field

Use when building an inline click-to-edit value display in a repo that consumes @openreachtech/furo-vue — "inline edit", "click to edit", "edit in place", "edit this cell without a form". Routes to FuroEditableField.

Visão geral

Publicado poropenreachtech
Repositóriohora-skills-ort-furo
Nome da habilidadehof-cp-editable-field
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 Editable Field 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-editable-field
  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-editable-field .claude/skills/hof-cp-editable-field
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Hof Cp Editable Field 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 Editable Field 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 Editable Field 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á.

FuroEditableField

Molecule-layer inline read-to-edit field: it shows a preview surface, opens an editor on activation (double-click, focus, or a visible Edit trigger), and commits or cancels the draft. It defaults to a FuroTextField editor, but the #editor slot can host any other atom (number field, select, checkbox, file input) for cases where the edited value isn't plain text. Unlike the single-line/multi-line text controls, it owns its own preview-vs-edit lifecycle and does not use v-model:value — the parent is required to update parcel.value after a commit-value event.

  • Layer: molecule
  • Import: import { FuroEditableField } from '@openreachtech/furo-vue'
  • Manifest entry: node_modules/@openreachtech/furo-vue/public/furo-vue/components.json → components[].name === 'FuroEditableField'

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

  • The value is always in edit mode (a normal form field, no preview state) → use hof-cp-text-field or hof-cp-textarea directly instead.
  • You need a persistent labeled field wrapper (label/hint/error) around a normal input → use hof-cp-control-block.
  • You need a floating panel/tooltip anchored to a trigger that isn't about editing a value → see hof-cp-popover.
  • The interaction is picking a date/time rather than an arbitrary value → use hof-cp-date-time.
  • You need a menu of discrete actions, not a value editor → use hof-cp-dropdown-menu.

Props

PropTypeDefaultNotes
parcelFuroEditableFieldParcel | nullnullFuro behavior and forwarded edit-lifecycle keys. The only public prop; attributes pass through.

parcel fields

FieldTypeDefaultNotes
valueFuroEditableValue—Committed value. The parent should update this after commit-value.
invalidbooleanfalsePassed to the default FuroTextField; use #editor for custom invalid UI.
disabledbooleanfalseAlso respected from the fallthrough disabled attribute.
requiredbooleanfalseAlso respected from the fallthrough required attribute.
readonlybooleanfalseForwarded to the root.
placeholderstring | { edit: string, preview: string }fallthrough or emptyDefault text editor placeholder.
emptyPreviewTextstring'---'Shown when the value is empty and no #preview slot is provided.
showActionsbooleanfalseShow the Edit trigger and enable the action-button row.
showEditingbooleanfalseOn mount, sets the internal editing flag used for editor positioning.
showUndoChangebooleanfalseShow the undo control when the committed value diverges from the mount snapshot.
collisionBoundaryHTMLElement | Ref<HTMLElement | null> | null—Bounding rect for editor collision; the viewport is used when omitted.
activationMode'dblclick' | 'focus' | 'none'—Primitive-forwarded: how the preview enters edit mode.
submitMode'blur' | 'enter' | 'both' | 'none'—Primitive-forwarded: when the primitive auto-submits the draft.

Events

EventPayloadFires when
commit-valueEditableEmitPayloadOn successful submit and on undo. $event.value is the committed value.
update-editing-stateEdittingStateThe editing lifecycle state: 'edit', 'cancel', or 'submit'.

There is no update:value event in the manifest — do not wire v-model:value onto this component; it does not exist.

Slots

SlotDescription
previewUsed when the value is not empty; overrides the default preview text. Scoped props: root props + committedValue, draftValue, updateDraftValue, undoChange.
editorReplaces the default FuroTextField; hosts custom atoms. Same scoped props as preview.
edit-triggerCustom edit trigger (as-child when provided). Same scoped props as preview.
submit-triggerInside the editor actions; visible while editing. Same scoped props as preview.
cancel-triggerInside the editor actions; visible while editing. Same scoped props as preview.
undo-triggerShown when showUndoChange and the value changed since mount. Same scoped props as preview.

A consumer id does not land

An id written on <FuroEditableField> 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

vue
<script>
import {
  FuroEditableField,
} from '@openreachtech/furo-vue'

export default {
  components: {
    FuroEditableField,
  },
}
</script>

<template>
  <FuroEditableField
    :parcel="{
      value: form.nickname,
      invalid: context.hasNicknameError(),
      showActions: true,
      showUndoChange: true,
    }"
    placeholder="Enter a nickname"
    @commit-value="context.onCommitNickname({ payload: $event })"
  />
</template>

With a custom #editor slot for a non-text control:

vue
<template>
  <FuroEditableField
    :parcel="{ value: form.status, showActions: true }"
    @commit-value="context.onCommitStatus({ payload: $event })"
  >
    <template #editor="{ draftValue, updateDraftValue }">
      <FuroSelect
        :parcel="{ value: draftValue, options: context.statusOptions }"
        @update:value="updateDraftValue"
      />
    </template>
  </FuroEditableField>
</template>

Rules (per project conventions)

  • This component does not follow the v-model:value form-control contract — the manifest has no update:value event. Pass the current value through parcel.value and update that same source-of-truth property yourself inside a Context method bound to commit-value (e.g. onCommitNickname); do not attempt v-model:value.
  • Never import the underlying headless primitive — only the public FuroEditableField export.
  • Keep commit/validation/undo-decision logic in the page/component Context, not inline in the template — the template should only call a Context method from @commit-value.
  • 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 Editable Field faz?

Use when building an inline click-to-edit value display in a repo that consumes @openreachtech/furo-vue — "inline edit", "click to edit", "edit in place", "edit this cell without a form". Routes to FuroEditableField.

Por que usar Hof Cp Editable Field no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Hof Cp Editable Field é 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 Editable Field 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-editable-field. 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 Editable Field?

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 Editable Field?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Hof Cp Editable Field 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 Editable Field é 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 👇