MUST activate when the project contains a uiBundles/*/src/ directory and the task involves uploading, attaching, or dropping files. Use this skill when adding…
File Upload API (workflow) When the user wants file upload functionality in a React UI bundle, follow this workflow. This feature provides APIs only — you must build the UI components yourself using the provided APIs. CRITICAL: This is an API-only package The package exports programmatic APIs, not React components or hooks. You will: Use the upload() function to handle file uploads with progress tracking Build your own custom UI (file input, dropzone, progress bars, etc.) Track upload progress through the onProgress callback Do NOT: Expect pre-built components like <FileUpload /> — they are not exported Try to import React hooks like useFileUpload — they are not exported Look for dropzone components — they are not exported The source code contains reference components for demonstration, but they are not available as imports. Use them as examples to build your own UI.
don't have the plugin yet? install it then click "run inline in claude" again.