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ファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    openreachtechがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルHof Cp TableをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-table
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでHof Cp Tableを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にHof Cp Tableを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Hof Cp Tableは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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.

よくある質問

AIスキル「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.

TypingMindでHof Cp Tableを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Hof Cp Tableはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにHof Cp Tableをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-tableを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Hof Cp Tableを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Hof Cp Tableは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもHof Cp Tableを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Hof Cp Table」は無料ですか?

はい。openreachtechがGitHubでApache-2.0ライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