Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

experience-ui-bundle-file-upload-generate

Skill by forcedotcom

Adds file upload to a React UI bundle app on Salesforce. It provides the upload() and createContentVersion() APIs with progress tracking, but no pre-built UI components.

  • Score 80
  • 1.2k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install experience-ui-bundle-file-upload-generate

Built from the published package, never by AI.

git clone --depth 1 https://github.com/forcedotcom/sf-skills /tmp/sf-skills && mkdir -p ~/.claude/skills && cp -r /tmp/sf-skills/skills/experience-ui-bundle-file-upload-generate ~/.claude/skills/experience-ui-bundle-file-upload-generat

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install experience-ui-bundle-file-upload-generate in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an AI assistant through adding file upload functionality to a React UI bundle app. The package it describes exports programmatic APIs, not React components or hooks. The main function, upload(), sends files to Salesforce and reports progress through an onProgress callback. Each file returns a contentBodyId, and a contentVersionId is added when a record ID is provided.

The skill covers three patterns: basic upload without record linking, upload with immediate linking to an existing record, and deferred linking after a record is created. It also covers cancelling uploads with an AbortController and linking files to the current user. The source says developers must build their own file input, dropzone and progress display. It is aimed at developers building UI bundle apps who need file attachments on Salesforce records.

Written from the project's SKILL.md and checked against it.

What it can do

  • upload()Uploads files with progress tracking through an onProgress callback.
  • Immediate record linkingCreates ContentVersion records when a recordId is passed to upload().
  • createContentVersion()Links a previously uploaded file to a record after the record is created.
  • getCurrentUserId()Returns the current user's Salesforce ID for uploads to a personal library.
  • Upload cancellationCancels uploads through an optional AbortController signal.
  • Status trackingReports pending, uploading, processing, success and error states for each file.

What you need

  • A Salesforce UI bundle project with a uiBundles/*/src/ directory
  • npm 7.0.0 or later
  • React
  • A Salesforce org where the UI bundle is deployed or run on localhost

Try asking

  • Add file upload to my UI bundle form with a progress bar for each file
  • Upload these files and link them to the Account record with ID 001xx000000yyyy
  • Create a deferred upload flow that attaches files after the Case is saved

Good to know

  • Provides APIs only. No pre-built components or hooks are exported.
  • Reference components in the source are examples and cannot be imported.
  • Upload CORS errors may occur unless the bundle is deployed to Salesforce or runs on localhost.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/experience-ui-bundle-file-upload-generate/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to experience-ui-bundle-file-upload-generate

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

experience-ui-bundle-file-upload-generate: common questions

Does this skill include a ready-made file upload component?

No. The source says the package exports APIs only, and the assistant must build the file input, dropzone and progress UI itself.

What does the upload return?

Each file returns a fileName, size and contentBodyId. A contentVersionId is included only when a recordId was provided.

Can uploads be cancelled?

Yes. The source shows passing an AbortController signal to upload() and calling abort() to cancel.

How do I install experience-ui-bundle-file-upload-generate?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is experience-ui-bundle-file-upload-generate free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is experience-ui-bundle-file-upload-generate safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to experience-ui-bundle-file-upload-generate?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

experience-ui-bundle-file-upload-generate Install

Add to stack

Loading.