Skip to main content
Adds a cache adapter class and its test file to the target module. It writes modules/<module>/src/cache/<Name>Cache.ts and modules/<module>/tests/cache/<Name>Cache.spec.ts, then installs the @talosjs/cache dependency if the module lacks it.

Usage

Examples

Options

AI Skill

This command ships a matching cache:create skill. Your AI agent uses it to generate a new cache adapter class and its test file, then implement get, set, delete, and has for the ICache interface from @talosjs/cache.