home / skills / nonameplum / agent-skills / swift-case-paths
/swift-case-paths
This skill helps you work with Swift enum cases as first-class values by enabling key path-like access and clean navigation.
npx playbooks add skill nonameplum/agent-skills --skill swift-case-pathsReview the files below or copy the command above to add this skill to your agents.
---
name: swift-case-paths
description: A library for working with enum cases as first-class values, enabling key path-like access to enum cases
---
# CasePaths/CasePathable()
See the [`CasePathsCore`](../casepathscore) module for the `CasePathable` protocol and other core
## Documentation Structure
## Usage Notes
- Documentation is organized progressively from getting started to advanced topics
- Start with the Introduction or Getting Started section
- Consult specific guides for detailed information
## License & Attribution
This skill contains content converted from DocC documentation format.
This skill documents swift-case-paths, a library that treats enum cases as first-class values and enables key path–like access to enum cases. It focuses on progressive documentation from introduction through advanced topics and includes a DocC converter used to generate the skill content. The material helps developers learn how to create, compose, and apply case paths in Swift code.
The documentation explains the CasePathable protocol and related CasePathsCore primitives that represent extraction and embedding of enum cases as value-level functions. It demonstrates how to construct case paths for enum cases, compose them like key paths, and use them to match, transform, or extract associated values. The DocC converter translates Apple-style DocC pages into this skill format for easy consumption by AI coding assistants.
Is this skill the official library documentation?
No. This skill contains converted DocC content for documentation convenience and is not the official source.
Where do I start learning case paths?
Begin with the Introduction or Getting Started sections to grasp CasePathable and basic composition patterns.