Skip to main content

new-react-playground

Use when an agent in this TanStack AI monorepo needs a playground app to try a new feature. Trigger: new feature to try in a Start React app in this repo.

Informações da origem

Repositório
TanStack/ai
Última atividade na origem
17 de setembro de 2026 às 13:07
Idioma detectado do SKILL.md
inglês
Estrelas
3.199
Forks
366

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
new-react-playground
description
Use when an agent in this TanStack AI monorepo needs a playground app to try a new feature. Trigger: new feature to try in a Start React app in this repo.
# new-react-playground Pick a kebab-case name. Then generate a React chat lab under `examples/react/<name>/`. The generator writes a thin chat lab. The app includes: - BYOK - Model picker - `/api/chat` with `chat()` The index route is the chat shell. The dev server uses port `3100`. ## Must 1. Pick a kebab-case name. 2. From the repo root, run `pnpm nx g @tanstack/workspace-plugin:react-app <name>`. The app lands at `examples/react/<name>/`. 3. Run `pnpm install`. 4. Implement the feature on the index route. If the server must change, edit `/api/chat`. 5. Run `pnpm --filter <name> dev` (port 3100). Do not commit the new example. After a human asks to keep it, you can commit it. ## Later If you need live model keys, copy `.env.example` to `.env.local`. Open `http://localhost:3100`. The chat lab is live. Your feature is on the index route.
Ver no GitHub