/dev-flow:rn-data-fetchingfrom dev-flow
Guides data fetching in React Native with TanStack Query: setup, queries, mutations, optimistic updates, pagination, cache invalidation, and offline persistence.
Ships in dev-flow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
For the current Expo API and per-version details, verify against the Expo docs / MCP
mcp.expo.dev/expo/skills(see rn-fundamentals → Source of truth).
fetch + useEffect is acceptable ONLY in didactic examples or for one-off bootstrap calls (e.g. reading a config at app start).QueryClient per app, mounted at the root layout. Never instantiate per-screen.["posts", "list", { filter }]. NEVER stringly-typed keys.queryClient.invalidateQueries({ queryKey: [...] }) in onSuccess. Optimistic updates use onMutate + onError rollback.staleTime ≥ 60_000 ms is the default to avoid refetch-on-focus storms. Tune per query based on freshness need.references/decision-tree.mdreferences/tanstack-query-rn.mdreferences/patterns.mdreferences/examples/references/concepts.mduseEffect(() => { fetch(...).then(setData) }, []) for production data — no retry, no dedup, no cancel.useState<Data | null>(null) + useState<boolean>(false) for loading — let TanStack Query own server state.queryKey: "posts" as a string — must be an array.setData after the component unmounts — TanStack Query handles cancel automatically.invalidateQueries — UI shows stale data.staleTime per query.references/concepts.md (opens in a new tab)references/decision-tree.md (opens in a new tab)references/examples/infinite-scroll.tsx (opens in a new tab)references/examples/mutation-optimistic.tsx (opens in a new tab)references/examples/query-basic.tsx (opens in a new tab)references/patterns.md (opens in a new tab)references/tanstack-query-rn.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub lukedj78/dev-flow --plugin dev-flowOther plugins' skills for the same job
57 skills in this plugin
/animated-iconsAdd a Motion-animated icon to a Next.js app from a shadcn registry instead of hand-animating an SVG. Two registries, picked from the project's icon set: **heroicons-animated** (316 icons, `shadcn add @heroicons-animated/<name>`) and **hugeicons-animated** (165 icons, `shadcn add @hugeicons-animated/<name>`, which also installs a shared `lib/use-icon-animation.ts`). Both MIT, both on the `motion` runtime, both copied into your repo as source. This skill owns the install plus the two things the raw components lack: a `prefers-reduced-motion` guard and timing aligned to the project motion tokens (`lib/motion/`). Use when the user says "animated icon", "animate this icon", "make the bell/heart/menu icon animate on hover", "aggiungi un'icona animata", or wants an icon micro-interaction. Refuses outside Next.js web — for React Native use `rn-animations-gestures`. Not for: static icons, a whole motion system (`transitions`), or installing the runtime itself (`module-add motion`)./app-securityCheck whether an app's own code can be attacked before it ships — vulnerable dependencies, secrets in the code and in git history, Next.js authorization gaps (Server Actions and route handlers without a session check, queries by id with no owner filter — IDOR), data over-exposure, secrets in public env vars, raw SQL — then read the flagged code against an OWASP checklist, with an opt-in dynamic level (Strix) that proves exploits against the app running locally. The fifth pre-deploy gate, beside compliance-audit, vercel-doctor, shadscan and launch-audit; reports and routes, never blocks. Triggers: "security review", "è sicura l'app?", "controllo di sicurezza prima del deploy", "IDOR", "secrets in the repo", "pentest". Not for: GDPR and legal (compliance-audit), UI quality (shadscan), cost (vercel-doctor), launch readiness (launch-audit), a review of one branch diff (Claude Code's /security-review), third-party registry code (registry-intake).