Configures and diagnoses SourceKit-LSP for Swift projects, handling SwiftPM, compilation databases, and build servers. Use for completion, navigation, refactoring, diagnostics, semantic tokens, indexing, and editor-client issues.
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.
Treat SourceKit-LSP as an editor protocol server whose semantic quality depends on matching toolchain, build settings, modules, generated files, and index state.
sourcekit-lsp, and Swift versionxcode-select, xcrun --find sourcekit-lsp, and xcrun swiftc --versioncompile_commands.json or compile_flags.txtinitialize, opened the document before document requests, preserved the process environment, and framed JSON-RPC messages correctly.diagnose bundle before clearing caches or changing configuration. Read references/sourcekit-lsp-diagnostics.md for the ordered diagnosis path..sourcekit-lsp/config.json as version-sensitive. Verify options against the selected server before adding or changing them.sourcekitd, compiler, SDK, plugins, and built modules from one coherent toolchain selection.xcode, confirm which Xcode is selected rather than treating the proxy as an independent toolchain.swift-semantic-indexing-workflow for direct SourceKit or IndexStoreDB application integrations that do not need LSP.swift-compiler-inspection-workflow for compiler phases and emitted artifacts.xcode-coding-intelligence-workflow and Xcode build execution to xcode-build-run-workflow.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
11 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./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-lang:sourcekit-lsp-workflowfrom swift-lang
npx claudepluginhub gaelic-ghost/socket --plugin swift-langOther plugins' skills for the same job