← Back to Skills Marketplace
frank17008

pcloud-components-usage

by Frank · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
37
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install pcloud-components-usage
Description
Use when developer needs to install, use, or look up components from @pointcloud/pcloud-components npm package
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install pcloud-components-usage
  3. After installation, invoke the skill by name or use /pcloud-components-usage
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug pcloud-components-usage
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is pcloud-components-usage?

Use when developer needs to install, use, or look up components from @pointcloud/pcloud-components npm package. It is an AI Agent Skill for Claude Code / OpenClaw, with 37 downloads so far.

How do I install pcloud-components-usage?

Run "/install pcloud-components-usage" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is pcloud-components-usage free?

Yes, pcloud-components-usage is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does pcloud-components-usage support?

pcloud-components-usage is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created pcloud-components-usage?

It is built and maintained by Frank (@frank17008); the current version is v1.0.0.

💬 Comments