hot-reload

Reload running Elixir modules via authenticated dev endpoints.

Updated Apr 18, 2026
One-click install
npx skills add https://github.com/psdjungpulzze/smartstudy --skill hot-reload-psdjungpulzze
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hot-reload
Source: https://github.com/psdjungpulzze/smartstudy/tree/main/.claude/skills/i-i/hot-reload
Command: npx skills add https://github.com/psdjungpulzze/smartstudy --skill hot-reload-psdjungpulzze

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enable hot code reloading to update running Elixir modules without restarting the application, enabling rapid iteration and easier production debugging.

Core Features & Use Cases

  • Authentication plug to secure hot-reload endpoints.
  • Dev controller with POST /dev/hot-reload, POST /dev/eval, and GET /dev/modules for on-the-fly updates.
  • Router and setup guidance for integrating hot-reload into a Phoenix/Elixir app.

Quick Start

Configure a development API key, mount the dev endpoints, and perform a hot-reload to swap code in a running Elixir app.

Frequently Asked Questions about hot-reload

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

FAQPage Schema
How do I update running Elixir modules without restarting the application?

Hot code reloading updates running Elixir modules without application restarts, enabling rapid iteration. It uses a dev controller with endpoints like POST /dev/hot-reload to load new code at runtime.

Can I hot reload Phoenix code in a production-like environment for debugging?

Yes, hot-reload supports real-time debugging and safe testing of changes in production-like environments. It provides router configurations and setup guidance to integrate runtime updates into a Phoenix app.

How do I secure hot reload endpoints in an Elixir application?

You secure hot reload endpoints using the included authentication plug. You configure a development API key to authenticate requests before mounting endpoints like POST /dev/eval and GET /dev/modules.

What is the best way to swap code in a running Elixir app for rapid iteration?

The best way to swap code for rapid iteration is using hot code reloading. By mounting dev endpoints and performing a hot-reload, you update running Elixir modules instantly without server restarts.

Does hot code reloading work with Phoenix router configurations?

Yes, hot code reloading works with Phoenix by providing specific router configurations. These configurations allow you to mount dev controllers that handle runtime code loading and on-the-fly module updates.