Logo van Hof Cp Editable Field

Hof Cp Editable Field

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

Overzicht

Uitgeveropenreachtech
Repositoryhora-skills-ort-furo
Skillnaamhof-cp-editable-field
Sterren
32
Forks
0
Meegeleverde bestanden
Alleen instructies
LicentieApache-2.0
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door openreachtech op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Hof Cp Editable Field in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-editable-field
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die 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 na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Hof Cp Editable Field in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Hof Cp Editable Field automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Hof Cp Editable Field niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Veelgestelde vragen

Wat doet de AI-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.

Waarom Hof Cp Editable Field gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Hof Cp Editable Field bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Hof Cp Editable Field in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-editable-field. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Hof Cp Editable Field gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Hof Cp Editable Field gebruiken?

Zoveel als je wilt. Je kunt Hof Cp Editable Field gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Hof Cp Editable Field gratis?

Ja. Deze skill is door openreachtech op GitHub gepubliceerd onder de licentie Apache-2.0. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