Logo: Hof Cp Editable Field

Hof Cp Editable Field

Organisatioun
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.

Iwwersiicht

Editeuropenreachtech
Repositoryhora-skills-ort-furo
Skill-Nummhof-cp-editable-field
Stären
32
Forks
0
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    openreachtech huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Hof Cp Editable Field an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-editable-field
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Hof Cp Editable Field an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Hof Cp Editable Field automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Hof Cp Editable Field net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Hof Cp Editable Field op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Hof Cp Editable Field besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Hof Cp Editable Field an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-editable-field an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Hof Cp Editable Field benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Hof Cp Editable Field benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Hof Cp Editable Field domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Hof Cp Editable Field gratis?

Jo. openreachtech huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