rust-maud

Community

Generate compile-time verified HTML in Rust.

Authorbugabinga
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Building HTML in Rust often leads to runtime template errors, awkward escaping, and fragile string concatenation, especially as pages grow and components proliferate.

Core Features & Use Cases

  • Compile-time verified markup: Use Maud’s html! macro so template structure is checked at build time rather than failing at runtime.
  • Safe escaping with escape control: Rely on automatic escaping and selectively disable it via PreEscaped when inserting trusted HTML.
  • Reusable component patterns: Compose pages from functions and implement Render for domain types to keep view logic maintainable.
  • Framework-friendly output: Return Markup from Actix, Rocket, or Axum handlers to integrate templating into real web services.

Quick Start

Use the rust-maud skill to write a Maud html! template that renders an h1 element greeting the provided name.

Dependency Matrix

Required Modules

None required

Components

Standard package

đź’» 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: rust-maud
Download link: https://github.com/bugabinga/pi-ext/archive/main.zip#rust-maud

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 471,000+ vetted skills library on demand.