Updated 1d ago
by modaal-agent
swift-sourcery-templates
Advanced Protocol Mock Code-generation templates for Swift. Add the skill to your AI coding agent, or use Modaal.dev for consistent results. Kotlin counterpart: https://github.com/modaal-agent/kotlin-ksp-mocks
21 GitHub stars (21)
Steady at 21 stars — no new stars in the 16 days since Sep 30.
- 1 skill (1 skills found in its SKILL.md files)
- 0 forks (0 forks)
- 1d ago last update (Last updated 1d ago)
Install
Skills CLI
npx skills add modaal-agent/swift-sourcery-templates
Asks which agents to install it for. Add -g to install it for every project.
Claude Code
git clone https://github.com/modaal-agent/swift-sourcery-templatescp -r "swift-sourcery-templates/skills/swift-sourcery-mocks" ~/.claude/skills/
Copies the swift-sourcery-mocks skill into ~/.claude/skills/ for every project (use .claude/skills/ for one project).
Plugin
/plugin marketplace add modaal-agent/swift-sourcery-templates
Run inside Claude Code if the repository ships a plugin marketplace, then pick plugins from /plugin.
Skills can run code on your machine — read the SKILL.md first.
What it does
In the author's own words, from each skill's SKILL.md.
-
swift-sourcery-mocks
Generate Swift protocol mocks, type erasures and dependency-forwarding Components with the swift-sourcery-templates Sourcery templates. Use when asked to generate mocks for a Swift protocol, add a test double, set up Sourcery in a Swift package or an Xcode project, write a ProtocolMock or CreateMock annotation, generate a type erasure or a DuetComponent, commit pre-generated mocks so consumers ne…
skills/swift-sourcery-mocks/SKILL.md on GitHub (opens in a new tab)
No skill matches that filter.
Review before you install
A skill is a set of instructions and scripts your agent will follow, and it can run code on your machine. Read the SKILL.md and any scripts first — this listing is not a security review.