Skip to main content
Scaffolds a storage class and its test file in a module. It writes the class under the module’s src/storage directory, generates a matching test spec, and installs the @talosjs/storage package if it is missing.

Usage

talos storage:create [options]

Examples

talos storage:create
talos storage:create --name=UserAvatar
talos storage:create --name=UserAvatar --module=media --override

Options

OptionDescriptionDefault
--nameStorage class name. The Storage suffix is appended automatically.Prompted if omitted
--moduleTarget module the class is generated into.shared
--overrideOverwrite an existing class without prompting.false

AI Skill

This command ships a matching storage:create skill. It generates the storage class and its test file, then guides your AI agent through completing an S3-compatible storage adapter that extends Storage from @talosjs/storage.
talos claude:init