firebase-storage
Use when setting up Storage, uploading/downloading files, managing metadata, handling errors, or applying security rules.
Install / Use
npx skills add evanca/flutter-ai-rules --skill firebase-storageInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
SecuritySupported Platforms
Our assessment of firebase-storage
firebase-storage scores 88/100 on our quality scale, 582nd of 1,094 Security skills we index.
Its SKILL.md is 4.0 KB long, well organised into 9 sections with 10 code examples: a solid amount of guidance for an agent.
It has 670 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated 12 days ago, so firebase-storage is actively maintained.
- Our last check on 2026-10-31 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-04. Automated pattern scan on 2026-10-04. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
firebase-storage compared with similar skills
All 4 of these similar skills score higher than firebase-storage; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| firebase-storage (this skill)by evanca | 88 | 670 | 12d ago | SKILL.md |
| algorithmic-artby anthropics | 100 | 177.9k | 56d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 56d ago | SKILL.md |
| prospectingby coreyhaines31 | 100 | 60.1k | 6d ago | SKILL.md |
| ad-creativeby coreyhaines31 | 100 | 60.1k | 6d ago | SKILL.md |
Frequently asked questions
- How do I install firebase-storage?
- Run
npx skills add evanca/flutter-ai-rules --skill firebase-storage. The install tabs above show the steps for each supported agent. - Which AI agents does firebase-storage work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is firebase-storage safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is firebase-storage still maintained?
- The repository was last updated 12 days ago, so firebase-storage is actively maintained.
Skill content
View source on GitHubname: firebase-storage description: "Use when setting up Storage, uploading/downloading files, managing metadata, handling errors, or applying security rules." license: MIT
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
flutter pub add firebase_storage
import 'package:firebase_storage/firebase_storage.dart';
final storage = FirebaseStorage.instance;
// Or specify a bucket explicitly:
// final storage = FirebaseStorage.instanceFor(bucket: "gs://BUCKET_NAME");
- 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:
final storageRef = FirebaseStorage.instance.ref();
final fileRef = storageRef.child("uploads/file.jpg");
Upload:
final uploadTask = fileRef.putFile(file);
final snapshot = await uploadTask;
final downloadUrl = await snapshot.ref.getDownloadURL();
Download (in-memory):
final data = await fileRef.getData();
Download URL:
final downloadUrl = await fileRef.getDownloadURL();
Delete:
await fileRef.delete();
3. Metadata Management
Get metadata:
final metadata = await fileRef.getMetadata();
print('Content type: ${metadata.contentType}');
print('Size: ${metadata.size}');
Update metadata:
final newMetadata = SettableMetadata(
contentType: "image/jpeg",
customMetadata: {'uploaded_by': 'user123'},
);
await fileRef.updateMetadata(newMetadata);
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:
final uploadTask = fileRef.putFile(file);
uploadTask.snapshotEvents.listen((TaskSnapshot snapshot) {
print('Progress: ${(snapshot.bytesTransferred / snapshot.totalBytes) * 100}%');
});
- 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
Related Skills
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
prospecting
60.1kWhen the user wants to find and qualify prospects for outbound, or asks who to target first, which signal to prioritize, or where to spot buyers with the problem: buying signals, enrichment, verification, account research.
ad-creative
60.1kWhen the user wants to write or judge ad creative, or asks which ad, hook, or angle to run or kill: headlines, primary text, and variations for Google, Meta, LinkedIn, and TikTok, fresh angles when creative fatigues. Test hypotheses name the metric, comparison, and expected direction.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
