emacs-modular-config

Load Emacs modules via jf and straight.el with error handling.

Updated Jan 20, 2026
One-click install
npx skills add https://github.com/moogah/emacs --skill emacs-modular-config
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: emacs-modular-config
Source: https://github.com/moogah/emacs/tree/main/.claude/skills/emacs-modular-config
Command: npx skills add https://github.com/moogah/emacs --skill emacs-modular-config

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps users manage Emacs modules and their loading behavior, enabling reliable, debuggable configurations and automated package handling with straight.el.

Core Features & Use Cases

  • Modular loading with jf/enabled-modules and jf/load-module, plus robust error handling so configuration continues even if a module fails.
  • Automatic machine-specific configs loaded from local/{hostname}.el and easy debugging of module load order.
  • Simplified workflow for adding, testing, and reloading modules during development in isolated worktrees.

Quick Start

Edit the module configuration and reload modules to test changes in the isolated environment.

Frequently Asked Questions about emacs-modular-config

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

FAQPage Schema
How do I manage Emacs modular configuration loading without breaking the entire setup?

Emacs modular configuration loading can be managed safely using the jf module system with robust error handling, ensuring that if one module fails to load, the configuration process continues without breaking the entire setup.

How does straight.el work with Emacs modular configs?

Straight.el works with Emacs modular configs by serving as the automated package manager, simplifying package handling and ensuring reliable, debuggable configurations when loading modules via the jf system.

How do I load machine-specific Emacs configs automatically?

To load machine-specific Emacs configs automatically, the configuration system retrieves and applies settings from a local file named after the hostname, such as local/hostname.el, during the module loading process.

Why does my Emacs module fail to load during development in isolated worktrees?

An Emacs module might fail to load due to errors in the module configuration or incorrect load order, but the jf system's robust error handling captures these failures and provides debugging capabilities to identify the issue.

What is the best way to reload Emacs modules to test changes?

The best way to reload Emacs modules to test changes is by editing the module configuration and using the jf/load-module function, which allows you to refresh modules directly within your isolated development worktrees.

Can I debug Emacs module load order easily?

Yes, you can debug Emacs module load order easily using the jf module system, which provides mechanisms to track and troubleshoot the sequence in which modules are loaded during the configuration process.