clojurescript-shadow-cljs

Configure Shadow-CLJS builds and manage ClojureScript hot reloading.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/pyze/claude-plugin --skill clojurescript-shadow-cljs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clojurescript-shadow-cljs
Source: https://github.com/pyze/claude-plugin/tree/main/skills/clojurescript-shadow-cljs
Command: npx skills add https://github.com/pyze/claude-plugin --skill clojurescript-shadow-cljs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of building ClojureScript applications, enabling efficient development through hot reloading and providing clear guidance on build configurations and debugging.

Core Features & Use Cases

  • Shadow-CLJS Configuration: Guides users through setting up shadow-cljs.edn for compilation targets, development servers, and nREPL.
  • Hot Reloading: Explains how to implement after-load hooks and use defonce to preserve state during development.
  • Debugging Build Issues: Provides strategies for troubleshooting compilation errors, stale code, and REPL connection problems.
  • Use Case: When encountering issues with code not updating in the browser after a change, this skill helps diagnose and fix the hot reload mechanism.

Quick Start

Use the clojurescript-shadow-cljs skill to configure the build settings in shadow-cljs.edn.

Frequently Asked Questions about clojurescript-shadow-cljs

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

FAQPage Schema
How do I configure shadow-cljs for ClojureScript compilation targets?

Configure shadow-cljs by defining compilation targets, development servers, and nREPL connections within the `shadow-cljs.edn` file to manage your ClojureScript build process.

Why is my ClojureScript hot reload not updating code in the browser?

Hot reload issues often stem from missing `after-load` hooks or improper state management; use `defonce` to preserve state and ensure the shadow-cljs build configuration triggers reloads correctly.

What is the best way to preserve state during ClojureScript hot reloading?

Preserve state during hot reloading by using `defonce` for application state and implementing `after-load` hooks to re-render or re-initialize components without losing existing data.

How do I troubleshoot nREPL connection problems with shadow-cljs?

Troubleshoot shadow-cljs nREPL connection problems by verifying the nREPL port configuration in `shadow-cljs.edn` and ensuring the development server is actively running before connecting.

How to fix stale code and compilation warnings in a shadow-cljs build?

Fix stale code and compilation warnings in shadow-cljs by reviewing build output logs, clearing cached compilation artifacts, and ensuring your build dependencies are correctly resolved.