skyroc: Skill for Claude Code

.agents/skills/native-component-doc/SKILL.md

native-component-doc is a skill for Claude Code from Ohh-889/skyroc. It costs 70 tokens per session (3,901 once invoked), scanned A, original, MIT.

A documentation workflow for components in @skyroc/native-ui, a React Native interface library using Uniwind. It locates component source code, demos, playground pages, and MDX documentation, then follows the library’s documentation format.

In plain words
What is it for?
Use it when documenting native components such as buttons, cells, or action sheets. It helps create or update their MDX pages and link each named demo through the native UI documentation site.
Why use it?
It avoids treating mobile component documentation like ordinary web documentation. The workflow keeps demos, previews, playground links, and documentation connected.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is Ohh-889/skyroc's own configuration. It tells Claude Code how to work on skyroc itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything skyroc configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Ohh-889/skyroc. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Ohh-889/skyroc/master/.agents/skills/native-component-doc/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Ohh-889/skyroc

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for native-component-doc

README.md
[![agentmods](https://agentmods.dev/badge/skills/ohh-889/skyroc/native-component-doc/github.svg)](https://agentmods.dev/skills/ohh-889/skyroc/native-component-doc)
Your own site
<a href="https://agentmods.dev/skills/ohh-889/skyroc/native-component-doc"><img src="https://agentmods.dev/badge/skills/ohh-889/skyroc/native-component-doc/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for native-component-doc

Your own site · 80×15
<a href="https://agentmods.dev/skills/ohh-889/skyroc/native-component-doc"><img src="https://agentmods.dev/badge/skills/ohh-889/skyroc/native-component-doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,901 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 6 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Prompt Injection · line 45
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 47
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 48
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 50
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 52
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 53
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.03901
Opus 5.5 $0.00028 $0.01560
Sonnet 5.5 $0.00014 $0.00780
Haiku 4.5 $0.00007 $0.00390

Measured 1mo ago against content hash c202d169c0fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

native-component-doc scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/native-component-doc/SKILL.md · 246 lines

How it starts

The opening of the file, as written. The whole thing — 246 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Native UI 组件文档工作流

为 @skyroc/native-ui(React Native + Uniwind)编写文档的专用工作流。

这不是 web-ui 那套。native 的 <Demo> 会把 demo 源码整份渲染出来、右栏还有整页手机预览, 因此不写内联代码块、demo 一律具名导出、每个 demo 都要在汇总页里串一遍。 与 component-doc(web-ui 用)的差异见文末「与 web-ui 文档规范的差异」。

文件定位规则

给定组件名 $COMPONENT(如 ActionSheet),转 kebab-case $slug(如 action-sheet):

用途 路径
组件源码 packages/native/ui/src/components/$slug/
Playground 单点 demo apps/native-ui-playground/src/demos/$slug/*.tsx
Playground 汇总页 apps/native-ui-playground/src/demos/$slug/index.tsx
Playground 路由页 apps/native-ui-playground/app/components/$slug.tsx
文档 MDX docs/native-ui-docs/content/docs/components/($group)/$slug.mdx

文档基础设施(了解即可,不必每次都读):

文件 作用
docs/native-ui-docs/components/mdx.tsx MDX 组件注册,只有 Demo / PropsTable / TypeTable / UnionType
docs/native-ui-docs/components/demo/index.tsx <Demo>:读 demo 源码 + 渲染预览 + 「在 playground 打开」
docs/native-ui-docs/components/demo/demo-preview.tsx 动态 import demos 目录,按模块名取具名导出
docs/native-ui-docs/components/props-table.tsx <PropsTable> API 属性表
docs/native-ui-docs/components/type-table.tsx <TypeTable> + <UnionType> 类型区
docs/native-ui-docs/components/type-anchor.tsx PascalCase 类型 → 锚点链接,BUILTIN_TYPE_NAMES 白名单
docs/native-ui-docs/components/type-registry.ts 跨页面类型链接注册表
docs/native-ui-docs/lib/playground-demo.ts 文档页 slug → playground 整页路由,决定是否分栏

Read the full file on GitHub · 246 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 246 lines · 70 tokens per session scan A c202d169c0fe

Subscribe to this mod's changes

native-component-doc is a skill published in the GitHub repository Ohh-889/skyroc (797 stars, last pushed 1mo ago), licensed MIT. It adds 70 tokens to every session and 3,901 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

antd

Use when the user's task involves Ant Design (antd) — writing antd components, debugging antd issues, querying antd APIs/props/tokens/demos, migrating between antd versions, or analyzing antd usage in a project. Triggers on antd-related code, imports from 'antd', or explicit antd questions.

ant-design/ant-design-pro · 69 tokens

pro-upgrade

An upgrade guide for projects built with Ant Design Pro, a React-based application template for business software. It compares the project with the latest official template and merges framework updates while preserving application code.

ant-design/ant-design-pro · 63 tokens

antd

Use when the user's task involves Ant Design (antd) — writing antd components, debugging antd issues, querying antd APIs/props/tokens/demos, migrating between antd versions, or analyzing antd usage in a project. Triggers on antd-related code, imports from 'antd', or explicit antd questions.

ant-design/ant-design-cli · 69 tokens

react

Use when building or reviewing a client-side React SPA bundled by Vite (React 19.2): components, where state lives, hooks, server data fetching, client routing, re-render and effect bugs. NOT App Router / server components / SSR (that is nextjs); NOT native screens (that is react-native).

ericrisco/rsc-harness · 70 tokens

owl-admin-frontend-assets

A development guide for the browser-side files and published assets used by Owl Admin, a Laravel-based administration system. It covers admin views, themes, layouts, React work, and asset publishing.

slowlyo/owl-admin · 80 tokens

creative-tim-ui

Creative Tim UI block library assistant. Use when adding, generating, or modifying UI blocks/components/pages from creative-tim.com/ui. Covers design philosophy (minimalism, the 95% rule, research-first), block discovery, both CLI install methods, PRO API key setup, and Creative Tim design rules (orange brand…

creativetimofficial/ui · 91 tokens