building-web-features
/building-web-features
Adds or changes a TanStack Start web feature following the thin-routes + features/<name>/{page,components,hooks} layout, the Eden client, and shadcn conventions. Use when creating or editing a page in apps/web.
- Author
- SyahrulBhudiF ↗
- Repository
- ai-interview ↗
- Licence
- MIT
- Last repository change
- 29.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 29.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Adds or changes a TanStack Start web feature following the thin-routes + features/<name>/{page,components,hooks} layout, the Eden client, and shadcn conventions. Use when creating or editing a page in apps/web.
Original author description
Adds or changes a TanStack Start web feature following the thin-routes + features/<name>/{page,components,hooks} layout, the Eden client, and shadcn conventions. Use when creating or editing a page in apps/web.
How it works
- Layout
- Steps for a new feature/page
- Rules that are easy to miss
SKILL.md preview
---
name: building-web-features
description: Adds or changes a TanStack Start web feature following the thin-routes + features/<name>/{page,components,hooks} layout, the Eden client, and shadcn conventions. Use when creating or editing a page in apps/web.
---
# Building web features
TanStack Start + Query + Form + shadcn. Read `apps/web/AGENTS.md` first — it is
the authoritative rule set.
## Layout
- `src/routes/` holds **only** file-route definitions (`createFileRoute`) that
import their page from `features/`. No page/component/logic lives in `routes/`.
- `src/features/<name>/` holds everything for one page:
```text
features/<name>/
├── page.tsx the route's page — composes sections
├── components/ presentational JSX (uses hooks)
└── hooks/ data/form logic (TanStack Query/Form, Eden calls)
```
Reference: `features/interviews/` (page + `components/interview-form.tsx`,
`hooks/use-interviews.ts`).
## Steps for a new feature/page
1. Create `features/<name>/` with `hooks/`, `components/`, `page.tsx`.
2. Put data fetching in a hook (`useQuery` + Eden from `lib/eden.ts`); decode the
Eden response at the boundary with the shared Effect Schema
(`Schema.decodeUnknownSync(ApiSuccessSchema(...))(data).data`).
3. Put form logic in a hook (`@tanstack/react-form`).
4. Put presentation in `components/`, importing shadcn from
`@repo/components/<name>` (new-york, Tailwind v4).
5. In `routes/`, add a thin route that imports the page:
```tsx
import { createFileRoute } from "@tanstack/react-router";
import { SomePage } from "@/features/<name>/page";
export const Route = createFileRoute("/path")({ component: SomePage });
```
## Rules that are easy to miss
- `routes/` stays thin — no JSX beyond the route definition.
- One feature per route/page; cross-cutting UI goes in `src/components/` or
`@repo/components`.
- Eden client calls are same-origin through the Vite proxy in dev.
- Reuse the shared Effect Schemas for decoding — never inline duplicate
validation.
Versions
The database has no other skills named building-web-features.
Database snapshot: 13.11.2026 · package version d131c5f3aa28 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 4 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100tanstack-start-shadcn-tailwind
Guidelines for building TanStack Start applications Triggers on: **/*.ts, **/*.tsx, **/*.js, **/*.jsx, **/*.css, **/*.scss, **/*.json - 95frontend
Frontend integration for the scaffolded React + TanStack Start (SPA) app on Supabase — client setup, RPC calls, TanStack Query and TanStack Router, TanStack Form + Zod forms, shadcn/ui primitives, the PageShell/PageHeader page anatomy, route guards and permission gating,… - 100react-shadcn
shadcn/ui for React with TanStack Form. Use when building UI components, forms, dialogs, tables, toasts, or accessible components. - 100yapyak-tanstack-start
TanStack Start: route files, route-component naming, loaders, route-scoped hooks, `.server.ts`, server functions. Use when editing route files or server-only code. - 100od-shadcn-ui
Build UI components with shadcn/ui Use when the user asks for shadcn ui work, or mentions od, shadcn, ui. - 90mobile-shadcn-conventions
How the Agenta mobile app (web/mobile) installs and extends shadcn/ui registry components, themes them via the palette token bridge, and builds chat UI on @agenta/chat. Use when adding UI components under web/mobile, changing theme colors, editing components.json or globals.css, or building chat UI.