clojurescript-cross-platform-code

Official

Write universal ClojureScript code.

Authorpyze
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the complexity of writing ClojureScript code that needs to run seamlessly on both the JVM and in the browser, ensuring consistency and testability across platforms.

Core Features & Use Cases

  • Cross-Platform Development: Write code that functions identically whether compiled for the JVM or JavaScript environments.
  • File Extension Guidance: Provides a clear decision tree for choosing between .clj, .cljs, and .cljc file extensions.
  • Reader Conditionals: Demonstrates best practices for using #?(:cljs ...) and #?(:clj ...) for platform-specific code blocks.
  • JVM Testing: Enables robust unit testing of frontend logic on the JVM, leveraging faster execution and standard tooling.
  • Use Case: Develop a shared library of data transformation functions that can be used both in your backend Clojure API and your frontend ClojureScript application without duplication.

Quick Start

Use the clojurescript-cross-platform-code skill to write a function that logs a message to the console in ClojureScript and to standard output in Clojure.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: clojurescript-cross-platform-code
Download link: https://github.com/pyze/claude-plugin/archive/main.zip#clojurescript-cross-platform-code

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.