evanca/flutter-ai-rules/firebase-storage
Claude Code and agent skill by evanca/flutter-ai-rules
- community
Checking that the SKILL.md file is still in the repository.
Use when setting up Storage, uploading/downloading files, managing metadata, handling errors, or applying security rules.
Install
npx vskill@latest install evanca/flutter-ai-rules/firebase-storageSKILL.md
Firebase Cloud Storage Skill
This skill defines how to correctly use Firebase Cloud Storage in Flutter applications.
When to Use
Use this skill when:
- Setting up Cloud Storage in a Flutter project.
- Uploading or downloading files.
- Managing file metadata.
- Handling Storage errors and monitoring upload progress.
1. Setup and Configuration
- Firebase Storage requires the Blaze (pay-as-you-go) plan.
- Run
flutterfire configureto update your Firebase config with the default Storage bucket name.
Security note: By default, a Cloud Storage bucket requires Firebase Authentication for any action. Configuring public access may also make App Engine files publicly accessible — restrict access again when you set up Authentication.
2. File Operations
Create a reference:
Upload:
Download (in-memory):
Download URL:
Delete:
3. Metadata Management
Get metadata:
Update metadata:
Use custom metadata to store additional key/value pairs with your files.
4. Error Handling
Use try-catch with FirebaseException. Key error codes:
| Code | Meaning | |
|---|---|---|
storage/object-not-found | File doesn't exist at the reference | |
storage/bucket-not-found | No bucket configured for Cloud Storage | |
storage/project-not-found | No project configured for Cloud Storage | |
storage/quota-exceeded | Storage quota exceeded | |
storage/unauthenticated | User needs to authenticate | |
storage/unauthorized | User lacks permission | |
storage/retry-limit-exceeded | Operation timeout exceeded |
- For
quota-exceededon the Spark plan, upgrade to Blaze. - Implement retry logic for network-related errors and timeouts.
5. Performance and Best Practices
Monitor upload progress:
- Cancel uploads with
uploadTask.cancel(). - Pause / resume with
uploadTask.pause()anduploadTask.resume(). - Optimize file sizes before upload to reduce costs and improve performance.
- Use Cloud Storage with Firestore for comprehensive data management.
- Use the Firebase Local Emulator Suite for local development and testing.
6. Security
- Use Firebase Security Rules to control access to files.
- Combine Storage rules with Firebase Authentication for user-based access control.
- Test security rules thoroughly before deploying to production.
References
Security
- Security scanPassed, 95 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/firebase-storage/SKILL.md
Popularity
- Repository stars
- 513
- Repository forks
- 51
- 7-day trend score
- 31
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 1 Apr 2026, 7 months ago.
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/evanca/flutter-ai-rules/firebase-storage)