Parse, inspect, generate, or transform Swift source with SwiftParser and SwiftSyntax for codemods, structural linting, generators, syntax-aware edits, or macro trees without inferred types.
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.
Build source-accurate Swift tooling without confusing a syntax tree with the compiler's type-checked AST.
#if regions and generated sourcexcrun when the tool must match an Apple SDK, selected Xcode compiler, or Xcode macro behavior.swift appears first on PATH.swift-semantic-indexing-workflow when the task needs inferred types, USRs, overload resolution, documentation from compiled modules, or project-wide references.swift-compiler-inspection-workflow when the task needs the compiler AST, SIL, IR, module interfaces, or driver jobs.Return the selected toolchain, SwiftSyntax products, transformation contract, preservation rules, changed artifacts, and fixture or build validation.
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./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-lang:swift-syntax-tooling-workflowfrom swift-lang
npx claudepluginhub gaelic-ghost/socket --plugin swift-langOther plugins' skills for the same job