Connect Query patterns for API calls. Use when working with mutations, queries, or data fetching.
66
48%
Does it follow best practices?
Impact
97%
1.15xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./frontend/.claude/skills/api-patterns/SKILL.mdConnect Query data fetching with enabled flag and staleTime
useQuery import source
100%
100%
connectquery descriptor import
100%
100%
enabled flag present
100%
100%
staleTime set
100%
100%
No raw fetch
100%
100%
Loading state handled
100%
100%
Error state handled
100%
100%
clusterId prop typed correctly
100%
100%
Mutation with cache invalidation and formatToastErrorMessage error handling
useMutation import source
100%
100%
useQueryClient import
100%
0%
invalidateQueries called
100%
100%
Correct invalidation key
100%
100%
formatToastErrorMessage imported
0%
100%
formatToastErrorMessage used in onError
0%
100%
formatToastErrorMessage params
0%
100%
onError handler present
100%
100%
No generic error string
100%
100%
action label correct
0%
100%
Protobuf type extension outside protogen directory
protogen files unmodified
100%
100%
Extension type outside protogen
53%
100%
Import from protogen pb file
100%
100%
displayName computed outside protogen
100%
100%
avatarInitials computed outside protogen
100%
100%
accountAge computed outside protogen
100%
100%
UserCard renders all three
100%
100%
Existing query preserved
100%
100%
02210fa
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.