Token导航 LogoToken导航

Agent Skill · 研究检索

native-ui(原生用户界面)

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

native-ui 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 4,671。

总安装 30,576周安装 1,259GitHub Stars 公开资料未说明下载 10,712核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:native-ui(原生用户界面)
来源仓库:https://github.com/wpank/native-ui
安装命令:
openclaw skills install native-ui
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install native-ui

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

使用 Expo Router 和 React Native 构建本机移动 UI。涵盖遵循 Apple 人机界面指南的路由、导航、样式、本机控件、动画和平台约定。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install native-ui;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

native-ui 怎么安装?

在终端执行 openclaw skills install native-ui。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

native-ui 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

native-ui 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

native-ui 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

native-ui 用的人多吗?

公开数据是累计安装 30,576 次,近一周安装 1,259 次,下载 10,712 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

native-ui 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
native-ui

原生用户界面 · 本页

30,576—接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
native-ui
model
standard
version
1.0.0
description
>
tags
[expo, react-native, ios, mobile, navigation, native-ui]

Native UI with Expo Router

Patterns and conventions for building native mobile applications with Expo Router and React Native.

References

Consult these as needed:

  • ./references/route-structure.md — Route conventions, dynamic routes, groups, folder organization
  • ./references/tabs.md — Native tab bar with NativeTabs, iOS 26 features
  • ./references/icons.md — SF Symbols with expo-symbols, icon names, animations, weights
  • ./references/controls.md — Native iOS controls: Switch, Slider, SegmentedControl, DateTimePicker
  • ./references/visual-effects.md — Blur effects (expo-blur) and liquid glass (expo-glass-effect)
  • ./references/animations.md — Reanimated: entering, exiting, layout, scroll-driven, gestures
  • ./references/search.md — Search bar with headers, useSearch hook, filtering patterns
  • ./references/gradients.md — CSS gradients via experimental_backgroundImage (New Architecture only)
  • ./references/media.md — Camera, audio, video, file saving
  • ./references/storage.md — SQLite, AsyncStorage, SecureStore
  • ./references/webgpu-three.md — 3D graphics and GPU visualizations with WebGPU/Three.js
  • ./references/toolbar-and-headers.md — Stack headers and toolbar with buttons, menus, search bars (iOS)
  • ./references/form-sheet.md — Form sheet presentation patterns

Running the App

Always try Expo Go first before creating custom builds.

  1. Start with npx expo start and scan the QR code
  2. Test features in Expo Go
  3. Only create custom builds when required

When Custom Builds Are Required

Use npx expo run:ios/android or eas build only for:

  • Local Expo modules (custom native code in modules/)
  • Apple targets (widgets, app clips via @bacons/apple-targets)
  • Third-party native modules not in Expo Go
  • Custom native configuration beyond app.json

Expo Go supports all expo-* packages, Expo Router, Reanimated, Gesture Handler, push notifications, and deep links out of the box.

Installation

OpenClaw / Moltbot / Clawbot

npx clawhub@latest install native-ui

Code Style

  • Escape nested backticks and quotes correctly
  • Always use import statements at the top of the file
  • Use kebab-case for file names: comment-card.tsx
  • Remove old route files when restructuring navigation
  • No special characters in file names
  • Configure tsconfig.json path aliases; prefer aliases over relative imports

Routes

See ./references/route-structure.md for detailed conventions.

  • Routes belong in the app directory
  • Never co-locate components, types, or utilities in app/ — this is an anti-pattern
  • Always have a route matching /, possibly inside a group route

Library Preferences

UseInstead of
expo-audioexpo-av
expo-videoexpo-av
expo-symbols@expo/vector-icons
react-native-safe-area-contextRN SafeAreaView
process.env.EXPO_OSPlatform.OS
React.useReact.useContext
expo-imageIntrinsic img element
expo-glass-effectCustom glass backdrops

Never use deprecated modules: Picker, WebView, SafeAreaView, AsyncStorage (from RN core), or legacy expo-permissions.


Responsiveness

  • Wrap root components in a scroll view
  • Use <ScrollView contentInsetAdjustmentBehavior="automatic" /> instead of <SafeAreaView>
  • Apply contentInsetAdjustmentBehavior="automatic" to FlatList and SectionList too
  • Use flexbox instead of Dimensions API
  • Prefer useWindowDimensions over Dimensions.get() for screen measurement

Behavior

  • Use expo-haptics conditionally on iOS for delightful interactions
  • Use views with built-in haptics (<Switch />, @react-native-community/datetimepicker)
  • First child of a Stack route should almost always be a ScrollView with contentInsetAdjustmentBehavior="automatic"
  • Prefer headerSearchBarOptions in Stack.Screen options for search bars
  • Use <Text selectable /> on data that users may want to copy
  • Format large numbers: 1.4M, 38k
  • Never use intrinsic elements (img, div) outside webviews or Expo DOM components

