This skill guides developers in adopting the Functional Core, Imperative Shell architectural pattern, a strategy designed to decouple pure business logic from impure I/O operations. By modeling business rules as deterministic functions and delegating side effects to a thin imperative layer, it enables high-speed unit testing, reduces framework dependency churn, and creates more maintainable codebases. The skill provides structured guidance for inventorying side effects, designing command schemas, and refactoring legacy systems into a more resilient, testable structure, complete with automated boundary validation.
Key Features
01Incremental refactoring workflows for legacy imperative code
02Automated architecture boundary validation and test generation
03Side-effect inventory mapping for clear system boundary definition
0410 GitHub stars
05Command schema design for core-to-shell communication
06Pure function modeling for deterministic business logic