شعار Hof Cp Table

Hof Cp Table

مؤسسة
openreachtech
hof-cp-table

Use when building tabular data with row selection/sorting, plus its page-navigation companion, in a repo that consumes @openreachtech/furo-vue — "data table", "sortable table", "paginated list", "select rows in a table", "page navigation". Routes to FuroTable, FuroPagination.

نظرة عامة

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

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

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

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

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

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

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

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

التثبيت

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

FuroTable / FuroPagination

FuroTable is a slot-based, controlled data-table organism: it takes a columns + rows parcel and renders a native <table>, with controlled sort, row selection, loading/error/empty states, and optional virtual scrolling — it holds no fetch logic itself. FuroPagination is a domain-agnostic page navigation molecule (prev/next + numbered pages, ellipsis collapsing) that knows nothing about FuroTable or GraphQL; it emits which page was picked and the consumer wires that to a refetch. The two are commonly used together: FuroTable even reserves a dedicated pagination slot to host a FuroPagination right below the rows.

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

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

  • Non-tabular list of cards/rows with no columns/sorting needs → a plain v-for list is simpler than forcing it into FuroTable.
  • A single value that toggles between display and edit inline (not a whole table row) → use hof-cp-editable-field.
  • Multi-step progress display, not row data → use hof-cp-stepper.
  • Need a floating panel or hover hint inside a cell → use hof-cp-popover, and put it inside the cell slot rather than rebuilding table markup.
  • Need a modal to confirm a row action (e.g. delete) → use hof-cp-dialog (FuroAlertDialog), triggered from the cell slot's action button.

Props

Both take a single parcel prop — no other props.

ComponentPropTypeDefaultNotes
FuroTableparcelFuroTableParcel | nullnullClosed-set, JSON-serializable table state.
FuroPaginationparcelFuroPaginationParcel | nullnullReactive behavior object.

parcel fields

FuroTable

FieldTypeDefaultNotes
columnsArray<FuroTableColumn>[]Column configuration.
rowsArray<object>[]Raw row records, rendered in the order given.
rowKeystring'id'Field used as each row's unique key.
selectablebooleanfalseShow the selection column and select-all checkbox.
selectedRowKeysArray<string | number> | nullnullControlled selection. null = uncontrolled (table holds its own selection).
sort{ field: string, direction: 'asc' | 'desc' } | nullnullActive sort indicator (controlled).
loadingbooleanfalseRender the loading state.
errorMessagestring | nullnullWhen set, render the error state (takes precedence over loading/empty/rows).
emptyTextstring'No records'Text for the default empty state.
virtualFuroTableVirtual | nullnullWhen set, fixed-height virtual scrolling.
totalRecordsnumber | nullnull (falls back to rows.length)Full dataset size — drives total scroll height in virtual mode.
rowOffsetnumber0Global index of rows[0] — lets rows be a sparse window in virtual mode.
resizablebooleanfalseShow drag handles on column edges.
compactbooleanfalseCompact density — denser rows, tighter padding, smaller text.
gridLinesbooleanfalseVertical borders between columns.

FuroTableColumn is not further broken out in the manifest as its own table; inspecting the component source shows each entry carries at least field and label (label falls back to field when omitted), plus optional align, sortable, and width — confirm current fields against FuroTableContext.js if the manifest doesn't expand this type.

FuroPagination

FieldTypeDefaultNotes
pagenumber | nullnullControlled current page (1-based). When omitted, the component manages its own page.
offsetnumber | nullnullControlled current page as a zero-based record offset. The page is derived via floor(offset / limit) + 1. When both page and offset are set, page takes precedence. Provide only one.
limitnumber20Records per page. Combined with totalRecords to compute the page count.
totalRecordsnumber0Total record count across all pages.
siblingCountnumber2Pages shown on each side of the current page before collapsing into an ellipsis.
showEdgesbooleantrueWhen true, the first and last pages stay pinned with ellipsis gaps. false renders a plain contiguous range.
disabledbooleanfalseDisables the whole control.

Events

FuroTable

