howto-functional-vs-imperative

Community

Refactor code to enforce Functional Core and Imperative Shell principles

Authorayubun
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill guides developers on implementing Functional Core and Imperative Shell principles, helping to write more maintainable, testable, and reliable code.

Core Features & Use Cases

  • Core Principle: Separate business logic (FC) from side effects (IS) in a code file.
  • Use Case: Ideal for code reviews and new/refactored files where you need to apply the FCIS pattern.

Quick Start

Before writing code, review and ensure each file follows FCIS pattern by adding the correct classification comment.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: howto-functional-vs-imperative
Download link: https://github.com/ayubun/dotfiles/archive/main.zip#howto-functional-vs-imperative

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.