Agents & OrchestrationSûr100100/100
Global Filtering (TanStack)
Apply globalFilter across eligible columns with globalFilteringFeature, columnFilteringFeature, filteredRowModel, globalFilterFn, and manual server filtering. Load when columns unexpectedly participate or a global filter changes state without changing rows.
ou envoie-le directement à ton agent.
Installer dans ton projet
$ curl -fsSL https://arboristhree.xyz/cli/install-skill.mjs -o /tmp/arboris-install-skill.mjs && node /tmp/arboris-install-skill.mjs global-filtering__tanstack-table__packages-table-core-skills-3dae1d552000TanStack
TanStack/table
Contenu à copier
---
name: global-filtering
description: >
Apply globalFilter across eligible columns with globalFilteringFeature, columnFilteringFeature, filteredRowModel, globalFilterFn, and manual server filtering. Load when columns unexpectedly participate or a global filter changes state without changing rows.
metadata:
origin: TanStack
{ type: sub-skill, library: '@tanstack/table-core', library_version: '9.2.4' }
requires: ['core', 'table-features', 'client-vs-server', 'column-filtering']
sources:
- 'TanStack/table:docs/framework/react/guide/global-filtering.md'
- 'TanStack/table:packages/table-core/src/features/global-filtering'
- 'TanStack/table:examples/react/filters'
---
This skill builds on `core`, `table-features`, `client-vs-server`, and `column-filtering`. Global filtering reuses the column-filtering pipeline.
## Setup
```ts
import {
columnFilteringFeature,
createFilteredRowModel,
filterFn_includesString,
globalFilteringFeature,
tableFeatures,
} from '@tanstack/table-core'
export const features = tableFeatures({
columnFilteringFeature,
globalFilteringFeature,
filteredRowModel: createFilteredRowModel(),
filterFns: { includesString: filterFn_includesString },
})
```
## Core Patterns
```ts
const options = {
globalFilterFn: 'includesString' as const,
getColumnCanGlobalFilter: (column) => column.id !== 'actions',
}
```
Declare eligibility when product rules differ from default primitive-value detection.
## Common Mistakes
### [CRITICAL] Omitting column-filter prerequisite
Wrong: `tableFeatures({ globalFilteringFeature })`
Correct: `tableFeatures({ columnFilteringFeature, globalFilteringFeature, filteredRowModel: createFilteredRowModel() })`
Global filtering depends on column filtering and needs the filtered model for client processing.
Source: `packages/table-core/src/types/TableFeatures.ts#FeatureSlotPrereqs`
### [HIGH] Assuming every column participates
Wrong: `const options = { globalFilterFn: 'includesString' }`
Correct: `const options = { getColumnCanGlobalFilter: column => column.id !== 'actions' }`
Default eligibility uses the first core row and accepts string or number values.
Source: `packages/table-core/src/features/global-filtering/globalFilteringFeature.ts`
### [HIGH] Keeping manual filter local only
Wrong: `table.setGlobalFilter(search); const options = { manualFiltering: true }`
Correct: `const page = await fetchRows({ search }); const options = { data: page.rows, manualFiltering: true }`
Manual filtering bypasses the client model, so the value must drive the server request.
Source: `docs/framework/react/guide/global-filtering.md#manual-server-side-global-filtering`
## API Discovery
Inspect `node_modules/@tanstack/table-core/dist/features/global-filtering/` plus `dist/features/column-filtering/` for shared state and filter functions.Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.
Ce que fait Global Filtering (TanStack)
Applique les pratiques du skill global-filtering__tanstack-table__packages-table-core-skills-3dae1d552000.
Comment utiliser Global Filtering (TanStack)
1
Copie le prompt
Un clic copie le prompt packagé (ou l'envoie à ton agent).
2
L'agent installe le skill
Il ajoute le SKILL.md et ses ressources à ton projet.
3
Activation automatique
Le skill s'active dès que le contexte correspond.
Déclencheurs pour Global Filtering (TanStack)
Dis simplement à ton agent quelque chose comme :
Applique le skill global-filtering__tanstack-table__packages-table-core-skills-3dae1d552000 à cette tâche
Utilise global-filtering__tanstack-table__packages-table-core-skills-3dae1d552000 pour améliorer cette implémentation
Passe en revue ce sujet avec global-filtering__tanstack-table__packages-table-core-skills-3dae1d552000
Skills liés à Global Filtering (TanStack)
Acceleration (Microsoft)
Compare synthetic acceleration options and clearly separate scenario value from forecast commitments.Account Overview (Microsoft)
Create a synthetic Acme account overview and identify evidence that merits seller attention.Acroform Writer (Microsoft)
Use this skill whenever the user wants values written INTO an existing PDF form that lives in the connected SharePoint knowledge source — filling out, completing, populating, or submitting a fillable PDF (application, intake sheet, contract, government form) from data they supply, a spreadsheet row, or the conversation. Triggers include "fill out the job application form", "complete the intake form for [person]", "populate our standard NDA template", and "make this ready to send / non-editable" (flatten). The source form should be found via knowledge search; only ask the user to upload it if knowledge search turns up nothing plausible. different task), and do NOT use it on scanned/image-only PDFs that have no real fillable fields — those need OCR or manual overlay instead, which this skill explicitly detects and reports rather than silently failing.