macro-systems
Expert skill for designing and implementing macro systems including hygienic macros, procedural macros, and macro expansion. Supports pattern-based macros, quasi-quotation, and hygiene management.
npx skills add a5c-ai/babysitter --skill macro-systems --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Macro Systems Skill Design and implement macro systems for programming languages, from simple text-based macros to sophisticated hygienic macro systems. ## Capabilities - Design macro invocation syntax and patterns - Implement pattern-based macro matching and expansion - Implement hygienic macro expansion with scope management - Handle macro-generated identifier collision avoidance - Implement procedural/syntax macros with AST manipulation - Design quasi-quotation systems for code generation - Handle macro debugging and error reporting - Implement macro expansion tracing for development ## Usage Invoke this skill when you need to: - Design a macro system for a new language - Implement hygienic macro expansion - Create procedural macro APIs - Build quasi-quotation facilities - Debug macro expansion issues ## Inputs | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | macroType | string | Yes | Type of macro system (pattern, procedural, hygienic) | | targetLanguage | string | Yes | Language for macro implementation (Rust, Scheme, etc.) | | syntax | object | No | Custom syntax specifications | | hygieneModel | string | No | Hygiene model (set
- Capabilities
- Usage
- Inputs
- Feature Options
- Output Structure
- Macro System Types
- Pattern-Based Macros (Scheme-style)
- Procedural Macros (Rust-style)
- Hygienic Expansion
- Quasi-Quotation Implementation
- Expansion Tracing
- Error Handling
- Workflow
- Best Practices Applied
What does the macro-systems skill do?
Expert skill for designing and implementing macro systems including hygienic macros, procedural macros, and macro expansion. Supports pattern-based macros, quasi-quotation, and hygiene management.
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill macro-systems --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
