Logo di Hof Cp Editable Field

Hof Cp Editable Field

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

Panoramica

Pubblicato daopenreachtech
Repositoryhora-skills-ort-furo
Nome della skillhof-cp-editable-field
Stelle
32
Fork
0
File inclusi
Solo istruzioni
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da openreachtech su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Hof Cp Editable Field in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-editable-field
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Hof Cp Editable Field in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Hof Cp Editable Field non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Hof Cp Editable Field non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello 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.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Hof Cp Editable Field su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Hof Cp Editable Field è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Hof Cp Editable Field in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-editable-field. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Hof Cp Editable Field?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Hof Cp Editable Field?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Hof Cp Editable Field: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Hof Cp Editable Field è gratuita?

Sì. È pubblicata su GitHub da openreachtech con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