Token导航 LogoToken导航

Agent Skill · 研究检索

taro-documentation(芋头文档)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

taro-documentation 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 8,747。

总安装 15,697周安装 614GitHub Stars 13下载 6,040核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:taro-documentation(芋头文档)
来源仓库:https://github.com/whinc/my-claude-plugins
仓库路径:skills/taro-documentation
安装命令:
npx skills add https://github.com/whinc/my-claude-plugins --skill 'Taro Documentation'
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/whinc/my-claude-plugins --skill 'Taro Documentation'

这个 Skill 是做什么的

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

该技能提供了全面的 Taro 框架文档来支持多平台应用程序的开发。根据用户问题参考整理好的文档文件,将文档知识与实践指导相结合,帮助用户构建有效的 Taro 应用程序。专注于提供准确、上下文相关且可操作的信息,帮助用户解决特定的 Taro 开发挑战。

每周安装量 – 存储库 whinc/我的克劳德插件 GitHub 之星 13 第一次看到 – 安全审计 Gen Agent Trust Hub 通行证 套接字通行证 斯尼克通行证

来源仓库内路径:skills/taro-documentation

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/whinc/my-claude-plugins --skill 'Taro Document…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

taro-documentation 怎么安装?

在终端执行 npx skills add https://github.com/whinc/my-claude-plugins --skill 'Taro Documentation'。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

taro-documentation 支持哪些 AI 工具?

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

taro-documentation 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

taro-documentation 是免费的吗?

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

taro-documentation 用的人多吗?

公开数据是累计安装 15,697 次,近一周安装 614 次,下载 6,040 次,GitHub 13 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

taro-documentation 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 需要厂商级技术支持和 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调用外部服务未明确有提醒
taro-documentation

芋头文档 · 本页

15,69713需要联网MIT通过

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

SKILL.md 原文

Taro Documentation Skill

Overview

Taro is a comprehensive multi-platform development framework that enables building applications for multiple platforms from a single codebase. Platforms include WeChat Mini Programs, Alipay Mini Programs, Baidu Smart Programs, ByteDance Mini Apps, QQ Mini Programs, H5 (web), React Native, and Harmony OS.

Key characteristics:

  • React-like syntax and component model
  • Write once, run on multiple platforms
  • Extensive API coverage for platform-specific features
  • Rich component library
  • Strong TypeScript support
  • Active ecosystem with plugins and UI libraries

When to Use This Skill

Use this skill when users are:

  • Developing Taro applications or mini programs
  • Asking questions about Taro APIs, components, or configuration
  • Troubleshooting Taro-related issues
  • Seeking guidance on Taro best practices
  • Converting or migrating projects to Taro
  • Integrating Taro with other frameworks or libraries

Core Concepts

Framework Architecture

Taro follows a React-like architecture:

  • Component-based: UI built with reusable components
  • JSX syntax: Write UI declaratively using JSX/TSX
  • Virtual DOM: Efficient rendering and updates
  • Lifecycle methods: Component lifecycle hooks
  • State management: Local state and global state solutions

Multi-Platform Compilation

Taro compiles to different platform targets:

  • Compilation time: Code transforms to platform-specific syntax
  • Runtime adapters: Platform API differences handled by runtime
  • Conditional compilation: Platform-specific code when needed
  • Unified APIs: Single API surface across platforms

Project Structure

Standard Taro project organization:

taro-project/
├── src/
│   ├── app.config.ts      # Global app configuration
│   ├── app.ts             # App entry point
│   ├── pages/             # Page components
│   │   ├── index/
│   │   │   ├── index.tsx
│   │   │   └── index.config.ts
│   ├── components/        # Reusable components
│   └── assets/            # Static resources
├── config/
│   ├── index.js           # Build configuration
│   ├── dev.js             # Development config
│   └── prod.js            # Production config
└── package.json

Using Taro Documentation

Available Resources

This skill provides access to comprehensive Taro documentation organized into small topic files (all <100 KB). Choose the file prefix that matches the question:

  1. API References (files prefixed with apis-)

