mcpField
U
uniappx-project

uniappx-project

github.com/partme-aiDevelopment716149 installsUpdated 3w ago
Repository

About uniappx-project

uniappx-project is a reference skill for uni-app-x developers, organizing built-in component and API examples alongside documentation links and platform compatibility details.

Key features

  1. 01Examples grouped by component and API
  2. 02Official documentation links in examples
  3. 03Parameter and return-value references
  4. 04Platform compatibility details
  5. 05Vue 3, TypeScript, and Vite development

Use cases

  1. 01Find a built-in component example
  2. 02Check API parameters and return values
  3. 03Verify compatibility with a target platform

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/partme-ai/full-stack-skills --skill uniappx-project

After installing, type/uniappx-projectin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

LICENSE.txt
examples/api/device/
get-battery-info.md
get-network-type.md
get-screen-brightness.md
get-system-info.md
set-screen-brightness.md
examples/api/file/
get-file-info.md
get-saved-file-list.md
save-file.md
examples/api/location/
choose-location.md
get-location.md
open-location.md
examples/api/media/
choose-image.md
choose-media.md
choose-video.md
get-image-info.md
preview-image.md
save-image-to-photos-album.md
examples/api/navigation/
navigate-back.md
navigate-to.md
re-launch.md
redirect-to.md
switch-tab.md
examples/api/network/
download-file.md
request.md
upload-file.md
examples/api/storage/
clear-storage.md
get-storage-info.md
get-storage-sync.md
get-storage.md

Details

From the project README

When to use this skill

Use this skill whenever the user wants to:

  • Use any uni-app-x built-in component
  • Use any uni-app-x API (network, storage, device, UI, navigation, media, etc.)
  • Access per-component or per-API examples with official doc links
  • Check platform compatibility for components and APIs in uni-app-x
  • Build uni-app-x applications with Vue 3 + TypeScript + Vite

How to use this skill

This skill is organized to match the official uni-app-x components and API documentation:

  1. Choose component or API category:

    • Components → examples/components/built-in/
    • APIs → examples/api/ (categorized by domain)
  2. Open the matching example file:

    • Each component or API has its own example file
    • Each example includes the official documentation URL
    • Examples mirror the official documentation examples
  3. Use references when you need full specs:

    • references/components/built-in/ for built-in components
    • references/api/ for API parameter/return/compatibility details

Examples and References

Components (Built-in)
APIs

Best Practices

  1. One file per component/API: Each component and API has an independent example file with official doc link.
  2. Follow platform compatibility: Check the compatibility section in each example/reference.
  3. Use conditional compilation: Use #ifdef/#endif for platform-specific logic.
  4. Keep examples aligned: Use the official documentation examples as the source of truth.
  5. Prefer references for specs: Use references/ for full parameter tables and compatibility.

Resources

Keywords

uniappx, uni-app-x, components, api, built-in components, examples, references, Vue 3, TypeScript, Vite, H5, App, mini program, 跨平台, 组件, API, 官方文档

Comments

Markdown supported