mds-maud-patterns

Enforce Maud composition, escaping, and structure patterns for Rust UI components.

Updated Jan 6, 2026
One-click install
npx skills add https://github.com/eboody/eran.codes --skill mds-maud-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mds-maud-patterns
Source: https://github.com/eboody/eran.codes/tree/main/.codex/skills/mds-maud-patterns
Command: npx skills add https://github.com/eboody/eran.codes --skill mds-maud-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures consistent and high-quality UI development by enforcing approved Maud composition, escaping, and structure patterns within the project.

Core Features & Use Cases

  • Enforces Maud Idioms: Guides developers to use documented Maud patterns over personal preferences.
  • Promotes Readability & Modularity: Encourages typed components, typed composition edges, and enum-driven variants for cleaner code.
  • Use Case: When building a new UI component, developers consult this Skill to understand the best practices for structuring render logic, handling child components, and managing data variants, leading to more maintainable and understandable code.

Quick Start

Apply repo-approved Maud composition, escaping, and structure patterns when building component_spec.ui and generated Maud templates.

Frequently Asked Questions about mds-maud-patterns

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

FAQPage Schema
How do I structure Rust UI components using Maud templates?

Structure Rust UI components using Maud templates by applying typed render components, typed composition edges, and enum-driven variants to enhance readability, modularity, and maintainability across your project's rendering logic.

What are the best practices for Maud composition and escaping in Rust?

Best practices for Maud composition and escaping involve prioritizing documented Maud idioms over personal preferences, enforcing typed composition contracts, and standardizing log surface structuring for consistent UI development.

How do I manage data variants when building UI components in Rust with Maud?

Manage data variants in Rust with Maud by implementing enum-driven variants within your typed render components, ensuring cleaner code structure and explicit handling of different UI states during component composition.

Can I use Maud for modular UI development in a Rust project?

Yes, you can use Maud for modular UI development in a Rust project by enforcing typed composition edges and render composition contracts, which promote modularity and maintainable component design.

How do I standardize Maud rendering patterns across a Rust development team?

Standardize Maud rendering patterns across a Rust team by consulting repo-approved guidelines for structuring render logic, handling child components, and managing data variants to ensure consistent and high-quality UI development.

What's the difference between typed render components and standard Maud templates?

Typed render components differ from standard Maud templates by enforcing typed composition edges and enum-driven variants, which provide explicit contracts for child component handling and improve overall code readability and maintainability.