Use this skill when working on login, logout, session restore, tokens, route guards, or any authentication and authorization behavior.
中文简介正在准备中。当前显示原文说明。
Use this skill when adding or changing REST API calls, HTTP client config, error handling, uploads/downloads, or network behavior.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Keep all HTTP traffic on the useApi() fetch client with correct
auth, error, and networking semantics.
New/changed endpoints, interceptors, timeout/retry, pagination, DTOs, upload/download progress, offline/timeout handling.
skills/mobile/API.mddocs/agent/API_INTEGRATION_CONTRACT.mdsrc/composables/useApi.ts, src/api/*Service.ts.env* (keys only — never copy values)useApi(); never add another client (axios was removed) or weaken TLS.VERIFIED_FRONTEND_USAGE vs
UNVERIFIED_BACKEND_ASSUMPTION; backend repo is out of scope.ApiFetchError, json-bigint, and the shared 401
refresh. Only a 403 from refresh removes auth; ordinary 403 rejects.localhost in-app ≠ dev machine — use env base URLs; verify per platform.storeAsString); type them IdType, never convert to numbers.api.raw still throws on status ≥ 400 — catch ApiFetchError (or check
error.status) where a page needs 4xx bodies; wrap loading UI in
try/finally.baseURL per call (CDN: VITE_CDN_BASE_URL, absolute URL: '').useApi() directly or add a service method — choose per
skills/mobile/API.md §2 (no src/api file required for single-use
endpoints); add error/loading states; avoid duplicate submits.mobile-testing (mocked API tests; device for real network).API-contract check (method/path/DTO), error-path tests; no invented backend behavior.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Use this skill when working on login, logout, session restore, tokens, route guards, or any authentication and authorization behavior.
中文简介正在准备中。当前显示原文说明。
Use this skill when building, syncing Capacitor, or preparing Android/iOS releases and environment configuration.
中文简介正在准备中。当前显示原文说明。
Use this skill when creating, modifying, or debugging Ionic Vue components, pages, forms, dialogs, or theme/safe-area UI behavior.
中文简介正在准备中。当前显示原文说明。
Use this skill for any Ionic Vue + Capacitor mobile work: Vue architecture, Composition API, TypeScript, state, env config, shared conventions. Required for every implementation task alongside mobile-testing.
中文简介正在准备中。当前显示原文说明。
Use this skill when handling inbound URLs, custom schemes, app links, universal links, or URL-bearing notification payloads.
中文简介正在准备中。当前显示原文说明。
Use this skill when working on camera, gallery, file pick/upload/download, file preview, sharing, or filesystem-backed media. For Preferences keys, use mobile-local-data.
中文简介正在准备中。当前显示原文说明。