Query Swift types, USRs, documentation, occurrences, references, and relationships using SourceKit, SourceKitten, and IndexStoreDB. Use for file-local semantics or project-wide symbol questions.
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.
Choose between live file semantics and persisted project-wide index data without substituting syntax shape for type-checked meaning.
xcrun tools and sourcekitd for Apple SDK or Xcode build settingssourcekitd from one toolchain while passing compiler or plugin paths from anotherstructure, syntax, doc, index, complete, or raw-request JSON contract matches a concrete integration need.Return semantic scope, selected toolchain, selected surface, compiler-argument source, position encoding, index freshness, query result, and uncertainty.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
swift, sourcekit, sourcekitten, indexstore, semantic-indexing, symbol-query
/swift-lang:swift-semantic-indexing-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