modify-caching — community modify-caching, elixir_cache, community, ide skills

v1.0.0

À propos de ce Skill

Idéal pour les agents Elixir cherchant à optimiser les stratégies de mise en cache avec une API de mise en cache unifiée Caching patterns for the elixir_cache project. TRIGGER when: writing or modifying caching code involving Redis, ETS, elixir_cache, Cachex, or any of the _cache apps. Also trigger when working with RedisLock, Cache.Redis, Cache.ETS, or cache sandbox testing. DO NOT TRIGGER when: working with code that doesnt involve caching layers.

MikaAK MikaAK
[0]
[0]
Updated: 3/12/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 7/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
7/11
Quality Score
36
Canonical Locale
en
Detected Body Locale
en

Idéal pour les agents Elixir cherchant à optimiser les stratégies de mise en cache avec une API de mise en cache unifiée Caching patterns for the elixir_cache project. TRIGGER when: writing or modifying caching code involving Redis, ETS, elixir_cache, Cachex, or any of the _cache apps. Also trigger when working with RedisLock, Cache.Redis, Cache.ETS, or cache sandbox testing. DO NOT TRIGGER when: working with code that doesnt involve caching layers.

Pourquoi utiliser cette compétence

Permet aux agents de mettre en œuvre un cache efficace en utilisant des adaptateurs plug-and-play comme Cache.Agent et Cache.ConCache, tout en donnant la priorité aux tests et en fournissant une API de cache unifiée via la macro `use Cache`, prenant en charge des bibliothèques comme con_cache et DETS

Meilleur pour

Idéal pour les agents Elixir cherchant à optimiser les stratégies de mise en cache avec une API de mise en cache unifiée

Cas d'utilisation exploitables for modify-caching

Mettre en œuvre des modèles de cache pour les applications Elixir
Optimiser le stockage du cache en utilisant des adaptateurs DETS ou con_cache
Tester et valider les stratégies de cache avec des adaptateurs plug-and-play

! Sécurité et Limitations

  • Nécessite un environnement Elixir
  • Limité aux cas d'utilisation du cache Elixir
  • Dépendant des bibliothèques d'adaptateurs comme con_cache et DETS

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is modify-caching?

Idéal pour les agents Elixir cherchant à optimiser les stratégies de mise en cache avec une API de mise en cache unifiée Caching patterns for the elixir_cache project. TRIGGER when: writing or modifying caching code involving Redis, ETS, elixir_cache, Cachex, or any of the _cache apps. Also trigger when working with RedisLock, Cache.Redis, Cache.ETS, or cache sandbox testing. DO NOT TRIGGER when: working with code that doesnt involve caching layers.

How do I install modify-caching?

Run the command: npx killer-skills add MikaAK/elixir_cache/modify-caching. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for modify-caching?

Key use cases include: Mettre en œuvre des modèles de cache pour les applications Elixir, Optimiser le stockage du cache en utilisant des adaptateurs DETS ou con_cache, Tester et valider les stratégies de cache avec des adaptateurs plug-and-play.

Which IDEs are compatible with modify-caching?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for modify-caching?

Nécessite un environnement Elixir. Limité aux cas d'utilisation du cache Elixir. Dépendant des bibliothèques d'adaptateurs comme con_cache et DETS.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add MikaAK/elixir_cache/modify-caching. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use modify-caching immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

modify-caching

Install modify-caching, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Caching Patterns

For the full library API reference, read references/elixir-cache-reference.md.

Architecture

elixir_cache provides a unified caching API via the use Cache macro with pluggable adapters:

lib/
├── cache.ex              # Main module: behaviour, `use` macro, delegation
├── cache/
│   ├── agent.ex          # Cache.Agent adapter (simple Agent-based)
│   ├── con_cache.ex      # Cache.ConCache adapter (wraps con_cache library)
│   ├── dets.ex           # Cache.DETS adapter (disk-persisted via Erlang DETS)
│   ├── ets.ex            # Cache.ETS adapter (high-performance in-memory)
│   ├── redis.ex          # Cache.Redis adapter (Redix + Poolboy)
│   ├── sandbox.ex        # Cache.Sandbox adapter (test isolation)
│   ├── sandbox_registry.ex  # Process registry for sandbox isolation
│   ├── term_encoder.ex   # Binary term encoding/decoding
│   └── metrics.ex        # Telemetry event definitions

