object-storage

Provision GCS-backed object storage with presigned uploads and public/private serving.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/Soufianouassif/Web3-Presale-Platform --skill object-storage-soufianouassif
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: object-storage
Source: https://github.com/Soufianouassif/Web3-Presale-Platform/tree/main/.local/skills/object-storage
Command: npx skills add https://github.com/Soufianouassif/Web3-Presale-Platform --skill object-storage-soufianouassif

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Object Storage setup and usage for web apps in a pnpm monorepo, enabling presigned uploads and public/private asset serving.

Core Features & Use Cases

  • Provision object storage buckets and configure public object search paths and private directories; generate presigned upload URLs for client direct uploads; serve public assets unconditionally and protected private objects as needed.
  • Example: A web app needs to host images and user uploads, with access control and efficient serving.

Quick Start

Provision the Object Storage bucket, wire up the API routes, and enable public object serving and private object uploads.

Frequently Asked Questions about object-storage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Google Cloud Storage for direct file uploads in a pnpm monorepo?

You can set up GCS-backed object storage by provisioning buckets and wiring API routes to generate presigned upload URLs, enabling direct client uploads within your pnpm monorepo. It uses a Google Cloud Storage client and Zod validation.

What is the best way to serve public and private objects from GCS in a web app?

The best way to serve public and private objects is by configuring public search paths and private directories with optional ACL policies. This allows your API server to serve public assets unconditionally and protected private objects as needed.

How do presigned URLs work for client direct uploads to object storage?

Presigned URLs allow clients to upload files directly to your object storage bucket securely. The API server generates these upload URLs, so the client bypasses your server for the file transfer, reducing server load and enabling efficient static asset hosting.

Can I use this object storage setup with a REST and OpenAPI workflow?

Yes, the object storage setup is designed for a REST/OpenAPI workflow. It implements endpoints for uploading URLs, public object retrieval, and private object delivery, using Zod validation to ensure data integrity across your API server.

Do I need ACL policies to control access to private objects in Google Cloud Storage?

ACL policies are optional but recommended for controlling access to private objects in GCS. The setup allows you to configure private directories and protected object delivery, ensuring users only access protected assets as needed via your API server.