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

v1.0.0

このスキルについて

Elixirエージェントがキャッシュ戦略を最適化するための統一キャッシュAPIを使用するのに適しています 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

Elixirエージェントがキャッシュ戦略を最適化するための統一キャッシュAPIを使用するのに適しています 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.

このスキルを使用する理由

エージェントが効率的なキャッシュを実装することを可能にし、Cache.AgentやCache.ConCacheなどのプラグ可能なアダプターを使用し、テストを優先し、`use Cache`マクロを介して統一キャッシュAPIを提供し、con_cacheやDETSなどのライブラリをサポートする

おすすめ

Elixirエージェントがキャッシュ戦略を最適化するための統一キャッシュAPIを使用するのに適しています

実現可能なユースケース for modify-caching

Elixirアプリケーションのキャッシュパターンを実装する
DETSまたはcon_cacheアダプターを使用してキャッシュストレージを最適化する
プラグ可能なアダプターを使用してキャッシュ戦略をテストおよび検証する

! セキュリティと制限

  • Elixir環境が必要
  • Elixirキャッシュ用途のみ
  • con_cacheや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?

Elixirエージェントがキャッシュ戦略を最適化するための統一キャッシュAPIを使用するのに適しています 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: Elixirアプリケーションのキャッシュパターンを実装する, DETSまたはcon_cacheアダプターを使用してキャッシュストレージを最適化する, プラグ可能なアダプターを使用してキャッシュ戦略をテストおよび検証する.

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?

Elixir環境が必要. Elixirキャッシュ用途のみ. con_cacheや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

関連スキル

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

すべて表示

openclaw-release-maintainer

Logo of openclaw
openclaw

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

333.8k
0
AI

widget-generator

Logo of f
f

カスタマイズ可能なウィジェットプラグインをprompts.chatのフィードシステム用に生成する

149.6k
0
AI

flags

Logo of vercel
vercel

React フレームワーク

138.4k
0
ブラウザ

pr-review

Logo of pytorch
pytorch

Pythonにおけるテンソルと動的ニューラルネットワーク(強力なGPUアクセラレーション)

98.6k
0
開発者