selmer

Community

Dynamic HTML templates, simplified for Clojure.

Authorhugoduncan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies dynamic HTML or text generation in Clojure, offering an intuitive templating system that avoids complex string concatenation or verbose Hiccup structures.

Core Features & Use Cases

  • Django-Inspired Syntax: Use familiar {{variables}} and {% tags %} for intuitive template creation, making it accessible for designers and developers.
  • Template Inheritance & Includes: Build reusable layouts and components, reducing duplication and promoting consistency across your projects.
  • Rich Filters & Control Flow: Transform data with 50+ built-in filters and manage rendering logic with if and for tags directly in your templates.
  • Use Case: Create a dynamic email template for user welcome messages, where the content (user's name, activation link, premium status) is injected from Clojure data, and the layout (header, footer) is inherited from a base email template, ensuring consistent branding and personalized communication.

Quick Start

Use the selmer skill to render the template string "Hello {{name}}!" with the context map {:name "World"}.

Dependency Matrix

Required Modules

selmer/selmer

Components

scripts

💻 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: selmer
Download link: https://github.com/hugoduncan/library-skills/archive/main.zip#selmer

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