mobile-learner-flow

Guides implementation of learner features in a React Native Expo app mirroring web frontend and Laravel API contracts.

3|1|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/nghyane/VSTEP --skill mobile-learner-flow-nghyane
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: mobile-learner-flow
Source: https://github.com/nghyane/VSTEP/tree/main/apps/mobile-v2/.agents/skills/mobile-learner-flow
Command: npx skills add https://github.com/nghyane/VSTEP --skill mobile-learner-flow-nghyane

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Mobile developers risk building learner features that diverge from the established web frontend (FE v3) and backend API (BE v2) contracts, causing inconsistent flows, wrong endpoints, and rework. ## Core Features & Use Cases - End-to-end flow reference: Documents the complete learner journey from auth and onboarding through dashboard, practice, exam, and AI grading results, with exact file paths and API endpoints. - State management conventions: Defines when to use TanStack Query, React Context, Zustand, or useReducer for server, auth, local, and session state. - Anti-pattern guardrails: Lists forbidden patterns such as navigation in render bodies, direct API calls in components, and hardcoded colors. - Use Case: Before coding a new speaking practice screen, load this Skill to find the correct route file, the POST /api/v1/practice/exercises/{id}/submit endpoint, and the recording rules so the feature matches FE v3 parity. ## Quick Start Load the mobile-learner-flow skill before coding any learner feature and ask it to plan the screens, hooks, and API endpoints for the feature you are about to build.

Frequently Asked Questions about mobile-learner-flow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new learner feature to a React Native Expo app?▼

Start by checking the feature parity file, then find the matching pattern in the web frontend and the API endpoint in the backend routes. Plan screens, components, hooks, and API calls before writing code, and confirm with the team if the change spans more than three files.

How should API calls be structured in React Native components?▼

Never call APIs directly inside components. Use TanStack Query's useQuery with select for reads and useMutation for writes, keeping server state out of local stores. Token refresh is handled automatically in the API layer, not in components.

What state management library works with Expo Router apps?▼

This setup uses TanStack Query for server state, React Context with SecureStore for auth, Zustand for local state like coins and streaks, and useReducer for practice and exam session state. Each tool has a defined scope and they should not be mixed.

How does token refresh and 401 handling work in Expo SecureStore auth?▼

Tokens are stored in SecureStore and refreshed automatically inside the shared API client, so components never handle refresh manually. On a 401 response the user is logged out and redirected to the login screen.

What are common React Native anti-patterns to avoid?▼

Avoid navigating in render bodies, direct API calls in components, TypeScript 'as' casts in business logic, non-null assertions, mock data in components, and hardcoded hex colors. Use useEffect for navigation, discriminated unions, early returns, and theme tokens instead.