Logo Hof Cp Table

Hof Cp Table

Tổ chức
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.

Tổng quan

Nhà phát hànhopenreachtech
Kho mãhora-skills-ort-furo
Tên kỹ nănghof-cp-table
Sao
32
Bản fork
0
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được openreachtech công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Hof Cp Table trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-table
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Hof Cp Table trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Hof Cp Table ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Hof Cp Table với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI Hof Cp Table làm được gì?

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.

Vì sao nên dùng Hof Cp Table trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Hof Cp Table là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Hof Cp Table trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-table. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Hof Cp Table?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Hof Cp Table với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Hof Cp Table với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Hof Cp Table có miễn phí không?

Có. Kỹ năng này được openreachtech phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