Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/jahands/promptsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/jahands/prompts/tanstack-start-guide)<a href="https://agentmods.dev/rules/jahands/prompts/tanstack-start-guide"><img src="https://agentmods.dev/badge/rules/jahands/prompts/tanstack-start-guide/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/jahands/prompts/tanstack-start-guide"><img src="https://agentmods.dev/badge/rules/jahands/prompts/tanstack-start-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00017 | $0.01182 |
| Opus 5.5 | $0.00007 | $0.00473 |
| Sonnet 5.5 | $0.00003 | $0.00236 |
| Haiku 4.5 | $0.00002 | $0.00118 |
Grade A, and why
tanstack-start-guide scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 160 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Is it a mutation (create/update/delete)? → Use server function + useMutation
Is it UI state that should be shareable? → Use search params in the URL
Is it temporary UI state (form inputs, toggles)? → Use useState/useReducer locally
Is it derived from other state? → Calculate it during render (useMemo if expensive)
Does it need to sync with external systems? → Use useEffect (the one case where an effect is the right tool)
// Component just consumes data function ProductList() { const { category } = Route.useParams() const { data } = useSuspenseQuery({ queryKey: ['products', category], }) // No loading state needed - Suspense handles it }
</example>
</data-fetching-patterns>
<state-management-principles>
- Server state is not client state - don't mix them
- URL state > Context > Component state (in order of preference)
- One source of truth per piece of data
- Mutations should be optimistic by default
- Form state can be local until submission
</state-management-principles>
<server-functions>
<rule>
<name>Server functions for all mutations and server-only logic</name>
<why>Type-safe RPC, automatic validation, progressive enhancement</why>
<requirements>
- Always validate inputs with schemas
- Return meaningful responses for optimistic updates
- Handle both FormData (no-JS) and JSON submissions
- Never expose sensitive operations to client bundles
</requirements>
</rule>
</server-functions>
<react-patterns>
- Components are pure functions - no side effects during render
- Effects are escape hatches, not go-to solutions
- Suspense boundaries at route level for best streaming
- Error boundaries colocated with Suspense boundaries
- Prefer composition over prop drilling or context
- CSS handles animations, not JavaScript state machines
</react-patterns>
<performance-guidelines>
- Code splits at route boundaries automatically
- Lazy load below-the-fold components
- Preload likely next navigations
- Stream HTML as soon as possible
- Keep client bundles small for edge deployment
- Use platform capabilities (KV, R2) over custom solutions
</performance-guidelines>
<type-safety-requirements>
- Every route param must be validated
- Search params need schema validation
- Server function inputs/outputs fully typed
- No `any` types in route definitions
- Leverage inference over explicit types
</type-safety-requirements>
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago Changed 4f7bdd3521d5
- 3mo ago First seen · 160 lines · 17 tokens per session scan A 6a129ad1faa7
tanstack-start-guide is a cursor rule published in the GitHub repository jahands/prompts (19 stars, last pushed 1mo ago), licensed MIT. It adds 17 tokens to every session and 1,182 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
tanstack-start-guide compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tanstack-start-guidejahands/prompts | Cursor rule | 19 | 1mo ago | MIT | A | 17 | Cursor |
| windsurfrulesAPIParkLab/APIPark | Cursor rule | 1.8k | 1mo ago | Apache-2.0 | A | 521 | Windsurf |
| backendtenstorrent/tt-studio | Cursor rule | 13 | today | Apache-2.0 | A | 0 | Cursor |
| new-componentkubev2v/forklift-console-plugin | Cursor rule | 11 | today | Apache-2.0 | A | 6 | Cursor |
| tanstack-react-router_routingWebMCP-org/webmcp-sh | Cursor rule | 18 | 1mo ago | MIT | A | 17,188 | Cursor |
| rendering-and-memoizationgrafana/grafana-pathfinder-app | Cursor rule | 24 | today | AGPL-3.0 | A | 50 | Cursor |
| project-structureddebixx/frontend-template | Cursor rule | 5 | 1mo ago | MIT | A | 0 | Cursor |