add-fresh

Community

Add freshness caching to skip repeated work.

Authormarcglasberg
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Data loading in Cubits can trigger repeated executions when data is unchanged, leading to unnecessary API calls and wasted resources.

Core Features & Use Cases

  • Adds a fresh parameter to mix calls to enforce time-bound re-execution.
  • Supports configuring freshFor durations and per-key freshness to optimize per-scenario caching.
  • Provides force-refresh and retry options to handle exceptional cases.

Quick Start

Identify a Cubit method that loads data and wrap its loading with mix, adding fresh: fresh to enable time-bound caching.

Dependency Matrix

Required Modules

None required

Components

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: add-fresh
Download link: https://github.com/marcglasberg/bloc_superpowers/archive/main.zip#add-fresh

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.