Styling

Follow Apple Human Interface Guidelines.

General Rules

  • Prefer flex gap over margin and padding
  • Prefer padding over margin
  • Always account for safe area via stack headers, tabs, or contentInsetAdjustmentBehavior="automatic"
  • Ensure both top and bottom safe area insets are handled
  • Inline styles preferred over StyleSheet.create unless reusing styles
  • Add entering/exiting animations for state changes
  • Use { borderCurve: 'continuous' } for rounded corners (not capsule shapes)
  • Use navigation stack title instead of custom text headers
  • On ScrollView, use contentContainerStyle for padding/gap (avoids clipping)
  • CSS and Tailwind are not supported — use inline styles

Text Styling

  • Add selectable prop to <Text/> elements showing important data or errors
  • Use { fontVariant: 'tabular-nums' } on counters for alignment

Shadows

Use CSS boxShadow style prop. Never use legacy RN shadow or elevation styles.

<View style={{ boxShadow: "0 1px 2px rgba(0, 0, 0, 0.05)" }} />

Inset shadows are supported.


Navigation

Link

Use <Link href="/path" /> from expo-router for navigation.

import { Link } from 'expo-router';

<Link href="/path" />

<Link href="/path" asChild>
  <Pressable>...</Pressable>
</Link>

Include <Link.Preview> whenever possible to follow iOS conventions. Add context menus and previews frequently.

Stack

  • Always use _layout.tsx files to define stacks
  • Use Stack from expo-router/stack for native navigation stacks
  • Set page titles in Stack.Screen options: options={{ title: "Home" }}

Context Menus

Add long-press context menus to Link components:

<Link href="/settings" asChild>
  <Link.Trigger>
    <Pressable><Card /></Pressable>
  </Link.Trigger>
  <Link.Menu>
    <Link.MenuAction title="Share" icon="square.and.arrow.up" onPress={handleShare} />
    <Link.MenuAction title="Block" icon="nosign" destructive onPress={handleBlock} />
    <Link.Menu title="More" icon="ellipsis">
      <Link.MenuAction title="Copy" icon="doc.on.doc" onPress={() => {}} />
      <Link.MenuAction title="Delete" icon="trash" destructive onPress={() => {}} />
    </Link.Menu>
  </Link.Menu>
</Link>

Link Previews

<Link href="/settings">
  <Link.Trigger>
    <Pressable><Card /></Pressable>
  </Link.Trigger>
  <Link.Preview />
</Link>

Can be combined with context menus.

Modal

Present a screen as a modal:

<Stack.Screen name="modal" options={{ presentation: "modal" }} />

Prefer this over custom modal components.

Sheet

Present as a dynamic form sheet:

<Stack.Screen
  name="sheet"
  options={{
    presentation: "formSheet",
    sheetGrabberVisible: true,
    sheetAllowedDetents: [0.5, 1.0],
    contentStyle: { backgroundColor: "transparent" },
  }}
/>

contentStyle: { backgroundColor: "transparent" } enables liquid glass on iOS 26+.


Common Route Structure

Standard app layout with tabs and stacks:

app/
  _layout.tsx        — <NativeTabs />
  (index,search)/
    _layout.tsx      — <Stack />
    index.tsx        — Main list
    search.tsx       — Search view

Root layout:

// app/_layout.tsx
import { NativeTabs, Icon, Label } from "expo-router/unstable-native-tabs";
import { Theme } from "../components/theme";

export default function Layout() {
  return (
    <Theme>
      <NativeTabs>
        <NativeTabs.Trigger name="(index)">
          <Icon sf="list.dash" />
          <Label>Items</Label>
        </NativeTabs.Trigger>
        <NativeTabs.Trigger name="(search)" role="search" />
      </NativeTabs>
    </Theme>
  );
}

Shared group layout:

// app/(index,search)/_layout.tsx
import { Stack } from "expo-router/stack";
import { PlatformColor } from "react-native";

export default function Layout({ segment }) {
  const screen = segment.match(/\((.*)\)/)?.[1]!;
  const titles: Record<string, string> = { index: "Items", search: "Search" };

  return (
    <Stack
      screenOptions={{
        headerTransparent: true,
        headerShadowVisible: false,
        headerLargeTitleShadowVisible: false,
        headerLargeStyle: { backgroundColor: "transparent" },
        headerTitleStyle: { color: PlatformColor("label") },
        headerLargeTitle: true,
        headerBlurEffect: "none",
        headerBackButtonDisplayMode: "minimal",
      }}
    >
      <Stack.Screen name={screen} options={{ title: titles[screen] }} />
      <Stack.Screen name="i/[id]" options={{ headerLargeTitle: false }} />
    </Stack>
  );
}

平台分布

OpenClaw

79.99%
按下载量换算8,569

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills