← 返回 Skills 市场
frank17008

pcloud-components-usage

作者 Frank · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
37
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install pcloud-components-usage
功能描述
Use when developer needs to install, use, or look up components from @pointcloud/pcloud-components npm package
使用说明 (SKILL.md)

pcloud-components Usage Guide

Overview

@pointcloud/pcloud-components is a React component library based on Ant Design v4.24.16 and React v18. Contains 30+ business components for enterprise mid-backend products.

Quick Start

Installation

# npm
npm install @pointcloud/pcloud-components

# yarn
yarn add @pointcloud/pcloud-components

# pnpm
pnpm add @pointcloud/pcloud-components

Peer Dependencies (Required)

npm install @ant-design/icons@^4.8.3 antd@^4.24.16 react@18 react-dom@18

Basic Usage

import React from 'react';
import { DCascader } from '@pointcloud/pcloud-components';

const App = () => {
  const handleChange = (value, selectedOptions) => {
    console.log(value, selectedOptions);
  };

  return \x3CDCascader showSearch placeholder="请选择" onChange={handleChange} />;
};

export default App;

Using Form Components (DForm)

import { DForm } from '@pointcloud/pcloud-components';

const App = () => {
  const onFinish = (values) => {
    console.log('表单值:', values);
  };
  const items = [
    {
      label: '用户名',
      name: 'username',
      rules: [{ required: true, message: '请输入用户名' }],
      renderType: 'input',
    },
    {
      label: '状态',
      name: 'status',
      rules: [{ required: true, message: '请选择状态' }],
      renderType: 'select',
      options: [
        { label: '启用', value: 1 },
        { label: '禁用', value: 0 },
      ],
    },
    {
      label: '提交',
      renderType: 'button',
      type: 'primary',
      htmlType: 'submit',
    },
  ];

  return \x3CDForm onFinish={onFinish} items={items}>\x3C/DForm>;
};

UMD/CDN Usage

\x3Clink rel="stylesheet" href="https://unpkg.com/@pointcloud/[email protected]/dist/umd/pcloud-components.min.css" />
\x3Cscript src="https://unpkg.com/[email protected]/umd/react.production.min.js">\x3C/script>
\x3Cscript src="https://unpkg.com/[email protected]/umd/react-dom.production.min.js">\x3C/script>
\x3Cscript src="https://unpkg.com/@pointcloud/[email protected]/dist/umd/pcloud-components.min.js">\x3C/script>

Component List

Form Components

Component Description
DForm Enhanced form based on Ant Design Form
DInput Enhanced input component
DSelect Select with async loading support
DCascader Cascader with async loading support
DTreeSelect TreeSelect with async loading support
DUpload File upload component
DRangePicker Date range picker
DynamicFormItem Dynamic form component

Data Display

Component Description
DTable Enhanced table component
LabelValue Label-value display component
WordCloud Word cloud visualization
ScrollNumber Number animation component
AspectRatio Aspect ratio container
NoData No data display component
IPAddress IP address input component
AnimatedScrollList Animated scroll list
OrgTree Organization tree component
TypewriterText Typewriter effect component
ErrorBoundary Error boundary component
IconFont Custom icon component

Modal

Component Description
DModal Enhanced modal component
ModalForm Modal form component
LoginForm Login form component

Other Components

Component Description
Loading Global loading component
ContextMenu Right-click menu component
AdvancedFilter Advanced filter component
InfiniteScrollList Infinite scroll list
PictureCard Picture card component
SignaturePad Signature pad component
RndDrag Draggable resizable component
RCropper Image cropper component
CRUD CRUD operation component
AuthComponent Permission component
ColorPicker Color picker component

Import All Components

import * as PCloud from '@pointcloud/pcloud-components';
// PCloud.DForm, PCloud.DTable, etc.

Documentation

Online docs: https://frank17008.github.io/pcloud-components

Detailed Component Reference

所有组件的详细文档已内置在 skill 中,位置: references/docs/组件名.md

表单组件

组件 文档
DForm references/docs/DForm.md
DInput references/docs/DInput.md
DSelect references/docs/DSelect.md
DCascader references/docs/DCascader.md
DTreeSelect references/docs/DTreeSelect.md
DUpload references/docs/DUpload.md
DRangePicker references/docs/DRangePicker.md
DynamicFormItem references/docs/DynamicFormItem.md

数据展示组件

