Ross ROSS = Recommend OSS · open-source software intelligence for agents

krzysztofzablocki/Sourcery

Meta-programming for Swift, stop writing boilerplate code. observed · 2026-08-28

github.com/krzysztofzablocki/Sourcery · homepage · Swift · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

68/100

  • Activity 87
  • Release rhythm 24
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 130.5
  • age_days: 3552
  • days_rel: 349
  • days_push: 83
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

8018 stars · 634 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Sourcery is a code generator for the Swift language built on Apple's SwiftSyntax, using templates (Stencil, Swift templates) to eliminate boilerplate like mock implementations, equality, and Codable conformances. It is widely adopted in iOS and macOS projects and runs as a CLI or build-phase tool.

Use cases

  • generate mock classes for Swift protocols automatically
  • remove repetitive boilerplate code in iOS projects
  • auto-generate Equatable and Codable conformances
  • generate code from Swift type information using Stencil templates
  • speed up writing test doubles for unit tests
  • automate repetitive Swift code generation in Xcode build phases

When to choose

  • you write lots of repetitive Swift boilerplate like mocks or conformances
  • you want template-driven codegen integrated into Xcode or CI
  • you need a mature, widely adopted Swift metaprogramming tool

When to avoid

  • your project is not in Swift
  • you prefer hand-written explicit code over generated files
  • you need runtime metaprogramming rather than build-time generation

Facets

cli-tool · maturity stable

developer-tools parser templating developer-tools programming-languages mobile-development cli swift metaprogramming boilerplate swiftsyntax stencil-templates ios mock-generation codable code-generation automation macos linux

4 sources

Member repositories

RepositoryRoleHealth v2
krzysztofzablocki/Sourcerymain68

For agents

markdown · JSON · MCP: product_card(name="krzysztofzablocki/Sourcery")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem