.agents/skills/react-template-table-feature/SKILL.md
Create or refactor a React template table feature with this repo pattern: <feature>.page.tsx + <feature>.handler.ts + optional <feature>.column.ts, URL-synced state via useTableState, DataTable/Pagination and table helpers from common/ui, centralized data-access, route wiring in common/router.tsx, and locale sync in en/el.
npx skillsauth add tkorakas/react-template react-template-table-featureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
A complete table feature that follows this repository architecture:
src/features/<feature>/<feature>.page.tsx: UI rendering and wiring onlysrc/features/<feature>/<feature>.handler.ts: query state, table state, filter logic, pagination handlerssrc/features/<feature>/<feature>.column.ts (recommended): table column definitionssrc/data-access/<feature>/<feature>.api.ts: API function for the table endpointsrc/data-access/<feature>/<feature>.schema.ts: response schema/parser updatessrc/common/router.tsx: lazy route registration via withSuspense(...)public/locales/en/<namespace>.json and public/locales/el/<namespace>.json: user-facing stringsUse this skill when asked to:
data-accessCollect or infer these before coding:
team-members, /team-members)page, limit, optional filter params)page, limit, total, totalPages)If critical details are missing, ask concise questions before implementation.
src/features/team-members).<feature>.page.tsx.httpClient calls in feature files.src/data-access/<feature>/<feature>.schema.ts.src/data-access/<feature>/<feature>.api.ts.<feature>.handler.ts)useQuery with stable queryKey and queryFn from feature-specific data-access modules.useTableState: filters, page, limit, sorting, and optional row selection.<feature>.column.ts)use<Feature>Columns hook.<feature>.page.tsx)useTranslation(<namespace>) for all user-facing labels.~/common/ui.FiltersPanel, TableChipFilter, TableActionBar, DateRangeSelector.<Outlet /> where required.src/common/router.tsx.withSuspense(Component, key) and preserve route nesting conventions.public/locales/en/<namespace>.jsonpublic/locales/el/<namespace>.jsoncommon: only for truly shared strings.pnpm type-check.pnpm build for route/UI-affecting changes.Server-side vs client-side filtering:
Route placement:
PrivateRoute + AppLayout.PublicRoute + AuthLayout.Feature complexity:
<feature>.page.tsx + <feature>.handler.ts.<feature>.column.ts and folder-local filter utilities.src/data-access/<feature>/<feature>.api.ts and parses via schema.<feature>.page.tsx contains rendering/wiring only.<feature>.handler.ts contains state, query, derived data, and handlers.useTableState is used for URL-synced table state when table behavior is present.<feature>.column.ts when table grows beyond trivial setup.en and el files.pnpm type-check passes.pnpm build passes when route/UI was changed.development
Create or refactor React template form features from simple to advanced using {feature}.page.tsx + {feature}.handler.ts + {feature}.schema.ts with SimpleForm, FormProvider, shared form-fields, React Hook Form + Zod, TanStack Query, centralized data-access, and en/el i18n sync.
tools
Add or refactor API endpoints in this React template by updating feature-scoped <feature>.schema.ts parsers, <feature>.api.ts functions, and mocks/api.mockoon.json while keeping feature code free of direct http-client calls.
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------