شعار Hof Cp Checkbox Toggle

Hof Cp Checkbox Toggle

مؤسسة
openreachtech
hof-cp-checkbox-toggle

Use when building a boolean control in a repo that consumes @openreachtech/furo-vue — "checkbox", "agree to terms checkbox", "on/off switch", "toolbar toggle button", "instant setting switch". Routes to FuroCheckbox, FuroToggle.

نظرة عامة

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

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

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

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

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

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

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

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

التثبيت

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

FuroCheckbox and FuroToggle

Two boolean-control atoms with different intents. FuroCheckbox is for form fields where the user marks a box as part of a larger submission (agree to terms, select rows, indeterminate "select all") — it supports an indeterminate third visual state and integrates with FuroControlBlock for labels/errors like any other field. FuroToggle is a pressed/unpressed button for instant, self-contained on/off actions (toolbar buttons, inline settings switches) built on a headless toggle primitive with aria-pressed / data-state semantics — it is not meant to sit inside a validated form and has no invalid/required concept. Pick FuroCheckbox when the boolean is a field of a form; pick FuroToggle when it's a standalone switch whose effect applies immediately.

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

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

  • Grouped, mutually-exclusive or multi-select toolbar buttons → use hof-cp-toggle-group instead of wiring multiple FuroToggle by hand.
  • Needs a label / hint / error message around it → wrap in FuroControlBlock (see hof-cp-control-block), don't hand-roll a <label>.
  • Picking a value from a list rather than a plain boolean → use hof-cp-select.
  • A momentary action trigger (submit, delete, open dialog) rather than a persistent on/off state → use hof-cp-button.

Props

ComponentPropTypeDefaultNotes
FuroCheckboxparcelFuroCheckboxParcel | nullnullFuro behavior object. The only public prop; HTML attributes pass through.
FuroToggleparcelFuroToggleParcel | nullnullReactive data object holding the pressed value, variant, size, and disabled flag.

parcel fields

FuroCheckbox

FieldTypeDefaultNotes
valueFuroCheckboxValue—Controlled checked state. Presence of this key (Object.hasOwn) enables controlled mode.
indeterminatebooleanfalseWhen true, shows the [-] indicator; value still reflects the checked boolean.
invalidbooleanfalse.invalid class plus aria-invalid on the checkbox root.
disabledbooleanfalseDisables interaction; also respects a fallthrough disabled attribute.
requiredbooleanfalseForwarded to the root; also respects a fallthrough required attribute.
sizestring'1.125rem'Box width and height; the icon uses 8/9 of the box.

FuroToggle

FieldTypeDefaultNotes
valueboolean—Controlled pressed state. Present means controlled; absent means uncontrolled (starts released).
variant'default' | 'outline''default'default is borderless and fills the accent surface when pressed; outline adds a border.
size'default' | 'sm' | 'lg''default'Control height and padding.
disabledbooleanfalseBlocks interaction; also honored from a fallthrough disabled attribute.

Events

FuroCheckbox

EventPayloadFires when
change-valueCheckboxEmitPayloadFired on each committed toggle from the checkbox root.
update:valueFuroCheckboxValueChecked boolean after a toggle (v-model:value).
update:indeterminatebooleanIndeterminate flag after a toggle (v-model:indeterminate).

FuroToggle

EventPayloadFires when
change-valueToggleEmitPayloadFired on every press / release; wraps a CustomEvent exposing value and the control element.
update:valuebooleanv-model sync of the pressed state.

Slots

  • FuroCheckbox:
    • indicator — checked indicator. Default: ph:check-bold when value is true.
    • indeterminate-indicator — indeterminate indicator. Default: ph:minus-bold when indeterminate.
  • FuroToggle:
    • default (scoped props: { pressed }) — toggle label or icon. pressed reflects the current state for conditional content.

Appearance

The FuroCheckbox box reads --color-input, the stronger of the library's two border tiers. The FuroToggle outline variant reads --color-border, the container tier. To change either edge, override that token from the app side, as the library token skill (hof-lib-tokens) describes.

Usage

vue
<script>
import {
  FuroCheckbox,
} from '@openreachtech/furo-vue'

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

<template>
  <FuroCheckbox
    v-model:value="form.agreedToTerms"
    :parcel="{ invalid: context.hasAgreementError(), required: true }"
  />
</template>

FuroToggle for an instant toolbar switch:

vue
<script>
import {
  FuroToggle,
} from '@openreachtech/furo-vue'

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

<template>
  <FuroToggle
    v-model:value="isBoldActive"
    :parcel="{ variant: 'outline', size: 'sm' }"
    @change-value="context.onToggleBold({ payload: $event })"
  >
    Bold
  </FuroToggle>
</template>

Rules (per project conventions)

  • Pass parcel + use v-model:value (and v-model:indeterminate for FuroCheckbox) — 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 FuroCheckbox / FuroToggle exports.
  • Put the effect of a FuroToggle press (e.g. applying a formatting command, flipping a setting) in the page/component Context's on{Toggle}Change method, 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 Checkbox Toggle؟

Use when building a boolean control in a repo that consumes @openreachtech/furo-vue — "checkbox", "agree to terms checkbox", "on/off switch", "toolbar toggle button", "instant setting switch". Routes to FuroCheckbox, FuroToggle.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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