bootstrap-nebulex

Bootstrap Nebulex local caching for Phoenix 1.8 applications.

1|Updated May 7, 2026
One-click install
npx skills add https://github.com/agoodway/GoodSkills --skill bootstrap-nebulex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bootstrap-nebulex
Source: https://github.com/agoodway/GoodSkills/tree/main/skills/bootstrap-nebulex
Command: npx skills add https://github.com/agoodway/GoodSkills --skill bootstrap-nebulex

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the need for application-level caching in a Phoenix 1.8 app by wiring Nebulex into your project so repeated work can be avoided and performance improved.

Core Features & Use Cases

  • Bootstrap Nebulex caching: Adds the Nebulex dependency, creates a cache module using the local in-memory adapter, and starts it under your supervision tree.
  • Provide cache patterns via helpers: Adds a cache helper module that supports get-or-store, namespaced key conventions, and common invalidation/flush operations.
  • Configure sensible GC/memory defaults: Sets production and test configuration for garbage collection timing and cache memory limits to keep behavior predictable.

What problem does it solve?

You want to speed up Phoenix endpoints and repeated computations (like database reads or expensive computations) without introducing external infrastructure.

Quick Start

Install the skill into your Phoenix project and enable local Nebulex caching by running /bootstrap-nebulex.

Frequently Asked Questions about bootstrap-nebulex

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add in-memory caching to a Phoenix application?

To add in-memory caching to Phoenix, this skill wires Nebulex into your supervision tree using the local adapter, creating a cache module with get-or-store patterns and GC defaults to reduce database access.

What's the best way to speed up Phoenix endpoints without external infrastructure?

For speeding up Phoenix endpoints without external infrastructure, Nebulex local caching stores repeated computation results in-memory, applying namespaced keys and invalidation hooks to avoid expensive database reads.

How do I configure Nebulex local caching for Elixir test environments?

Configuring Nebulex local caching for Elixir tests uses test-friendly settings for garbage collection timing and memory limits, ensuring predictable behavior alongside production defaults in your Phoenix project.

When do I need application-level caching in Phoenix?

You need application-level caching in Phoenix when repeated work like database reads or expensive computations slows performance, and Nebulex local in-memory caching avoids this overhead without adding external services.

Can I use Nebulex with a single-node Phoenix setup?

Yes, Nebulex works with a single-node Phoenix setup using the Nebulex.Adapters.Local adapter, which provides fast in-memory caching with memory limits and GC configuration for local caching needs.

What cache patterns does Nebulex support for Phoenix?

Nebulex supports cache patterns for Phoenix including get-or-store, namespaced key conventions, and common invalidation or flush operations through a dedicated helper module integrated into your Elixir application.