شعار Hof Cp Editor

Hof Cp Editor

مؤسسة
openreachtech
hof-cp-editor

Use when building a rich-text editing area in a repo that consumes @openreachtech/furo-vue — "rich text editor", "WYSIWYG field", "comment editor with formatting", "chat composer with mentions". Routes to FuroEditor.

نظرة عامة

الناشرopenreachtech
المستودعhora-skills-ort-furo
اسم المهارةhof-cp-editor
النجوم
32
التفريعات
0
الملفات المرفقة
تعليمات فقط
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها openreachtech على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Hof Cp Editor في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-editor
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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-editor .claude/skills/hof-cp-editor
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Hof Cp Editor في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Hof Cp Editor تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Hof Cp Editor بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

FuroEditor

Rich-text editor organism with a configurable toolbar. It holds controlled HTML content (parcel.value paired with update:value), supports a plain "editor" or bare "plain" appearance, and exposes opt-in hooks for @-mentions (parcel.mention.searchMentions), inline image uploads (parcel.image.uploadImage), file attachments (parcel.attachedFiles), and custom toolbar actions (parcel.toolbar, parcel.actionOverrides, toolbar-start / toolbar-end slots).

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

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

  • Plain multi-line text with no formatting (comment box, description field) → use hof-cp-textarea instead — it's lighter and string-only.
  • A single-line input (name, email, search) → use hof-cp-text-field instead.
  • Needs a label / hint / error message wrapper around it → wrap in FuroControlBlock (see hof-cp-control-block), don't hand-roll a <label>.
  • In-place editing of a single already-displayed value (click to edit, no rich formatting) → use hof-cp-editable-field instead.

Props

PropTypeDefaultNotes
parcelobject | nullnullConfiguration and state.

parcel fields

FieldTypeDefaultNotes
valuestring''HTML content. Controlled — pair with update:value.
placeholderstring''Empty-state placeholder.
readOnlybooleanfalseHides the toolbar and makes content non-editable (keeps the bordered surface).
appearance'editor' | 'plain''editor''plain' renders content as bare text — no toolbar, border, background, or padding.
toolbarArray<Array<string>>defaultToolbar layout as groups of action names; separators sit between groups.
attachedFilesArray<*>[]Attachment records held for the consumer; shape is the consumer's own.
labelsobjectbuilt-inPartial overrides for toolbar tooltips and dialog text.
mention{ searchMentions }absentEnables @-mentions when present. searchMentions is ({ query }) => Promise<Array<{ id, label }>>.
image{ uploadImage }absentEnables inline images when present. uploadImage is ({ file }) => Promise<{ src, alt? }>.
actionOverridesRecord<string, fn>{}Override the click behavior of a built-in control by name.

Events

EventPayloadFires when
update:valuestring (HTML)Content changed (v-model:value).
change-value{ value }Content changed.
commit-value{ value }Editor blurred.
update:attachedFilesArray<*>Attachment list changed (e.g. a removal).
mention:add{ id, label }A mention was inserted.

Slots

SlotScoped propsDescription
toolbar-start{ command, editor }Custom controls prepended to the toolbar.
toolbar-end{ command, editor }Custom controls appended to the toolbar.
attachments{ attachedFiles, remove, isEditable }Render the attachment UI. remove is ({ index }) => void.
footer—Content rendered below the editor (e.g. submit row).

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 {
  FuroEditor,
} from '@openreachtech/furo-vue'

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

<template>
  <FuroEditor
    v-model:value="form.bodyHtml"
    :parcel="{
      placeholder: 'Write a reply...',
      mention: { searchMentions: context.searchMentionCandidates },
      image: { uploadImage: context.uploadEditorImage },
    }"
    @commit-value="context.onCommitReplyBody({ payload: $event })"
  />
</template>

With attachments and a footer submit row:

vue
<template>
  <FuroEditor
    v-model:value="form.bodyHtml"
    v-model:attachedFiles="form.attachedFiles"
    :parcel="{ placeholder: 'Write a comment...' }"
  >
    <template #footer>
      <FuroButton
        @click="context.onSubmitComment()"
      >
        Send
      </FuroButton>
    </template>
  </FuroEditor>
</template>

Rules (per project conventions)

  • Pass parcel + use v-model:value (and v-model:attachedFiles where attachments are used) — this is the one 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.
  • Never import the underlying headless primitive — only the public FuroEditor export.
  • Keep mention search, image upload, and commit/validation logic in the page/component Context (on{Field}Commit, search..., upload... style methods), 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.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Hof Cp Editor؟

Use when building a rich-text editing area in a repo that consumes @openreachtech/furo-vue — "rich text editor", "WYSIWYG field", "comment editor with formatting", "chat composer with mentions". Routes to FuroEditor.

لماذا تستخدم Hof Cp Editor على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Hof Cp Editor عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Hof Cp Editor في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-editor. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Hof Cp Editor؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Hof Cp Editor؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Hof Cp Editor معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Hof Cp Editor مجانية؟

نعم. نشرها openreachtech على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