- Network & routing: apis-network*.md, apis-routing.md - Storage & UI feedback: apis-storage*.md, apis-ui-feedback*.md, apis-ui-navigation.md - Device, sensors, connectivity: apis-device-system.md, apis-device-sensors.md, apis-device-connectivity*.md - Media (image/video/audio): apis-media-image.md, apis-media-video*.md, apis-media-audio*.md - Location & canvas: apis-location*.md, apis-canvas*.md - Cloud & payment: apis-cloud*.md, apis-payment.md - Miscellaneous APIs: apis-other*.md - (Files with -partN suffix continue the same topic.)

  1. Component References (files prefixed with components-)

- Containers and layout: components-containers*.md - Basic content: components-basic.md, components-other.md - Forms & inputs: components-form*.md - Navigation: components-navigation.md - Media & graphics: components-media*.md, components-map-canvas.md, components-gesture.md, components-skyline.md - Open capabilities: components-open-capability.md

  1. Configuration References

- config-app.md – Global app configuration (app.config.ts) - config-page.md – Page-level configuration - config-build.md – Build/compiler settings and optimization

  1. Guide References (files prefixed with guides-)

- Getting started & fundamentals: guides-quickstart*.md, guides-basics*.md - Architecture & routing: guides-routing.md, guides-testing.md - State & UI libraries: guides-state.md, guides-ui-libraries.md - Platform specifics: guides-platform-weapp.md, guides-platform-h5.md, guides-platform-rn.md, guides-platform-harmony*.md - Optimization & troubleshooting: guides-optimization*.md, guides-troubleshooting.md, guides-community.md - Plugin development & advanced topics: guides-plugin-dev*.md

How to Reference Documentation

When users ask Taro-related questions:

  1. Identify the topic: Determine which documentation area is relevant (API, component, configuration, or guide)
  2. Load appropriate reference: Use the Read tool to access the specific topic file:
Read references/apis-network.md           # Network/API calls (see apis-network-part*.md for continuation)
Read references/components-form.md        # Form components and inputs
Read references/config-app.md             # Global app configuration
Read references/guides-platform-weapp.md  # WeChat Mini Program guides
  1. Search within files: Use Grep with wildcards to scan the relevant file family:
Grep pattern:"Taro\.request" path:"references/apis-network*.md"
Grep pattern:"Button component" path:"references/components-form*.md"
  1. Provide contextual answers: Combine documentation with understanding of user's context to give relevant, actionable guidance

Common Development Scenarios

API Usage

When users ask about Taro APIs:

  • Reference the relevant references/apis-*.md file (for example, apis-network*.md for network calls or apis-device-system.md for device info)
  • Provide code examples showing API usage
  • Note platform compatibility if relevant
  • Mention common gotchas or best practices

Example: For "How do I make a network request?", reference Taro.request API documentation and provide example with error handling.

Component Usage

When users ask about Taro components:

  • Reference the appropriate references/components-*.md file (for example, components-form*.md or components-media*.md)
  • Show component props and event handlers
  • Provide JSX usage examples
  • Note styling approaches and platform differences

Example: For "How do I create a scrollable list?", reference ScrollView component documentation and demonstrate with sample code.

Configuration

When users ask about project setup or configuration:

  • Reference references/config-app.md, config-page.md, or config-build.md depending on scope
  • Explain configuration options and their effects
  • Show configuration file examples
  • Address build and compilation settings

Example: For "How do I configure page routing?", reference app.config.ts page configuration and demonstrate route setup.

Development Guides

When users need broader guidance or best practices:

  • Reference the matching references/guides-*.md file (for example, guides-platform-weapp.md or guides-state.md)
  • Provide step-by-step guidance for complex tasks
  • Share best practices and common patterns
  • Link related APIs and components

Example: For "How do I integrate Redux?", reference state management guide and show integration steps.

Platform Considerations

Platform-Specific Features

Taro supports multiple platforms with varying capabilities:

  • Some APIs/components are platform-specific
  • Check platform support tables in documentation
  • Use conditional compilation when needed
  • Test on target platforms

Conditional Compilation

For platform-specific code:

// Example of conditional compilation
if (process.env.TARO_ENV === 'weapp') {
  // WeChat Mini Program specific code
}

