Skip to main content
Run any Skill in Manus
with one click

cache-setup

Stars30
Forks5
UpdatedJuly 3, 2026 at 01:10

Sets up the model-capable cache architecture from scratch: a local `module/cache_manager` package with ICacheManager + ICacheStrategy backed by Hive (fully encapsulated — the app imports no Hive). Models are stored as JSON via a CacheModel contract (toJson) + a fromJson factory, so no Hive adapters/typeId. A SEPARATE standalone IFallbackStore (SharedPreferences) lives outside the strategy and holds only a few critical keys (auth token). Includes app wiring (ProductCache holder, keys, DI) and an AuthSessionCacheModel DTO example. Use when the user runs /cache-setup or asks to add a cache manager / storage abstraction to the project.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly