شعار Hof Cp Control Block

Hof Cp Control Block

مؤسسة
openreachtech
hof-cp-control-block

Use when wrapping a form field with a label, hint, or error message in a repo that consumes @openreachtech/furo-vue — "add a label to this field", "show a validation error under the input", "required field marker", "horizontal form layout". Routes to FuroControlBlock.

نظرة عامة

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

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

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

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

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

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

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

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

التثبيت

ثبّت مهارة الذكاء الاصطناعي Hof Cp Control Block في 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-control-block
  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-control-block .claude/skills/hof-cp-control-block
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

FuroControlBlock

Labeled wrapper molecule that frames any single form-field atom with a label, a required marker, and error messages. It is domain-agnostic: the actual control (FuroTextField, FuroSelect, FuroCheckbox, etc.) is passed through its default slot, so FuroControlBlock never knows which atom it wraps and emits no events of its own — the slotted control keeps owning its own change-value / commit-value / update:value contract.

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

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

  • You need the actual input control, not just the label/error frame — pick the atom itself: hof-cp-text-field, hof-cp-textarea, hof-cp-checkbox-toggle, hof-cp-select, hof-cp-date-time.
  • You need a floating tooltip/hint bubble rather than an inline label+error block → use hof-cp-popover.
  • You need an inline "click to edit" affordance rather than a standing labeled field → use hof-cp-editable-field.

Props

PropTypeDefaultNotes
parcelControlBlockParcel | nullnullReactive data object holding the label, control id, error messages, required flag, and orientation.

parcel fields

FieldTypeDefaultNotes
labelstring | nullnullLabel text. When null, no label is rendered.
controlIdstring | nullnullId of the slotted control, rendered as label for. When null, the label has no for.
errorMessagesArray<string>[]Error messages. A non-empty array marks the block invalid and renders one line per message.
requiredbooleanfalseWhen true, renders a required mark (*) after the label.
orientation'vertical' | 'horizontal''vertical'Layout of label vs control. vertical stacks; horizontal places the label beside the control.

Events

None. FuroControlBlock emits nothing — the slotted control owns its own change-value / commit-value / update:value events.

Slots

SlotScoped propsDescription
defaultnoneThe control to frame. Pass the same id as the parcel controlId so label for resolves.

Error announcements

The error list carries role="alert", so a message is announced as it appears. The list has no id and the slot hands out no scoped props, so the block offers no hook for aria-describedby. When the field needs one, render your own message element with an id and bind that id on the control; check the control's skill for where aria-describedby lands.

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

export default {
  components: {
    FuroControlBlock,
    FuroTextField,
  },
}
</script>

<template>
  <FuroControlBlock
    :parcel="{
      label: 'Full name',
      controlId: 'full-name',
      errorMessages: context.fullNameErrorMessages,
      required: true,
    }"
  >
    <FuroTextField
      id="full-name"
      v-model:value="form.fullName"
      :parcel="{ invalid: context.hasFullNameError() }"
    />
  </FuroControlBlock>
</template>

Horizontal orientation:

vue
<template>
  <FuroControlBlock
    :parcel="{
      label: 'Newsletter',
      controlId: 'newsletter-toggle',
      orientation: 'horizontal',
    }"
  >
    <FuroCheckbox
      id="newsletter-toggle"
      v-model:value="form.subscribed"
    />
  </FuroControlBlock>
</template>

Rules (per project conventions)

  • FuroControlBlock is not a form-control itself, so it has no value and no v-model:value contract — pass parcel for label/error/orientation only, and put v-model:value on the slotted control atom instead.
  • Never import the underlying headless primitive — only the public FuroControlBlock export.
  • Compute errorMessages and required in the page/component Context (e.g. a {field}ErrorMessages getter), 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 Control Block؟

Use when wrapping a form field with a label, hint, or error message in a repo that consumes @openreachtech/furo-vue — "add a label to this field", "show a validation error under the input", "required field marker", "horizontal form layout". Routes to FuroControlBlock.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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