stacks-storage

Abstract file storage operations across local disks and S3 in TypeScript.

2|Updated Jul 8, 2026
One-click install
npx skills add https://github.com/bughq/bughq --skill stacks-storage-bughq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stacks-storage
Source: https://github.com/bughq/bughq/tree/main/.claude/skills/stacks-storage
Command: npx skills add https://github.com/bughq/bughq --skill stacks-storage-bughq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies file system management by providing a consistent, Laravel-inspired interface that abstracts away the differences between local storage, S3 buckets, and other storage drivers.

Core Features & Use Cases

  • Unified Storage Facade: Perform operations like put, get, delete, and copy across different disks using a single, intuitive API.
  • Advanced File Handling: Manage file uploads, visibility, MIME types, and checksums with built-in support for local and S3 adapters.
  • Use Case: Easily switch your application's file storage from a local development directory to an S3 bucket in production by simply updating your configuration, without changing your application code.

Quick Start

Use the stacks-storage skill to write a new file named report.txt containing the text Hello World to the default storage disk.

Frequently Asked Questions about stacks-storage

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

FAQPage Schema
How do I switch file storage from local disk to S3 without changing application code?

To switch file storage from local disk to S3, you can use a unified filesystem abstraction layer that relies on a consistent API for reading, writing, and deleting files. By simply updating your storage disk configuration, your application code remains unchanged while routing operations to S3.

What is a unified storage facade in TypeScript?

A unified storage facade in TypeScript is an abstraction layer that provides a single, intuitive API for file manipulation. It allows you to perform operations like put, get, delete, and copy across diverse storage backends such as local disks and S3 buckets.

Can I manage file uploads and visibility across different storage drivers?

Yes, you can manage file uploads, visibility, MIME types, and checksums across different storage drivers. The filesystem abstraction layer offers advanced file handling with built-in support for both local and S3 adapters to ensure consistent manipulation.

Does stacks-storage work with both local and cloud-based file systems?

Yes, stacks-storage works with both local and cloud-based file systems. It provides a unified filesystem abstraction layer designed to facilitate consistent file manipulation operations across diverse storage backends in TypeScript environments.

What's the best way to abstract away differences between local storage and S3 buckets?

The best way to abstract differences between local storage and S3 buckets is implementing a Laravel-inspired filesystem abstraction layer. This approach uses a Storage facade pattern to ensure seamless integration and consistent file manipulation across diverse storage backends.