google-cloud-storage
Skill13 starsChanged 26 days agoMITView on GitHub
- Installs packages
In this repository140 other files it gives its agents.
- algoliaSkill
- anthropic-mcpSkill
- anthropicSkill
- argo-cdSkill
- auth0Skill
- aws-bedrockSkill
- aws-dynamodbSkill
- aws-lambdaSkill
- aws-s3Skill
- azure-blob-storageSkill
- azure-openaiSkill
- better-authSkill
- better-sqlite3Skill
- biomeSkill
- braintreeSkill
- bullmqSkill
- caddySkill
- chromadbSkill
- clerkSkill
- cloudflare-d1Skill
- cloudflare-r2Skill
- cloudflareSkill
- cloudflare-workersSkill
- cloudinarySkill
- cohereSkill
- convexSkill
- datadogSkill
- deepgramSkill
- deepseekSkill
- deno-deploySkill
- digitaloceanSkill
- discordSkill
- dockerSkill
- drizzleSkill
- elevenlabsSkill
- eslintSkill
- expressSkill
- fastapiSkill
- firebaseSkill
- flySkill
- geminiSkill
- github-actionsSkill
- githubSkill
- gitSkill
- google-cloud-runSkill
- google-maps-platformSkill
- grafanaSkill
- groqSkill
- helmSkill
- honoSkill
- inngestSkill
- jaegerSkill
- jwtSkill
- kafkaSkill
- kubernetesSkill
- langchainSkill
- langfuseSkill
- langgraphSkill
- lemon-squeezySkill
- linearSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Never pass file buffers through your Node.js application.
- Distinctive: line 22
Use Workload Identity Federation instead of downloading static JSON Service Account keys.
- Distinctive: line 25
If you are serving thousands of small images globally, place Cloud CDN in front of your GCS bucket.
- Very specific: line 28
Use the Google Cloud Storage emulator (fs-test-server) to mock GCS APIs locally during CI without incurring egress charges.
- Very specific: line 31
If Signed URLs fail with 'SignatureDoesNotMatch', ensure the Content-Type header sent by the browser exactly matches the contentType …
- Distinctive: line 41
Use this when your agent works with google-cloud-storage — structured patterns beat pasted docs and prevent common hallucinations.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Google Cloud Storage API Skill
Quick Start
Google Cloud Storage (GCS) is the GCP equivalent of S3, optimized for high durability and tight integration with Google's ML and BigQuery ecosystems.
npm install @google-cloud/storageCommon Workflows
Signed URLs for Client Uploads
Never pass file buffers through your Node.js application. Generate a V4 Signed URL using @google-cloud/storage, send it to the frontend, and have the browser PUT the file directly into GCS.
Production Patterns
Resumable Uploads
For files exceeding 5MB, always utilize resumable uploads. The SDK handles this automatically via bucket.file().createWriteStream({ resumable: true }).
Error Recovery
Handle intermittent network failures during massive downloads by wrapping stream pipes in error handlers and relying on GCS's native retry capabilities built into the Node.js SDK.
Security Notes
Use Workload Identity Federation instead of downloading static JSON Service Account keys. Enforce Uniform Bucket-Level Access to prevent accidental public exposure via individual object ACLs.
Performance Considerations
If you are serving thousands of small images globally, place Cloud CDN in front of your GCS bucket. Do not serve highly-trafficked public assets directly from GCS storage nodes.
Testing Guidance
Use the Google Cloud Storage emulator (fs-test-server) to mock GCS APIs locally during CI without incurring egress charges.
Troubleshooting
If Signed URLs fail with 'SignatureDoesNotMatch', ensure the Content-Type header sent by the browser exactly matches the contentType specified when generating the URL.
References
Related Skills
- [AWS S3](/skills/aws s3)
- Firebase
Why use this skill
Use this when your agent works with google-cloud-storage — structured patterns beat pasted docs and prevent common hallucinations.
AI pitfalls
- Using outdated SDK or API versions from training data
- Inventing environment variable names
- Omitting error handling and retry logic
Production checklist
- Secrets in environment variables, not source code
- Error handling and logging in place
- Rate limits and timeouts configured
Related skills
- [
aws s3](../aws s3/SKILL.md) — related to firebase— related to
Last Verified: 2026-07-02
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

