Designs or repairs Swift data pipelines using functional, monadic flows with Optional, Result, throws, async throws, AsyncSequence, map, flatMap, compactMap, filter, reduce, and imperative fallbacks.
Ships in swift-lang. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Shape Swift data flow as readable functional pipelines whenever that makes the code easier to reason about, test, and compose.
The preferred feel is railway-oriented Swift: values move through named transforms, optional or fallible branches stay explicit, and each stage has one job.
if let, duplicated guard ladders, mutable scratch state, callback pyramids, or unclear failure handling.map, flatMap, compactMap, filter, reduce, Result, Optional, or AsyncSequence.Optional for absence when absence is expected and not diagnosticthrows or async throws for straightforward fallible operationsResult when failures must be stored, combined, or passed as valuesAsyncSequence when values arrive over timeswift-error-handling-style-workflowmapflatMapcompactMapfilterreducezipforEachflatMap, throws, Result.flatMap, or async throws rather than scattering state mutation across branches.for loop when mutation is local, performance-sensitive, or more readable than a forced chain.Return:
Pipeline state: current inputs, outputs, failures, and side effects.Carrier choice: why Optional, Result, throws, async throws, AsyncSequence, or an imperative fallback fits.Refactor plan: stages and files to change.Example shape: a compact code sketch or call-site sketch.Validation: tests or compile checks that prove the flow still works.Optional.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/swift-lang:swift-functional-pipelines-workflowfrom swift-lang
npx claudepluginhub gaelic-ghost/socket --plugin swift-lang11 skills in this plugin
/choose-swift-language-toolingChoose SwiftSyntax, compiler, SourceKit, SourceKitten, IndexStoreDB, or SourceKit-LSP by information and project model. Use before Swift tooling work when Swiftly and Xcode may resolve different binaries./sourcekit-lsp-workflowConfigure or diagnose SourceKit-LSP across SwiftPM, compilation databases, and build servers. Use for completion, navigation, refactoring, diagnostics, semantic tokens, indexing, generated files, or editor-client failures./swift-api-style-workflowReview, design, or repair Swift APIs for Swifty naming, call-site ergonomics, access control, typed result shapes, human-friendly errors, and consistency across sibling symbols. Use swift-error-handling-style-workflow for deeper failure-shape decisions./swift-compiler-inspection-workflowInspect Swift toolchain selection, driver jobs, diagnostics, AST, SIL, LLVM IR, dependencies, modules, and interfaces. Use for compiler behavior, lowering, build-job, or emitted-artifact investigations./swift-error-handling-style-workflowDesign or repair Swift error handling style using throws, typed throws, Result, Optional, AsyncSequence failure types, domain errors, Cocoa bridging, and concise functional recovery paths./swift-format-style-workflowAlign SwiftFormat, SwiftLint, formatter and linter responsibility, checked-in style config, Git hooks, and CI formatting policy for Swift repositories. Use for shared Swift style and formatting before source-organization or modernization passes.Other plugins' skills for the same job