# krzysztofzablocki/Swift-Macros

A curated list of awesome Swift Macros

Repository: https://github.com/krzysztofzablocki/Swift-Macros
Canonical: https://ross.abutalabs.com/products/swift-macros
Language: Swift
License: MIT
License Family: permissive
Topics: apple, programming, swift
Last push: 2026-02-15T11:35:53+00:00

## Health v2 (maintenance only)
Score: 59/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 67, release rhythm 35, longevity 84
- inputs: {"age_days": 1176, "days_push": 199, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2465, forks 106 (observed 2026-08-28T04:06:53.613333+00:00)

## What it is
A curated list of community-created Swift Macros and associated learning resources, including tools, frameworks, Apple WWDC sessions, and community blogs. It serves as a reference hub for developers exploring compile-time code generation in Swift.

## Use cases
- find awesome swift macros for code generation
- learn how to write swift macros
- resources for swiftsyntax macro development
- discover community swift macro libraries
- getting started with swift macros in xcode 15
- testing tools for swift macro expansion

## When to choose
- you are an iOS/macOS developer wanting to learn or discover Swift Macros
- you need a curated index of macro libraries and tutorials
- you want WWDC and community resources on SwiftSyntax-based code generation

## When to avoid
- you need a macro implementation itself rather than a list of resources
- you work in a language other than Swift
- you need runtime metaprogramming instead of compile-time macros

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, compiler, documentation
- domain: awesome-lists, developer-tools, programming-languages, tutorials
- platform: -
- tags: swift-macros, swiftsyntax, curated-list, code-generation, apple, macos, swift

## Member repositories
- krzysztofzablocki/Swift-Macros (main) score 59

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:53.613333+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:29:14.759355+00:00, confidence not recorded.
  - readme: https://github.com/krzysztofzablocki/Swift-Macros (fetched 2026-08-28T04:06:53.613333+00:00, sha fd1dce440a71)
- Data as of 2026-08-30T08:39:29.467469+00:00.
