CtrlK
BlogDocsLog inGet started
Tessl Logo

tanstack-query-expert

Expert in TanStack Query (React Query) — asynchronous state management. Covers data fetching, stale time configuration, mutations, optimistic updates, and Next.js App Router (SSR) integration.

63

Quality

75%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./plugins/AI-Agents-Safe-Coding-Skills-claude/skills/tanstack-query-expert/SKILL.md

The canonical home for this skill is tanstack-query-expert in administrakt0r/AI-Agents-Safe-Coding-Skills

SKILL.md
Quality
Evals
Security

Quality

Content

75%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is highly actionable with executable, well-structured code patterns and a clear optimistic-update feedback loop, but it carries some redundant concept explanation and could split advanced material into reference files.

Suggestions

Trim the role-play intro paragraph and the 'Why TanStack Query?' explanatory block, which restate concepts Claude already knows.

Move the Next.js App Router hydration deep-dive into a separate reference file and link to it from a concise overview section.

Add an explicit validation/verification checkpoint (e.g., confirming dehydrated state hydrates without a refetch) to the SSR integration workflow.

DimensionReasoningScore

Conciseness

The role-play opener ('You are a production-grade TanStack Query expert...') and the 'Why TanStack Query?' section explain caching/deduplication/pagination Claude already knows, though the code blocks themselves are lean.

3 / 5

Actionability

Provides complete, copy-paste-ready TypeScript for custom hooks, query-key factories, mutations, optimistic updates, the Next.js provider, and server hydration, covering the common cases.

5 / 5

Workflow Clarity

The optimistic-update flow is explicitly numbered (onMutate snapshot -> onError rollback -> onSettled invalidate), giving a real error-recovery feedback loop, but there are no explicit validation checkpoints elsewhere.

4 / 5

Progressive Disclosure

No bundle files exist; the single file is well-organized into clear navigable sections, though at ~230 lines it mixes quick-start patterns with advanced hydration that could be split out.

4 / 5

Total

16

/

20

Passed

Description

75%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is specific, distinctive, and uses good natural terminology including the React Query synonym, but it omits any explicit 'Use when...' trigger guidance, capping its completeness.

Suggestions

Append a 'Use when...' clause listing concrete triggers, e.g. 'Use when setting up TanStack Query, configuring staleTime/gcTime, writing useMutation hooks, or prefetching with the Next.js App Router.'

Add the API hook names (useQuery, useMutation, queryClient) to broaden the natural trigger-term coverage developers would actually say.

Mention React Query v5 / @tanstack/react-query version context to aid version-sensitive triggering.

DimensionReasoningScore

Specificity

Lists multiple specific concrete capabilities — 'data fetching, stale time configuration, mutations, optimistic updates, and Next.js App Router (SSR) integration' — matching the comprehensive-coverage anchor.

5 / 5

Completeness

The 'what' is clearly stated, but there is no 'Use when...' clause or equivalent explicit trigger guidance, which per the rubric caps completeness at 3.

3 / 5

Trigger Term Quality

Includes the synonym pair 'TanStack Query (React Query)' plus natural dev terms like 'data fetching', 'mutations', 'optimistic updates', and 'stale time', but omits the common hook names (useQuery/useMutation) developers actually say.

4 / 5

Distinctiveness Conflict Risk

Targets a clear, specific niche (TanStack Query) with distinct triggers and minimal overlap risk with unrelated skills.

5 / 5

Total

17

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository
administrakt0r/AI-Agents-Safe-Coding-Skills
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.