Skip to content
Back to skills

New React Playground

ASecurity

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.

  • 3,166 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 23, 2026
ai-agentsshellreactapi

Works with

  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 23, 2026

npx -y skills add TanStack/ai --skill new-react-playground --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of New React Playground?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for New React Playground
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tanstack-new-react-playground/badge)](https://www.skillsdirectory.com/skills/tanstack-new-react-playground)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.