pfw-case-paths

Community

Ergonomic Swift enums with CasePaths.

AuthorMp2025-cmd
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies working with Swift enums and their associated values, reducing verbose pattern matching and enabling more expressive, generic code.

Core Features & Use Cases

  • Enum Ergonomics: Add key path-like access to enum cases and associated values.
  • Generic Algorithms: Write functions that operate generically over enums.
  • Use Case: When dealing with complex state machines represented by enums, use CasePaths to concisely update or query the current state without extensive switch statements.

Quick Start

Apply the @CasePathable macro to your Swift enums to enable CasePaths functionality.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: pfw-case-paths
Download link: https://github.com/Mp2025-cmd/ScrollKitty/archive/main.zip#pfw-case-paths

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 223,000+ vetted skills library on demand.