EventPayloadFires when
sort:change{ field: string, direction: 'asc' | 'desc' | null }A sortable header is clicked. Cycles asc → desc → null (direction null restores the default order).
selection:change{ selectedRowKeys: Array<string | number> }A row or the select-all checkbox toggles.
update:selectedRowKeysArray<string | number>v-model:selectedRowKeys sync (fires with selection:change).
range:change{ first: number, last: number }Virtual mode only — the visible global row window moved.
row:click{ row: object, rowKey: string | number | null }A data row is clicked. Interactive cell-slot content should @click.stop to opt out.

FuroPagination

EventPayloadFires when
update:pagenumberSelected page changed — enables v-model:page.
page:change{ page: number, offset: number, limit: number }Selected page changed. offset ((page - 1) * limit) and limit are provided so offset/limit data sources can use the payload directly.

Slots

FuroTable

SlotScoped propsDescription
header-cell{ column }Header cell content. Falls back to column.label.
cell{ row, column, value }Cell content. Falls back to the raw cell value.
loading—Loading state content. Falls back to a spinner icon.
empty—Empty state content. Falls back to parcel.emptyText.
error{ message }Error state content. Falls back to parcel.errorMessage.
placeholder{ index }Unloaded virtual row. Falls back to a shimmer skeleton bar.
pagination—Host a FuroPagination here. Empty by default.

FuroPagination

SlotScoped propsDescription
previous—Content of the previous-page button (defaults to a left-caret icon).
next—Content of the next-page button (defaults to a right-caret icon).
ellipsis—Content of the gap marker (defaults to a three-dots icon).
page{ page }Custom content for each page entry. Rendered via as-child, so the slot may supply an anchor for SEO — the click still drives page:change.

Appearance

  • The error row reads --color-destructive-text from furo-vue 1.6.0 and --color-destructive before it. The column-resize bar reads --color-border, the container border tier.
  • FuroTableVirtual takes { itemSize, height, overscan?, endThreshold? }. endThreshold (default 8) is how close to the loaded end a downward scroll must get before more rows are requested.

Usage

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

export default {
  components: {
    FuroTable,
    FuroPagination,
  },
}
</script>

<template>
  <FuroTable
    :parcel="{
      columns: context.memberColumns,
      rows: context.memberRows,
      rowKey: 'id',
      selectable: true,
      selectedRowKeys: context.selectedMemberIds,
      sort: context.activeSort,
      loading: context.isLoadingMembers,
      errorMessage: context.membersErrorMessage,
    }"
    @sort:change="context.onSortChange({ payload: $event })"
    @update:selected-row-keys="context.onSelectionChange({ payload: $event })"
    @row:click="context.onRowClick({ payload: $event })"
  >
    <template #cell="{ row, column, value }">
      <button
        v-if="column.field === 'actions'"
        type="button"
        @click.stop="context.onEditMember({ member: row })"
      >
        Edit
      </button>
      <span v-else>
        {{ value }}
      </span>
    </template>

    <template #pagination>
      <FuroPagination
        v-model:page="context.currentPage"
        :parcel="{ limit: context.pageLimit, totalRecords: context.totalMemberCount }"
        @page:change="context.onPageChange({ payload: $event })"
      />
    </template>
  </FuroTable>
</template>

Rules (per project conventions)

  • Neither component follows the single-value form-control (parcel.value) contract. FuroTable uses parcel.selectedRowKeys + v-model:selectedRowKeys for selection; FuroPagination uses parcel.page
    • v-model:page. Both are the 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 rendering internals — only the public FuroTable / FuroPagination exports.
  • Keep data fetching, sort/selection/page state, and row-action handlers in the page/component Context (e.g. onSortChange, onPageChange); the template only binds parcel and forwards events. FuroTable is presentational and holds no GraphQL, router, or fetch logic of its own — that responsibility belongs to the Context per the parent-component data flow policy.
  • 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 Table؟

Use when building tabular data with row selection/sorting, plus its page-navigation companion, in a repo that consumes @openreachtech/furo-vue — "data table", "sortable table", "paginated list", "select rows in a table", "page navigation". Routes to FuroTable, FuroPagination.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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