شعار Hof Cp Button

Hof Cp Button

مؤسسة
openreachtech
hof-cp-button

Use when adding a clickable action trigger in a repo that consumes @openreachtech/furo-vue — "submit button", "primary button", "icon button", "loading button", "delete action button". Routes to FuroButton.

نظرة عامة

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

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

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

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

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

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

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

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

التثبيت

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

FuroButton

Atom-layer action trigger. It is not a form-control value component — it has no parcel.value and no v-model contract. It exposes a variant/size visual system, disabled/loading interaction states, and an asChild composition mode for merging button behavior onto another element (e.g. an anchor or a dropdown-menu trigger). Its only contract with the outside world is the native click event.

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

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 a menu of multiple actions behind a single trigger → use hof-cp-dropdown-menu (its default trigger slot is already FuroButton-styled; don't nest a separate FuroButton inside it unless overriding the trigger content).
  • You need a floating tooltip/panel anchored to a trigger → use hof-cp-popover.
  • You need a modal/drawer opened from a click → use hof-cp-dialog for the panel itself; FuroButton is still the right choice for the element that opens it.
  • You need a toggle that holds boolean state (pressed/unpressed, checked/unchecked) rather than firing a one-shot action → use hof-cp-checkbox-toggle or hof-cp-toggle-group.
  • You need an inline value editor, not an action → use hof-cp-editable-field.

Props

PropTypeDefaultNotes
parcelFuroButtonParcel | nullnullFuro behavior object. The only public prop; HTML attributes pass through.

parcel fields

FieldTypeDefaultNotes
variantFuroButtonVariant'default'Visual style preset. Six variants exist: default, secondary, destructive, outline, ghost, link.
sizeFuroButtonSize'default'Size preset. Four sizes exist: default, sm, lg, and a square icon size.
disabledbooleanfalseDisables interaction; also respects a fallthrough disabled attribute. With asChild, it is bound on the child.
loadingbooleanfalseShows the loading slot and blocks the click emit.
asChildbooleanfalseMerge props and behavior onto a single child element, disabled and type included.
type'button' | 'submit' | 'reset''button'Native button type. With asChild, it is bound on the child.

Events

EventPayloadFires when
clickButtonEmitPayloadUser activates the button. Not fired while disabled or loading.

Slots

SlotDescription
defaultButton label or icon content.
loadingCustom spinner in the loading overlay (default: ph:circle-notch).

Usage

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

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

<template>
  <FuroButton
    :parcel="{ variant: 'destructive', loading: context.isDeleting }"
    @click="context.onClickDelete({ payload: $event })"
  >
    Delete
  </FuroButton>

  <FuroButton
    :parcel="{ variant: 'outline', size: 'sm', disabled: context.isSubmitDisabled() }"
    type="submit"
  >
    Save changes
  </FuroButton>
</template>

With asChild composition onto an anchor:

vue
<template>
  <FuroButton :parcel="{ variant: 'link', asChild: true }">
    <a href="/help">Get help</a>
  </FuroButton>
</template>

asChild: the attribute contract

The slot child is rendered as the element itself and receives disabled, type, aria-disabled, aria-busy, class and every other fallthrough attribute.

asChild: a disabled child stays active

While disabled or loading is true, FuroButton withholds its click emit and nothing else. The child keeps its tab stop and its default action, so a "disabled" <a href>, RouterLink or NuxtLink still navigates. Render a link that must not navigate without its href or to.

Appearance

The outline variant's border reads --color-input, the stronger of the library's two border tiers. The loading spinner stops under prefers-reduced-motion: reduce, while loading still blocks the click emit.

Rules (per project conventions)

  • FuroButton is an action trigger, not a form-control — it carries no parcel.value and there is no v-model:value to wire up. Its only emit contract is click, which fires a ButtonEmitPayload and is suppressed automatically while disabled or loading are true.
  • Never import the underlying headless primitive — only the public FuroButton export.
  • Keep the decision of what a click actually does (submit a form, call a Submitter, navigate) in the page/component Context as a named method (e.g. onClickDelete); the template should only forward $event to it.
  • With parcel.asChild, pass an element, or a component that binds $attrs on its root. Never rely on disabled to stop an asChild link from navigating.
  • 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 Button؟

Use when adding a clickable action trigger in a repo that consumes @openreachtech/furo-vue — "submit button", "primary button", "icon button", "loading button", "delete action button". Routes to FuroButton.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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