One-click install
npx skills add https://github.com/digitalocean-labs/do-app-platform-skills --skill spaces
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spaces
Source: https://github.com/digitalocean-labs/do-app-platform-skills/tree/main/skills/spaces
Command: npx skills add https://github.com/digitalocean-labs/do-app-platform-skills --skill spaces

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires doctl, aws, jq, and includes scripts (resource) and references (resource) components.

What problem does it solve?

DigitalOcean Spaces integration for App Platform apps requires coordinating credentials, buckets, and advanced settings like CORS, CDN, and access logging. This skill automates provisioning and provides a guided workflow for local development parity with MinIO.

Core Features & Use Cases

  • Sets up per-app Spaces credentials and endpoints
  • Configures CORS, presigned URLs, CDN, and static asset delivery
  • Enables access logging and provides local development parity with MinIO

Quick Start

Set DO_SPACES_REGION, DO_SPACES_ENDPOINT, APP_NAME, SRC_BUCKET, LOG_BUCKET, LOG_PREFIX, and DO_SPACES_KEY_NAME in your environment, then run scripts/bootstrap_app_spaces.sh to provision keys, buckets, and logging.

Frequently Asked Questions about spaces

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

FAQPage Schema
How do I automate DigitalOcean Spaces integration for App Platform applications?

You can automate DigitalOcean Spaces integration by running a bootstrap script that provisions per-app credentials, configures CORS and CDN, and enables access logging using doctl and the AWS CLI.

What do I need to configure before setting up Spaces credentials and buckets on App Platform?

Before setting up Spaces, you must set environment variables including DO_SPACES_ENDPOINT, DO_SPACES_REGION, APP_NAME, SRC_BUCKET, LOG_BUCKET, LOG_PREFIX, and DO_SPACES_KEY_NAME for the provisioning scripts.

Does this Spaces provisioning workflow support local development parity?

Yes, the Spaces provisioning workflow includes a guided setup for local development parity using MinIO, allowing you to mirror object storage behavior locally before deploying to App Platform.

Can I use the AWS CLI to manage bucket operations and CORS for DigitalOcean Spaces?

Yes, the workflow uses the AWS CLI for bucket operations and relies on doctl for key management, allowing you to configure CORS, presigned URLs, and CDN settings directly for your Spaces.

What is the best way to enable access logging for DigitalOcean Spaces?

The best way to enable access logging is using the bootstrap script which provisions a dedicated log bucket and prefix to automatically capture and route Spaces access logs during setup.