Agent skill
stack-tanstack-app
Build and enhance React applications using the TanStack ecosystem. Use this skill when working with TanStack libraries such as Router, Query, Form, or Table—whether starting a new project or integrating into existing code.
Install this agent skill to your Project
npx add-skill https://github.com/interactive-inc/skills/tree/main/skills/stack-tanstack-app
SKILL.md
SKILL.md
Tech Stack
- TanStack Start(React)
- TanStack React Query
- Hono(API バックエンド)
- Drizzle ORM
Key Patterns
- hc クライアントで型安全な API 呼び出し
- refetch で更新(invalidateQueries は使わない)
- Suspense + use() でデータフェッチ
- Skeleton でローディング表示
- query を子コンポーネントに渡す
Hono API
API の基盤となる factory パターンとルート定義。
→ references/hono-api.md
hc クライアント
Hono の型安全な RPC クライアント。フロントエンドから API を呼び出す。
→ references/hc-client.md
認証
JWT + Cookie ベースの認証。authMiddleware でルートを保護。
→ references/auth.md
セッション管理
React Context + React Query でセッション状態を管理。useSession フックで取得。
→ references/session-context.md
データフェッチ
Suspense + use() パターン。親で useQuery、子で use() でデータ取得。
→ references/suspense-use.md
Cloudflare
Cloudflare Workers + D1 を使う場合の設定。HonoEnv、databaseMiddleware、drizzle.config.ts。
→ references/cloudflare.md
TanStack Start 固有
BASIC 認証
サーバーミドルウェアで BASIC 認証を実装する場合。
→ references/tanstack-start/basic-auth.md
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
voc
Record customer voice to feedbacks/.
backlog
Analyze and plan product backlogs with vision alignment.
gemini
Get alternative perspectives via Google Gemini on complex design decisions, architecture trade-offs, stuck debugging, or approach evaluation.
docs-architecture-review
Review and evaluate repository architecture covering database, tests, API design, components, security, and dependencies.
plan-backlog
Create or update product backlog content.
plan-issue
Create technical plan text for a GitHub Issue.
Didn't find tool you were looking for?