Cache Behaviour

All adapters implement @behaviour Cache:

elixir
1@callback child_spec({cache_name :: atom, cache_opts :: Keyword.t()}) :: Supervisor.child_spec() 2@callback opts_definition() :: Keyword.t() 3@callback start_link(cache_opts :: Keyword.t()) :: {:ok, pid()} | {:error, term()} | :ignore 4@callback put(cache_name, key, ttl, value) :: :ok | ErrorMessage.t() 5@callback put(cache_name, key, ttl, value, opts) :: :ok | ErrorMessage.t() 6@callback get(cache_name, key) :: ErrorMessage.t_res(any) 7@callback get(cache_name, key, opts) :: ErrorMessage.t_res(any) 8@callback delete(cache_name, key) :: :ok | ErrorMessage.t() 9@callback delete(cache_name, key, opts) :: :ok | ErrorMessage.t()

use Cache Macro

The macro generates public API functions (get/1, put/2, put/3, delete/1, get_or_create/2, etc.) plus adapter-specific functions if the adapter exports __using__/1.

Required options: adapter, name Optional: sandbox?, opts

Adapters

AdapterDescription
Cache.AgentSimple agent-based caching
Cache.DETSDisk-persisted caching with Erlang DETS
Cache.ETSHigh-performance in-memory cache with ETS
Cache.RedisRedis adapter using Redix & Poolboy, supports JSON and Hashes
Cache.ConCacheWrapper around the ConCache library
Cache.SandboxTest adapter (auto-selected when sandbox?: true)

Adapter-specific functions

Some adapters inject extra functions via __using__/1:

  • Cache.ETS — full set of ETS operations (lookup/1, insert_raw/1, match_pattern/1, select/1, tab2list/0, update_counter/2, etc.)
  • Cache.Redis — hash and pipeline functions

Sandbox Testing

When sandbox?: true, Cache.Sandbox adapter is used. Keys are prefixed with a sandbox ID from Cache.SandboxRegistry for per-test isolation.

Setup in test/test_helper.exs:

elixir
1Cache.SandboxRegistry.start_link() 2ExUnit.start()

In test setup:

elixir
1Cache.SandboxRegistry.start([MyCache])

Telemetry Events

  • [:elixir_cache, :cache, :put] — span
  • [:elixir_cache, :cache, :get] — span
  • [:elixir_cache, :cache, :get, :miss] — counter on cache miss
  • [:elixir_cache, :cache, :delete] — span
  • [:elixir_cache, :cache, :put, :error] — counter on error
  • [:elixir_cache, :cache, :get, :error] — counter on error
  • [:elixir_cache, :cache, :delete, :error] — counter on error

All events include %{cache_name: cache_name} metadata.

Adding a New Adapter

  1. Create lib/cache/my_adapter.ex
  2. Implement @behaviour Cache callbacks
  3. Define opts_definition/0 returning a NimbleOptions schema
  4. Optionally export __using__/1 to inject adapter-specific functions
  5. Add tests in test/cache/my_adapter_test.exs
  6. Cache.ETS is the simplest adapter to use as a reference

Compétences associées

Looking for an alternative to modify-caching or another community skill for your workflow? Explore these related open-source skills.

Voir tout

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

widget-generator

Logo of f
f

Générez des plugins de widgets personnalisables pour le système de flux prompts.chat

flags

Logo of vercel
vercel

Le Cadre de Réaction

138.4k
0
Navigateur

pr-review

Logo of pytorch
pytorch

Tenseurs et réseaux neuronaux dynamiques en Python avec une forte accélération GPU

98.6k
0
Développeur