functional-programming-developer
БесплатноБез исполняемых скриптовНе проверенFunctional architecture guidance for Swift (immutability, pure functions, reducers, DI via functions).
от nonameplum★ 17 звёзд на GitHubОб этом скилле
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.
Установить functional-programming-developer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл functional-programming-developer?
Functional architecture guidance for Swift (immutability, pure functions, reducers, DI via functions).
Как установить скилл functional-programming-developer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл functional-programming-developer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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…
от 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…
от 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…
от 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…
от Anthropic