← all repositories

BarredEwe/Prefire

Prefire is a Swift library that turns Xcode #Preview blocks into snapshot tests, a Playbook catalog, and AI-ready renders exposed via MCP.

★526 stars Swift Coding Assistants
Collecting fresh signals — velocity needs a few days of history.
collecting data…
star history

Prefire generates snapshot tests, accessibility tests, and a Playbook view catalog from the #Preview blocks developers already write in SwiftUI and UIKit projects. It ships as a Swift package and Xcode plugin. It also renders previews for AI coding agents through an MCP server, enabling tools like Claude Code to visually inspect SwiftUI screens.

Frequently asked

What is BarredEwe/Prefire?
Prefire is a Swift library that turns Xcode #Preview blocks into snapshot tests, a Playbook catalog, and AI-ready renders exposed via MCP.
Is Prefire open source?
Yes — BarredEwe/Prefire is open source, released under the Apache-2.0 license.
What language is Prefire written in?
BarredEwe/Prefire is primarily written in Swift.
How popular is Prefire?
BarredEwe/Prefire has 526 stars on GitHub.
Where can I find Prefire?
BarredEwe/Prefire is on GitHub at https://github.com/BarredEwe/Prefire.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.