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.
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-generatRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install experience-ui-bundle-file-upload-generate in Claude Code
git clone --depth 1 https://github.com/forcedotcom/sf-skills /tmp/sf-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/sf-skills/skills/experience-ui-bundle-file-upload-generate ~/.gemini/antigravity-cli/skills/experience-ui-bundle-file-upload-generatAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install experience-ui-bundle-file-upload-generate in Antigravity CLI
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
ANo 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 →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
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.
