crystal-macros

Official

Crystal macros for code generation

AuthorTheBushidoCollective
Version1.0.0
Installs0

System Documentation

What problem does it solve?

You harness Crystal's macro system for compile-time code generation, DSL creation, and AST manipulation to build powerful abstractions with zero runtime overhead.

Core Features & Use Cases

  • Macro-based code generation and boilerplate reduction
  • DSLs built with macro methods for expressive APIs
  • Compile-time computations, validations, and AST manipulation
  • Serialization/deserialization code generation
  • Debugging and introspection tooling

Quick Start

Define a simple macro to generate getters or setters, then use macro expansion to create boilerplate code at compile time.

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: crystal-macros
Download link: https://github.com/TheBushidoCollective/han/archive/main.zip#crystal-macros

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