tanstack
Build Reliable TanStack Data and Routing
Duplicated server state and inconsistent query keys can cause stale data and unnecessary requests. This skill guides TanStack patterns for caching, mutations, routing, and rendering.
Instalar con mi Agente
Copia esta solicitud en tu Agente. Incluye la página canónica del Skill y el manifiesto.
Review the Skillstore skill "tanstack" from https://skillstore.io/skills/shreyam1008-tanstack.md and its manifest at https://skillstore.io/api/skills/shreyam1008-tanstack/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Tu Agente debe seguir mostrando su plan y solicitar cualquier confirmación exigida por la política de seguridad.
Recursos legibles por agentes
Usa estos enlaces cuando un agente de IA, crawler o script necesite contexto limpio en vez de leer la página completa.
Pruébalo
Usando "tanstack". Our filtered list shows stale results after saving. What should we review?
Resultado esperado:
- Include every data-changing filter in the query key.
- Reuse the same query options in components and loaders.
- Invalidate affected queries after mutations so the cache reconciles with server data.
- Check staleTime against the expected freshness of this list.
Usando "tanstack". Should a sortable table put filters in component state or the URL?
Resultado esperado:
- Use validated Router search parameters for shareable filters and pagination.
- Keep temporary editing drafts and purely local interactions in component state.
- Keep Table columns stable and provide data with the stability required by the table integration.
- Add virtualization only when measured rendering costs justify it.
Usando "tanstack". Can we use the snapshot rollback example for overlapping optimistic edits?
Resultado esperado:
- The example assumes serialized mutations and a fixed list key.
- Restoring an older snapshot can erase a newer optimistic update.
- Use mutation-aware reconciliation or derive optimistic UI from pending mutation variables.
- Ensure optimistic changes respect the list filter and reconcile with server data.
Auditoría de seguridad
SeguroAll 25 static findings are false positives: Markdown backticks, documentation links, and ordinary state-management or form guidance. No evidence found of shell execution, keylogging, system reconnaissance, data exfiltration, or prompt injection in the reviewed file.
Factores de riesgo
⚙️ Comandos externos (21)
🌐 Acceso a red (1)
Compartir y citar este informe
Comparte el informe de evaluación versionado, la insignia neutral, la tarjeta insertable y las citas. Skillstore presenta evidencias sin decidir si este Skill es seguro.
Copiar enlace del informe
https://skillstore.io/skills/shreyam1008-tanstack/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportInsignia Markdown
[](https://skillstore.io/skills/shreyam1008-tanstack?utm_source=security_passport_badge)Insignia HTML
<a href="https://skillstore.io/skills/shreyam1008-tanstack?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/shreyam1008-tanstack/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Tarjeta para insertar
<iframe src="https://skillstore.io/embed/skills/shreyam1008-tanstack.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Citas académicas (APA · BibTeX · CFF)
Cita APA
shreyam1008. (2026). tanstack security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/shreyam1008-tanstack/audits/1Cita BibTeX
@techreport{shreyam1008-shreyam1008-tanstack-2026,
author = {shreyam1008},
title = {tanstack security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/shreyam1008-tanstack/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "tanstack security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "shreyam1008"
date-released: "2026-10-02"
url: "https://skillstore.io/skills/shreyam1008-tanstack/audits/1"
identifiers:
- type: other
value: "skillstore:shreyam1008-tanstack:audit:1"
description: "Skillstore immutable audit report identifier"
Puntuación de Skillstore
Por qué esta puntuación Confianza de la evidencia: MedioLo que puedes crear
Improve Query Cache Consistency
Review query keys, freshness settings, and mutation invalidation in an existing React application.
Coordinate Routes and Server Data
Plan validated URL filters, loader prefetching, and shared Query hydration for a TanStack Router or Start project.
Review Data-Heavy Interfaces
Assess stable table inputs, form drafts, and measured virtualization needs while preserving accessible navigation.
Prueba estos prompts
Review this component in our existing TanStack Query project. Identify server data, URL state, and local UI state. Explain which duplicated state needs removal.
Review our filtered list query. Propose reusable query options with complete keys, cancellation signals, and an appropriate staleTime. Preserve the existing data API.
In our TanStack Router project, design validated search parameters for filters and pagination. Integrate loaders with Query using ensureQueryData without duplicating URL state.
Audit our optimistic list updates for concurrent writes and changing filters. Explain rollback risks and propose reconciliation that preserves newer updates and query identity.
Mejores prácticas
- Use only the TanStack libraries selected by the project and preserve justified framework loaders or external integrations.
- Include all data dependencies in query keys and reuse query options across components and loaders.
- Test rollback, concurrent writes, filter changes, and accessible navigation when applying the relevant guidance.
Evitar
- Introduce the entire TanStack stack for generic React work without an explicit project decision.
- Maintain redundant copies of shared server data or URL filters in component state.
- Apply snapshot rollback to overlapping mutations without accounting for newer updates.
Preguntas frecuentes
Which AI tools support this skill?
Does this skill install TanStack packages?
Must my project use every TanStack library?
Does the skill include complete application code?
Is the optimistic update example safe for concurrent writes?
What did the security review find?
Detalles del desarrollador
Autor
shreyam1008Licencia
MIT
Revisión de Skillstore
r1
Aviso de versión
El autor no declaró una versión.
Repositorio
https://github.com/shreyam1008/shre-skills/tree/ba9787f41c2fe1be1062eeb6322bc339a1026383/skills/tanstackRef.
bbec03cf10354f3aaccd6dd24eda4ac9ceeceac5
Actualidad del mantenimiento
2/10/2026
Uso
0 descargas · 0 vistas
Estructura de archivos
📄 SKILL.md