storage-development
OfficialGuides building and extending storages.
AuthorRytass
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps developers build and extend the @rytass/storages base package, providing a unified foundation for storage adapters, file converters, and error handling.
Core Features & Use Cases
- Provides the Storage<O> base class and StorageInterface contract to ensure consistency across adapters.
- Integrates ConverterManager to apply file transformations (e.g., resizing, encoding) before upload.
- Demonstrates common implementation patterns for hash-based filenames, error translation, and idempotent operations.
Quick Start
Create a new adapter by extending Storage<MyOptions>, implement write/read/remove/isExists, wire up a converter pipeline, and reuse getBufferFilename/getStreamFilename to produce stable, unique keys.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: storage-development Download link: https://github.com/Rytass/Utils/archive/main.zip#storage-development Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.