nadolskimm-max/sf-skills/sf-file-management
Claude Code and agent skill by nadolskimm-max/sf-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Manages Salesforce files including ContentDocument, ContentVersion, file uploads, attachments, and external storage. Use when uploading files, linking files to records, querying file metadata, managing file permissions, or migrating from Attachments to Files. Do NOT use for general data operations (use sf-data) or metadata XML (use sf-metadata).
Install
npx vskill@latest install nadolskimm-max/sf-skills/sf-file-managementSKILL.md
The same SKILL.md was published earlier as nadolskimm-max/sf-skills/sf-file-management.
File Management
Core Responsibilities
- Upload and manage files (ContentDocument / ContentVersion)
- Link files to records (ContentDocumentLink)
- Query file metadata and content
- Manage file permissions and sharing
- Migrate legacy Attachments to Files
File Object Model
Upload File (Apex)
Query Files
LWC File Upload
File Size Limits
| Context | Max Size | |
|---|---|---|
| Single file upload (UI) | 2 GB | |
| Apex ContentVersion insert | 37.5 MB (body in transaction) | |
| REST API file upload | 2 GB | |
| Email attachment | 25 MB | |
| Apex Blob variable | 12 MB (heap limit) |
Attachment to Files Migration
Anti-Patterns
| Anti-Pattern | Fix | |
|---|---|---|
Using Attachment object (legacy) | Use ContentVersion / ContentDocument | |
| Large file in Apex Blob variable | Use REST API for files > 12 MB | |
| No ShareType on ContentDocumentLink | Always set ShareType (V, C, or I) | |
| Querying VersionData in bulk | Query metadata first, download individually |
Cross-Skill References
- For Apex file handling: see sf-apex
- For LWC upload components: see sf-lwc
- For batch migration: see sf-async-patterns
- For file security: see sf-security
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sf-file-management/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nadolskimm-max/sf-skills/sf-file-management)