SkillTrust

← All skills

tanstack-best-practices

100 / 100 · Low risk

Fine to try.

By enitrat/skill-issue (GitHub) · writing · 15 stars · scanned at commit 6cddc7e

Best practices for building hook libraries with TanStack Query. Use when: (1) Writing useQuery/useMutation hooks that wrap async data-fetching functions, (2) Designing query key schemas and cache identity systems, (3) Building framework-agnostic query options factories, (4) Implementing cache invalidation patterns (invalidate vs remove vs setQueryData), (5) Wrapping TanStack Query in a multi-layered library (core actions to query options to framework hooks), (6) Handling non-serializable values…

Works with any agent that supports SKILL.md skills.

What this skill can do

We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'tanstack-best-practices' ] || [ -L ~/.agents/skills/'tanstack-best-practices' ]; then echo 'A skill folder named tanstack-best-practices already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/enitrat/skill-issue' "$d" && git -C "$d" checkout --quiet '6cddc7e22fe4df16c3203d51e983ffdb99506d1b' -- 'skills/tanstack-best-practices' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/tanstack-best-practices' ~/.agents/skills/'tanstack-best-practices' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'tanstack-best-practices' ~/.claude/skills/'tanstack-best-practices' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for enitrat/skill-issue shows the score of its lowest-scoring skill.

SkillTrust badge for enitrat/skill-issue

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/enitrat/skill-issue.svg)](https://zalavijaysinh.github.io/skilltrust/repos/enitrat/skill-issue/)

Score history

DateVersionScore
2026-11-106cddc7e100