Overview
Use this skill for the end-to-end V Mini App workflow outside the dedicated @v-miniapp/ui-react UI layer.
This skill covers project bootstrap, CLI execution, auth/session expectations, build and deploy flow, and @v-miniapp/apis usage for native capabilities inside V-App. If the task is mainly about app shell structure, routing, localization, design tokens, or component composition, prefer the dedicated v-miniapp-ui-react skill.
Process
Phase 1: Identify the Request
- Treat requests mentioning "miniapp", "mini-app", "mini app", "V-MiniApp", or V-App mini-app development as V Mini App tasks.
- Read User intent when the phrasing is ambiguous.
- Decide whether the task is primarily:
- CLI/setup/build/deploy work - Runtime capability work with @v-miniapp/apis - A mixed task that also needs the UI-focused skill
Phase 2: Handle CLI and Project Lifecycle
2.1 Bootstrap and local development
- Follow CLI guidelines before running commands.
- Use
@v-miniapp/clifor create, dev, build, deploy, login, and other lifecycle tasks. - Prefer fully automated CLI flows; avoid leaving interactive prompts hanging.
- Confirm login/session requirements before create/dev/deploy operations.
- Follow Basic setup for the standard dev/build/deploy flow and
app-config.jsonexpectations.
2.2 Deployment-aware implementation
- Keep
app-config.jsonaligned with the app identity expected by V-App. - Use the CLI build/deploy flow instead of inventing a custom packaging process.
- When setup tasks spill into UI architecture, hand off the UI-specific portion to the dedicated
ui-reactskill.
Phase 3: Use Native Capabilities Correctly
- Follow JSAPI guidelines whenever code interacts with native features.
- Prefer APIs from
@v-miniapp/apisover browser-native substitutes when the feature is provided by V-App. - Verify API names, parameter shapes, async usage, and error handling against the matching reference.
- Match the requested capability to the correct API family: auth/open, storage, feedback, network, location, media, biometrics, bluetooth, payment, sharing, or QR scan.
Phase 4: Validate the Result
- Confirm CLI commands and workflow assumptions match the documented
v-miniapp-clibehavior. - Confirm API calls match the documented
@v-miniapp/apiscontracts. - Avoid manual workarounds for flows already handled by the SDK or CLI.
- If the task includes app routing, component composition, design tokens, or navigation UI, coordinate with the dedicated
v-miniapp-ui-reactskill.
Reference Files
Use the bundled reference files under packages/skills/mini-app/references/ and load only what the task needs.
Core guidance
- User intent - how to recognize V Mini App requests.
- CLI guidelines - automation, login expectations, and non-interactive command handling.
- JSAPI guidelines - preferred API usage and verification checklist.
- Basic setup - dev, build, deploy, and
app-config.jsonessentials.
CLI
- CLI commands - available
v-miniapp-clicommands and options.
JSAPI
- Open - auth and app-opening flows.
- Payment - payment method and payment initialization flows.
- Storage - persistent mini-app storage APIs.
- Network - request APIs.
- Feedback - alerts, toasts, action sheets, and loading states.
- Location - location access.
- Image - image picker, preview, and compression.
- File and network - upload and download operations.
- Basic - system info, settings, and exit flows.
- Phone - phone call integration.
- Biometrics - local auth and signature-related APIs.
- Bluetooth - beacon discovery and related APIs.
- Share app - app sharing flows.
- Scan QR - QR code scan support.