cpn-basic-upload
OfficialGuide AI to correctly configure UDesign Upload
AuthorUCloud-FE
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps AI correctly configure and use the UDesign Upload component by ensuring any extra native props (like style, className, etc.) are automatically attached to the outer container. When Upload is needed, load this Skill to ensure consistent behavior across apps.
Core Features & Use Cases
- Prop merging: automatically attaches extra props to the outer div.
- Use-case guidance: covers single and multi-upload scenarios, onAdd/onRemove handling, and review of listType, accept, maxSize, and disabled configurations.
- Best practices: enforces avoiding external UI libraries and recommends importing Upload from @ucloud-fe/react-components.
Quick Start
Load this Skill before integrating Upload in a React project to ensure prop merging and usage guidelines are followed.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cpn-basic-upload Download link: https://github.com/UCloud-FE/udesign-cli/archive/main.zip#cpn-basic-upload Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.