组件 文档
DTable references/docs/DTable.md
NoData references/docs/NoData.md
Loading references/docs/Loading.md
LabelValue references/docs/LabelValue.md
ScrollNumber references/docs/ScrollNumber.md
TypewriterText references/docs/TypewriterText.md
WordCloud references/docs/WordCloud.md
AspectRatio references/docs/AspectRatio.md
AnimatedScrollList references/docs/AnimatedScrollList.md
ErrorBoundary references/docs/ErrorBoundary.md
IconFont references/docs/IconFont.md
IPAddress references/docs/IPAddress.md
OrgTree references/docs/OrgTree.md

模态框组件

组件 文档
DModal references/docs/DModal.md
ModalForm references/docs/ModalForm.md
LoginForm references/docs/LoginForm.md

其他组件

组件 文档
CRUD references/docs/CRUD.md
AdvancedFilter references/docs/AdvancedFilter.md
ContextMenu references/docs/ContextMenu.md
InfiniteScrollList references/docs/InfiniteScrollList.md
PictureCard references/docs/PictureCard.md
SignaturePad references/docs/SignaturePad.md
RndDrag references/docs/RndDrag.md
RCropper references/docs/RCropper.md
AuthComponent references/docs/AuthComponent.md
ColorPicker references/docs/ColorPicker.md
ConfigProvider references/docs/ConfigProvider.md

在线文档

如需最新在线版本: https://frank17008.github.io/pcloud-components

Environment Requirements

  • React >= 18
  • Ant Design \x3C= 6.x
  • Node >= 16.20.0
  • Modern browsers

Common Issues

  1. Missing peer dependencies: Ensure @ant-design/icons, antd, react, react-dom are installed
  2. Version mismatch: This library requires React 18 and Ant Design 4.x
  3. Style not loading: Import component CSS or use ConfigProvider for global styles
安全使用建议
This appears safe to use as documentation. Before installing the referenced npm package or using the CDN script, confirm that @pointcloud/pcloud-components is the package you intend to trust, pin versions where practical, and review normal dependency risks for your project. ClawScan detected prompt-injection indicators (unicode-control-chars), so this skill requires review even though the model response was benign.
功能分析
Type: OpenClaw Skill Name: pcloud-components-usage Version: 1.0.0 The skill bundle is a comprehensive documentation set for a React component library named `@pointcloud/pcloud-components`. It contains installation guides, component API references, and usage patterns (e.g., in `SKILL.md` and `references/docs/`). There is no evidence of malicious code, data exfiltration, or prompt injection; the content is entirely focused on assisting developers with UI component integration.
能力评估
Purpose & Capability
The artifacts are coherent with the stated purpose: they document installing and using @pointcloud/pcloud-components and its individual React components.
Instruction Scope
The instructions are primarily examples, component references, and user-directed setup commands; no artifact-backed goal override, autonomous action, or evaluator-targeted instruction was found in the provided content.
Install Mechanism
The skill itself has no install spec or code, but SKILL.md tells developers to install an external npm package and optionally load it from unpkg CDN. This is expected for a component-library guide, but users should trust and pin the package source.
Credentials
No credentials, local auth stores, broad filesystem access, background workers, or privileged environment requirements are declared.
Persistence & Privilege
No persistence mechanism, background execution, account mutation, or elevated privilege requirement is shown in the provided artifacts.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install pcloud-components-usage
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /pcloud-components-usage 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the pcloud-components-usage skill. - Provides a comprehensive usage guide for the @pointcloud/pcloud-components React library. - Includes installation steps for npm, yarn, and pnpm, along with required peer dependencies. - Offers code examples for basic usage, DForm, and UMD/CDN integration. - Lists and documents 30+ business components, covering forms, data display, modals, and utilities. - Links to both online and built-in component documentation. - Notes environment requirements and common troubleshooting tips.
元数据
Slug pcloud-components-usage
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

pcloud-components-usage 是什么?

Use when developer needs to install, use, or look up components from @pointcloud/pcloud-components npm package. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 37 次。

如何安装 pcloud-components-usage?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install pcloud-components-usage」即可一键安装,无需额外配置。

pcloud-components-usage 是免费的吗?

是的,pcloud-components-usage 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

pcloud-components-usage 支持哪些平台?

pcloud-components-usage 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 pcloud-components-usage?

由 Frank(@frank17008)开发并维护,当前版本 v1.0.0。

💬 留言讨论