adynato-mobile-api
API integration patterns for Adynato mobile apps. Covers data fetching with TanStack Query, authentication flows, offline support, error handling, and optimistic updates in React Native/Expo apps. Use when integrating APIs into mobile applications.
npx skills add majiayu000/claude-skill-registry --skill adynato-mobile-api --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Mobile API Skill Use this skill when integrating APIs into Adynato mobile apps. ## Stack - **Data Fetching**: TanStack Query (React Query) - **HTTP Client**: Fetch API or Axios - **Auth Storage**: expo-secure-store - **Offline**: TanStack Query persistence ## Setup ### Query Client Configuration ```typescript // lib/query-client.ts import { QueryClient } from '@tanstack/react-query' export const queryClient = new QueryClient({ defaultOptions: { queries: { staleTime: 1000 * 60 * 5, // 5 minutes gcTime: 1000 * 60 * 30, // 30 minutes (formerly cacheTime) retry: 2, refetchOnWindowFocus: false, // Mobile doesn't have window focus }, mutations: { retry: 1, }, }, }) ``` ### Provider Setup ```tsx // app/_layout.tsx import { QueryClientProvider } from '@tanstack/react-query' import { queryClient } from '@/lib/query-client' export default function RootLayout() { return ( <QueryClientProvider client={queryClient}> <Stack /> </QueryClientProvider> ) } ``` ## API Client ### Base Configuration ```typescript // lib/api.ts import * as SecureStore from 'expo-secure-store' const API_URL = process.env.EXPO_PUBLIC_API_URL interface RequestOptions extends RequestInit { requireAuth?: boolean } export
- Stack
- Setup
- Query Client Configuration
- Provider Setup
- API Client
- Base Configuration
- API Functions
- Query Hooks
- Basic Query
- Query with Transform
- Paginated Query
- Mutations
- Basic Mutation
- Optimistic Update
What does the adynato-mobile-api skill do?
API integration patterns for Adynato mobile apps. Covers data fetching with TanStack Query, authentication flows, offline support, error handling, and optimistic updates in React Native/Expo apps. Use when integrating APIs into mobile applications.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill adynato-mobile-api --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
