Routes Swift tooling (SwiftSyntax, compiler, SourceKit, SourceKitten, IndexStoreDB, SourceKit-LSP) by task and resolves toolchain ownership between Swiftly and Xcode.
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.
Read when SKILL.md points to them.
Route Swift tooling by the information the task needs. Resolve toolchain ownership before interpreting output.
Package.swift, Xcode project markers, build configuration, generated sources, and existing tooling dependencies.command -v swift, command -v swiftc, and swift --versionswiftly use --print-location when Swiftly is installedxcode-select -p, xcrun --find swiftc, and xcrun swiftc --version on macOSSwiftly, Xcode, or another explicitly named toolchainswift-syntax-tooling-workflowswift-compiler-inspection-workflowswift-semantic-indexing-workflowsourcekit-lsp-workflow.swift-version selection, and toolchain-version matrices unless repository guidance selects Xcode.xcrun-resolved tools when the task depends on an Apple SDK, selected Xcode, Xcode build settings, or Xcode-bundled SourceKit behavior.swiftly use xcode makes Swiftly proxy the currently selected Xcode toolchain; still record both the Swiftly selection and xcode-select result.sourcekitd, SourceKit-LSP, SDKs, plugins, or SwiftSyntax libraries from another and call the result valid.swiftly use, .swift-version, xcode-select, Xcode settings, or DEVELOPER_DIR merely to inspect state.Return:
Toolchain ownership: Swiftly, Xcode, or another named owner for every selected binary.Information model: syntax, compiler artifact, semantic query, index, or LSP.Project model: SwiftPM, Xcode, compilation database, build server, or loose file.Selected workflow: one primary skill and any required handoff.Evidence: versions, resolved paths, build settings, and freshness of generated modules or indexes.Read references/tool-selection-matrix.md for the detailed routing matrix and stability classes.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
11 skills in this plugin
/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./swift-functional-pipelines-workflowDesign or repair Swift data modeling and data pipelines using functional, composable, monadic flows with Optional, Result, throws, async throws, AsyncSequence, map, flatMap, compactMap, filter, reduce, and clear imperative fallbacks when needed. Use swift-error-handling-style-workflow for deeper error carrier and diagnostic decisions./swift-lang:choose-swift-language-toolingfrom swift-lang
npx claudepluginhub gaelic-ghost/socket --plugin swift-langOther plugins' skills for the same job