functional-programming-developer
FreeNo executable scriptsNot checkedFunctional architecture guidance for Swift (immutability, pure functions, reducers, DI via functions).
by nonameplum★ 17 GitHub starsAbout this skill
Functional Architecture in Swift
Functional programming first, object-oriented / protocol-oriented programming second.
This skill guides how to design domain and core logic in Swift using immutability, pure functions, and explicit effects.
When to use
- Domain modeling
- Feature / business logic
- Reducers and workflows
- Dependency-injected use cases
- Highly testable code
Architectural patterns
- Functional Core / Imperative Shell
- Feature-oriented design
- Dependency injection via functions
- Mealy & extended state machines
- Effects as data
Functional techniques
- Algebraic Data Types (enum + struct)
- Functional operators (map, flatMap, reduce)
- Partial application & currying
- Optics (Lenses & Prisms with KeyPaths)
Reading order
- references/state-machines.md
- references/functional-operators.md
- references/algebraic-data-types.md
- references/optics.md
- references/dependency-injection-currying.md
- references/dependency-injection-decision-table.md
Dependency injection rules
- Closures first
- Capability structs second
- Protocols last (boundary only)
Testing rules
- Unit tests only in the core
- Fake closures instead of mocks
- No sleeps or timers
Summary
If it’s hard to test, simplify the design.
Install functional-programming-developer in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the functional-programming-developer skill do?
Functional architecture guidance for Swift (immutability, pure functions, reducers, DI via functions).
How do I install the functional-programming-developer skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the functional-programming-developer skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic