Claude-skill-registry handling-storage-media
Manages Appwrite Storage for buckets, permissions, and image previews. Use when handling file uploads or displaying gallery images.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/handling-storage-media" ~/.claude/skills/majiayu000-claude-skill-registry-handling-storage-media && rm -rf "$T"
manifest:
skills/data/handling-storage-media/SKILL.mdsource content
Storage and Media Handling
When to use this skill
- Managing tour images.
- Implementing user profile avatars.
- Generating thumbnails/previews.
Workflow
- Create buckets in Appwrite (e.g.,
,tours
).avatars - Set permissions (e.g., Public Read for tours).
- Use
orstorage.getFileView()
for URLs.storage.getFilePreview()
Rules
- Max Size: 5MB for images.
- Allowed Types: jpg, png, webp.
- Optimization: Use Appwrite's built-in preview parameters (width, quality) to save bandwidth.
Instructions
- Placeholders: Show a skeleton or generic travel image if the image fails to load.