.agents/skills/react-template-data-access-endpoint/SKILL.md
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.
npx skillsauth add tkorakas/react-template react-template-data-access-endpointInstall 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 safe endpoint integration with aligned parsing and mocks:
src/data-access/<feature>/<feature>.schema.ts: Zod request/response contractssrc/data-access/<feature>/<feature>.api.ts: exported API function(s) that parse responsesmocks/api.mockoon.json: endpoint and response shape alignmentUse this skill when asked to:
httpClient usage from featuresCollect or infer before coding:
<feature>.schema.ts.<feature>.api.ts using httpClient.~/data-access/<feature>/<feature>.api.httpClient calls from feature files.mocks/api.mockoon.json for endpoint path and response shape./api prefix conventions.pnpm type-check.pnpm build if API changes affect route-level features.Schema strictness:
Function granularity:
Error handling:
<feature>.schema.ts.<feature>.api.ts and returns parsed data.httpClient calls remain for changed flows.pnpm type-check passes.pnpm build passes when affected UI/routes changed.tools
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.
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
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? | | ------------------------------------------------------ | --------------------------