do-spaces

Generate DigitalOcean Spaces object storage configurations with CDN delivery and access control.

1|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/sitharaj88/claude-skills --skill do-spaces
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: do-spaces
Source: https://github.com/sitharaj88/claude-skills/tree/main/skills/do-spaces
Command: npx skills add https://github.com/sitharaj88/claude-skills --skill do-spaces

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the setup and management of DigitalOcean Spaces, a S3-compatible object storage service, enabling efficient file storage and delivery with Content Delivery Network (CDN) capabilities.

Core Features & Use Cases

  • Object Storage Setup: Create and configure DigitalOcean Spaces buckets for various purposes like static asset hosting, backups, or media storage.
  • CDN Integration: Integrate Spaces with DigitalOcean's CDN for faster, globally distributed content delivery.
  • Access Control & Security: Configure access keys, CORS policies, and ACLs for secure data management.
  • SDK Integration: Provides examples for using S3-compatible SDKs (Node.js, Python, Go) to interact with Spaces.
  • Use Case: You need to host static website assets (images, CSS, JS) and ensure they load quickly for users worldwide. This Skill helps you set up a DigitalOcean Space, configure it for public access, and enable the CDN.

Quick Start

Use the do-spaces skill to generate production-ready object storage configurations with CDN delivery for static assets.

Frequently Asked Questions about do-spaces

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

FAQPage Schema
How do I set up DigitalOcean Spaces for static asset hosting with CDN?

To set up DigitalOcean Spaces for static asset hosting, you create a Space, configure it for public access, and enable the integrated CDN for globally distributed content delivery. This provides production-ready object storage for images, CSS, and JS files.

Can I use S3-compatible SDKs to interact with DigitalOcean Spaces?

Yes, you can use S3-compatible SDKs including Node.js, Python, and Go to interact with DigitalOcean Spaces. The service is fully S3-compatible, allowing you to manage buckets and objects programmatically using existing AWS SDK libraries.

What's the best way to configure access control and security for DigitalOcean Spaces?

The best way to configure access control for DigitalOcean Spaces is by setting up access keys, CORS policies, and ACLs. You can choose between public access patterns for CDN delivery or private access using presigned URLs for secure data management.

Does this approach support managing backups, media, and logs in DigitalOcean Spaces?

Yes, managing backups, media, and logs in DigitalOcean Spaces is fully supported. You can generate object storage configurations with lifecycle management to automatically transition or delete stored data based on your specific retention requirements.

How do I deploy object storage configurations using Terraform and doctl?

You can deploy object storage configurations using Terraform and doctl by generating production-ready setup scripts. These integrations allow you to automate the provisioning and management of DigitalOcean Spaces alongside your existing cloud infrastructure.

When should I use presigned URLs instead of public CDN access for object storage?

You should use presigned URLs instead of public CDN access when you need private access to your object storage. Presigned URLs provide secure, time-limited access to private files, whereas public CDN access is meant for globally distributed delivery of public static assets.