phoenix-uploads
Installation
SKILL.md
Phoenix File Uploads
Use this skill before implementing ANY file upload functionality.
RULES — Follow these with no exceptions
- Use manual uploads (NOT
auto_upload: true) for form submission patterns - Always add upload directory to
static_paths()— files won't be accessible without this - Handle upload errors — display
error_to_string/1output in templates - Validate file types server-side — never trust client MIME types
- Restart server after changing
static_paths()— changes don't apply until restart
Implementation Workflow
Follow these steps in order: