Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

inertia-table

Skill by vitodeploy

Guides an AI assistant to build, modify, or migrate backend-driven data tables in Vito4 using forjedio/inertia-table. It is for developers creating listing pages with sorting, search, pagination and row actions.

  • Score 83
  • 3.3k stars
  • AGPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install inertia-table

Built from the published package, never by AI.

git clone --depth 1 https://github.com/vitodeploy/vito /tmp/vito && mkdir -p ~/.claude/skills && cp -r /tmp/vito/.claude/skills/inertia-table ~/.claude/skills/inertia-table

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install inertia-table in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an AI assistant to build, change, or migrate data tables in the Vito4 codebase using the forjedio/inertia-table package. Tables are defined once in a PHP Table class that sets columns, default sorting, search fields and pagination. The table is then rendered with the InertiaTable React component. The source says the PHP class is the source of truth, so column configuration should not be duplicated on the frontend.

The skill covers column types, PHP enums, custom React cell components, query hooks and common gotchas. It is aimed at developers working on Vito4 who add listing pages or want to move from the legacy DataTable component. The source says to skip pure UI tables with hardcoded rows that have no backend query.

Written from the project's SKILL.md and checked against it.

What it can do

  • Table class generationRuns php artisan make:table to create a Table class under app/Tables/ for a given model.
  • Column definitionsDefines text, badge, enum, boolean, date, link, copyable and custom component columns in one PHP class.
  • Sorting and searchSortable columns update the URL, and search runs across fields listed in searchable(), including relation fields.
  • PaginationSupports full paginate() with totals and lighter simplePaginate() for pages that do not need a total count.
  • Multiple tables per pageUses identifier() so each table on one page gets its own URL parameters.
  • Row actionsPasses an actions render prop to InertiaTable for per-row buttons such as edit and delete.
  • Custom cell componentsRenders a React component in a column after registering it with registerCellComponent on the frontend.
  • Query hooksAdds beforeQuery and afterData hooks to change queries or rows without subclassing the table.
  • Legacy migration guidanceAdvises when to keep the legacy DataTable and when to move a table to InertiaTable.

What you need

  • Laravel project (Vito4)
  • Inertia.js v2 with @inertiajs/react
  • React frontend
  • PHP
  • Node.js and npm for the build step

Try asking

  • Create a ServerTable with name, provider and status columns, searchable by name.
  • Migrate the legacy DataTable on the sites page to InertiaTable.
  • Add a BadgeColumn for status and a row action to edit each server.

Good to know

  • Search uses LIKE %term% with OR across the listed fields.
  • make:table will not overwrite an existing file, so the file must be deleted first to regenerate it.
  • Dot-notation columns get a prefixed name in the row payload, so the dotted path cannot be used from the frontend.
  • The source says type checking confirms prop shape but not rendered behaviour, so UI checks need a browser.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/inertia-table/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md12 KB

Alternatives to inertia-table

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

inertia-table: common questions

Can I search across related models with forjedio/inertia-table?

Yes. Add the relation column with dot notation, such as provider.name, and list that field in searchable(). The source says the trait builds the join-aware LIKE clauses.

Should I replace the legacy DataTable in Vito4?

The source says to keep DataTable for small or cosmetic changes. For new tables or non-trivial behaviour such as sort, search, badges or enums, it recommends InertiaTable.

How do I show a custom component in a table cell?

Use ComponentColumn::create in PHP with a component name, then call registerCellComponent with the same name in app.tsx before render. The component receives row, value and column.

How do I install inertia-table?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is inertia-table free?

The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.

Is inertia-table safe to use?

It scores 83 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to inertia-table?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

inertia-table Install

Add to stack

Loading.