ai / instructions
Copilot instructions3.2k starsChanged 2 months agoMITView on GitHub
Provide project context and coding guidelines that AI should follow when generating code, answering questions, or reviewing changes. Whenever you want to build the packages to test if they work you should run pnpm run build from the root of the repository. If you want to check if the examples work you need to go to examples/<example-name> and run pnpm run dev. When writing code, please follow these guidelines: If you get an error "address already in use :::42069 you…
Trending
More talk lately.about the whole repository
Who's talking about TanStack/ai
- nuxt/ui“Integrate chat components with Tanstack AI”GitHub · Jan 27, 2026 · 2 reactions
- getsentry/sentry-javascript“Add instrumentation for `@tanstack/ai`”GitHub · Jan 5, 2026 · 2 reactions
- kubb-labs/kubb“Use Knip for unused code detection”GitHub · Dec 18, 2025 · 2 reactions
- @jp-knj.bsky.social“github.com/TanStack/ai I’m curious”Bluesky · Dec 5, 2025 · 2 likes
- TanStack/tanstack.com“fix(builder): unlock BYOK passkey on the click, not mid-send”GitHub · Sep 5, 2026 · 1 reactions
The biggest 5 of 30 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 30
Talked about on GitHub and Bluesky (30 times).
On GitHub · 28
- Jan 27, 2026Integrate chat components with Tanstack AI — nuxt/ui2 reactions · 7 comments
- Jan 5, 2026Add instrumentation for `@tanstack/ai` — getsentry/sentry-javascript2 reactions · 1 comment
- Dec 18, 2025Use Knip for unused code detection — kubb-labs/kubb2 reactions · 2 comments
- Sep 5, 2026fix(builder): unlock BYOK passkey on the click, not mid-send — TanStack/tanstack.com1 reaction · 3 comments
- Jun 30, 2026build(deps): bump the bun-dependencies group with 9 updates — endalk200/skopeo1 reaction
23 more on GitHub
- Oct 5, 2026fix(ai-search): Haiku keyword extraction has fallen back on every search since 2026-06-12 — viclafouch/petit-meme0 reactions
- Oct 5, 2026chore(deps): bump the framework-deps group with 13 updates — clanker25/ui0 reactions
- Oct 5, 2026build(deps): Bump the production-minor-patch group across 1 directory with 22 updates — kvpendergast/jackline0 reactions
- Oct 3, 2026[Add] TanStack AI (TanStack/ai) — PyTorchKR/landscape0 reactions
- Oct 1, 2026chore(deps-dev): bump the development-dependencies group across 1 directory with 19 updates — cbangera2/BudgetLens0 reactions · 1 comment
- Oct 1, 2026Bump @tanstack/ai-client from 0.35.1 to 0.36.0 — unacms/UNA0 reactions · 1 comment
- Sep 30, 2026chore(deps): bump the framework-deps group with 13 updates — zhcndoc/shadcn0 reactions
- Sep 28, 2026chore(deps): bump the runtime-dependencies group across 1 directory with 4 updates — changbaebang/career-radar0 reactions
- Sep 27, 2026chore(deps): bump @tanstack/ai-code-mode from 0.4.10 to 0.4.13 — FRFlo/dumbdiscordbot0 reactions
- Sep 27, 2026chore(deps): bump @tanstack/ai from 0.55.0 to 0.58.0 — FRFlo/dumbdiscordbot0 reactions
- Sep 21, 2026fix(deps): bump @tanstack/ai-vue from 0.19.4 to 0.24.0 — vinayakkulkarni/tileserver-rs0 reactions · 2 comments
- Sep 17, 2026chore(deps): bump the framework-deps group with 13 updates — morganfeeney/shadcn-ui-fork0 reactions · 1 comment
- Sep 9, 2026chore(web)(deps): bump the web-dependencies group across 1 directory with 16 updates — najmuzzaman-mohammad/gawkbot0 reactions · 1 comment
- Sep 8, 2026chore(deps): bump @tanstack/ai-react from 0.16.4 to 0.24.0 — moodyawhvh/ui-chinese0 reactions
- Sep 1, 2026Bump @tanstack/ai from 0.39.1 to 0.52.0 — MrLightful/scopra0 reactions · 1 comment
- Aug 31, 2026chore(deps): bump the tanstack-ai group across 1 directory with 4 updates — linuxing3/openstory0 reactions · 1 comment
- Aug 24, 2026build(deps): bump @tanstack/ai-react from 0.19.2 to 0.21.1 — sushindustries/sushindustries0 reactions · 1 comment
- Aug 15, 2026build(deps-dev): bump the npm-dependencies group across 1 directory with 7 updates — sbonnick/openai-oauth-ai-provider0 reactions
- Aug 10, 2026chore(deps): bump the tanstack group across 1 directory with 17 updates — RLukas2/portfolio0 reactions · 1 comment
- Aug 4, 2026chore(deps): bump @tanstack/ai-react from 0.16.4 to 0.18.1 — raynilkumar-bs/Agent-V20 reactions · 2 comments
- Jul 8, 2026build(deps): Bump the tanstack group with 4 updates — fly-apps/tanstack-sprite-agent0 reactions
- Jun 12, 2026Bump the all-deps group across 1 directory with 27 updates — pantha-dapp/CORE0 reactions
- May 22, 2026Bump the all-deps group across 1 directory with 5 updates — pantha-dapp/CORE0 reactions
On Bluesky · 2
- Dec 5, 2025github.com/TanStack/ai I’m curious — @jp-knj.bsky.social2 likes and reposts
- Mar 19, 2026https://github.com/TanStack/ai — @tom-doerr.bsky.social1 likes and repost
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-example-tutorialSkill
- bugfix-prSkill
- docsSkill
- gap-analysisSkill
- i-have-adhdSkill
- new-react-playgroundSkill
- ponytailSkill
- pr-descriptionSkill
- pr-sweepSkill
- simple-englishSkill
- triage-githubSkill
- add-example-tutorialSkill
- bugfix-prSkill
- docsSkill
- gap-analysisSkill
- i-have-adhdSkill
- new-react-playgroundSkill
- ponytailSkill
- pr-descriptionSkill
- pr-sweepSkill
- simple-englishSkill
- triage-githubSkill
- tanstack-ai-migrationSkill
- tanstack-aiSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
12 rules. About 0 are common, 8 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
If you want to check if the examples work you need to go to examples/<example-name> and run pnpm run dev.
- Distinctive: line 11
When writing code, please follow these guidelines:
- Distinctive: line 13
Use TypeScript for all new code.
- Distinctive: line 14
Ensure all new code is covered by tests.
- Very specific: line 15
Do not use any type; prefer specific types or generics.
- Distinctive: line 16
Follow existing code style and conventions.
- Distinctive: line 18
If you get an error "address already in use :::42069 you should kill the process using that port.
- Very specific: line 20
If we add a new functionality add a section about it in the docs/ folder explaining how to use it and update the README.md file to mention …
- Distinctive: line 22
Write tests for any new functionality.
- Distinctive: line 24
When defining new types, first check if the types exist somewhere and re-use them, do not create new types that are similar to existing …
- Distinctive: line 26
When modifying existing functionality, ensure backward compatibility unless there's a strong reason to introduce breaking changes.
- Very specific: line 31
Do not add Select-Object -Last X at the end of PowerShell commands in the CI scripts.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Provide project context and coding guidelines that AI should follow when generating code, answering questions, or reviewing changes.
Whenever you want to build the packages to test if they work you should run pnpm run build from the root of the repository.
If you want to check if the examples work you need to go to examples/<example-name> and run pnpm run dev.
When writing code, please follow these guidelines:
- Use TypeScript for all new code.
- Ensure all new code is covered by tests.
- Do not use
anytype; prefer specific types or generics. - Follow existing code style and conventions.
If you get an error "address already in use :::42069 you should kill the process using that port.
If we add a new functionality add a section about it in the docs/ folder explaining how to use it and update the README.md file to mention it.
Write tests for any new functionality.
When defining new types, first check if the types exist somewhere and re-use them, do not create new types that are similar to existing ones.
When modifying existing functionality, ensure backward compatibility unless there's a strong reason to introduce breaking changes. If breaking changes are necessary, document them clearly in the relevant documentation files.
Under no circumstances should casting as any be used in the codebase. Always strive to find or create the appropriate type definitions. Avoid casting unless absolutely neccessary, and even then, prefer using satisfies for type assertions to maintain type safety.
Do not add Select-Object -Last X at the end of PowerShell commands in the CI scripts. This can hide important error messages and make debugging more difficult and it also makes the
process hang
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

