neplexlabs/commandkit

commandkit-cache

Implement deterministic caching with @commandkit/cache. Use for 'use cache' directives, cacheTag/cacheLife strategy, revalidateTag invalidation, and provider setup for memory or Redis deployments.

First seen Apr 5, 2026

Installation

$ npx skills add neplexlabs/commandkit --skill commandkit-cache

Also in this package

Other skills from neplexlabs/commandkit · top by installs.

npx skills add neplexlabs/commandkit

Browse all from neplexlabs/commandkit

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 166
License LICENSE
Default branch main
Open issues 3
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.2.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,026 B
  • docs SUMMARY.md 220 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 32 installs

SKILL.md

CommandKit Cache Plugin

Activation guidance

Use for read-heavy deterministic workloads and explicit invalidation design.

Required filesystem expectations

  • plugin registration in commandkit.config.ts
  • cacheable functions in commands/services/helpers
  • optional provider bootstrap module for Redis setup

Execution workflow

  1. Register cache() plugin.
  2. Add 'use cache' to deterministic async functions.
  3. Design tags and TTLs with clear resource boundaries.
  4. Pair writes with revalidateTag.
  5. Choose memory vs Redis based on deployment topology.

Guardrails

  • Do not cache mutation paths.
  • Do not cache sensitive user-specific results without strict key

design.

Reference index

Name Description
references/00-filesystem-structure.md Cache integration locations and bootstrap placement.
references/01-directive-use-cache.md Correct directive usage and deterministic function criteria.
references/02-cachetag-cachelife.md Tag strategy, TTL strategy, and invalidation planning.
references/03-revalidate-tag.md Mutation-side invalidation patterns.
references/04-provider-setup.md Memory/Redis provider setup and topology guidance.

Tool index

Name Description
N/A This skill currently has no helper tool scripts.