squint-runtime

Convert Squint CLJS code to minimal JavaScript output.

60|13|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/plurigrid/asi --skill squint-runtime
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: squint-runtime
Source: https://github.com/plurigrid/asi/tree/main/skills/squint-runtime
Command: npx skills add https://github.com/plurigrid/asi --skill squint-runtime

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers ship CLJS apps with a tiny runtime by compiling to minimal JavaScript, reducing bundle size and load times.

Core Features & Use Cases

  • Minimal runtime: Generates JavaScript with a tiny runtime footprint for small scripts.
  • JS interop: Interop with JavaScript is seamless, speeding up integration with existing code.
  • Use case: Build micro CLJS scripts that load quickly in the browser or embed in small apps.

Quick Start

Just run the build and run commands to compile CLJS to JS and execute the result, for example using an included example.cljs file:

Frequently Asked Questions about squint-runtime

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

FAQPage Schema
How do I compile ClojureScript to minimal JavaScript?

Squint compiles ClojureScript to minimal JavaScript with a ~10KB runtime footprint, ideal for small scripts and embedded web pages where bundle size and load speed matter most.

Can I use ClojureScript for tiny web apps with small file sizes?

Yes. Squint generates lean JavaScript output suitable for micro CLJS scripts, micro-frontends, and lightweight tools that need fast loading and reduced network overhead.

How do I interop between ClojureScript and existing JavaScript code?

Squint provides seamless JavaScript interop, letting you call and integrate with existing JavaScript libraries and code directly without friction or bridging overhead.

What are the limitations of using ClojureScript for browser bundles?

Squint uses string-based keywords and JS-native data structures instead of persistent CLJS collections, and excludes standard CLJS runtime features, trading expressiveness for minimal bundle size.

Do I need build tools to compile ClojureScript to JavaScript?

Squint handles compilation end-to-end with included build and run commands; no separate toolchain setup is required to compile CLJS code and execute the JavaScript output.

Is ClojureScript compilation deterministic across builds?

Yes. Squint produces deterministic JavaScript output, ensuring consistent bundle sizes and reproducible builds across compilation runs.