if (process.env.TARO_ENV === 'h5') {
  // H5 specific code
}

API Compatibility

Check API support across platforms:

  • Documentation includes platform support matrices
  • Some APIs may have limited support on certain platforms
  • Provide fallbacks or alternatives when needed

Best Practices

Code Organization

  • Separation of concerns: Separate UI, logic, and data layers
  • Reusable components: Create generic components for common UI patterns
  • Type safety: Use TypeScript for better development experience
  • Configuration externalization: Keep configuration separate from code

Performance Optimization

  • List rendering: Use virtual lists for long lists
  • Image optimization: Compress images and use lazy loading
  • Code splitting: Split code by routes or features
  • Avoid unnecessary renders: Use React.memo, useMemo, useCallback appropriately

Development Workflow

  • Start with templates: Use official templates for project scaffolding
  • Follow conventions: Adhere to Taro naming and structure conventions
  • Test on multiple platforms: Regularly test on target platforms during development
  • Use developer tools: Leverage Taro DevTools and platform-specific debugging tools

Troubleshooting Approach

When users encounter issues:

  1. Identify the problem area: API, component, configuration, or build issue
  2. Check documentation: Reference relevant documentation section
  3. Verify platform compatibility: Ensure feature is supported on target platform
  4. Review configuration: Check if configuration is correct
  5. Consult guides: Look for similar issues in troubleshooting guides
  6. Provide solutions: Offer concrete fixes or workarounds

Additional Resources

Reference Files

For detailed documentation, consult these topic-specific files (all <100 KB unless noted):

  • **API shards (references/apis-*.md)** – 40+ files covering network, routing, storage, device, media, location, canvas, cloud, payment, and miscellaneous APIs. Files with -partN suffix continue the same topic sequentially.
  • **Component shards (references/components-*.md)** – Containers, basic content, form controls, gestures, skyline rendering, navigation, media, map/canvas, and open capability components.
  • **Configuration files (references/config-*.md)** – config-app.md, config-page.md, and config-build.md for their respective scopes.
  • **Guide shards (references/guides-*.md)** – Quickstart, fundamentals, routing, testing, state, UI libraries, platform-specific guides, optimization, troubleshooting, plugin development, and community resources.
  • references/taro-docs.xml (3.9 MB, 92,568 lines) – Original Repomix bundle retained as a fallback reference when you need the complete archive.
  • ***.original backups** – The previous monolithic files renamed with .original for historical reference; avoid loading them unless necessary.

Search Patterns

When searching within reference files, use glob patterns to cover all shards in a family:

For APIs:

Grep pattern:"Taro\.[APIName]" path:"references/apis-*.md"

For components:

Grep pattern:"<ComponentName" path:"references/components-*.md"

For configuration:

Grep pattern:"config\.(option)" path:"references/config-*.md"

For guides:

Grep pattern:"specific topic" path:"references/guides-*.md"

Working with This Skill

Approach

  1. Listen for Taro mentions: Activate when user mentions Taro-related topics
  2. Assess question type: Determine if question is about API, component, config, or general guidance
  3. Load relevant documentation: Read appropriate reference file or search within it
  4. Provide contextual answer: Combine documentation with user's specific context
  5. Include code examples: Show practical usage when relevant
  6. Note platform considerations: Mention compatibility if relevant

Response Format

Structure responses with:

  • Direct answer to user's question
  • Relevant code examples
  • Links to specific documentation sections (file path and topic)
  • Platform considerations if applicable
  • Related resources or next steps

Summary

This skill provides comprehensive Taro framework documentation to support development of multi-platform applications. Reference the organized documentation files based on user questions, and combine documentation knowledge with practical guidance to help users build effective Taro applications.

Focus on providing accurate, contextual, and actionable information that helps users solve their specific Taro development challenges.

平台分布

Claude Code

26.3%
按下载量换算1,589

windsurf

22.08%
按下载量换算1,334

trae

16.55%
按下载量换算1,000

OpenCode

12.3%
按下载量换算743

Cursor

8.11%
按下载量换算490

Codex

3.67%
按下载量换算222

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills