LogoClawIndex
CasesSkillsAbout
LogoClawIndex

Macro Code gen - Generate code from Chemical compiler macros

Parses Chemical compiler macros and generates AST-based HTML, CSS, JavaScript, SSR, hydration, serialization, and Markdown code.

Tags

Updated: 2026-12-02

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Parse block macros
  • Generate Chemical AST nodes
  • Emit HTML page calls
  • Generate scoped CSS
  • Generate page JavaScript
  • Generate SSR functions
  • Generate hydration dispatches
  • Generate serializer implementations
  • Convert Markdown to HTML

Inputs

  • Chemical source code
  • Macro block syntax
  • ASTBuilder API
  • HtmlPage methods
  • SSR helper definitions

Outputs

  • Generated Chemical AST nodes
  • HTML page emission calls
  • CSS class names
  • Scoped component declarations
  • SSR functions
  • Client JavaScript
  • Hydration dispatches
  • Serializer implementations
  • Generated HTML

Requirements

  • TinyCC build-time compilation
  • Registered CBI plugins
  • Chemical compiler
  • HtmlPage library
  • Compiler and parser dependencies

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
compiler macros
code generation
AST
HTML
CSS
JavaScript
SSR
hydration
serialization
Markdown
Parse block macros
Generate Chemical AST nodes
Emit HTML page calls
Generate scoped CSS
Chemical source code
Macro block syntax
ASTBuilder API
Generated Chemical AST nodes
HTML page emission calls
CSS class names