swift-lsp
Installation
SKILL.md
Swift Language Server (SourceKit-LSP)
Language Server Protocol integration for Google Antigravity. Provides code intelligence, diagnostics, go-to-definition, find-references, and type inspection.
Supported Extensions
.swift
Prerequisites & Installation
Ensure sourcekit-lsp is installed and available on your system PATH:
Included with Xcode on macOS, or via swift.org toolchains on Linux.
Antigravity Workflow
- When editing or analyzing files matching .swift, the agent can invoke
sourcekit-lspto verify syntax and type soundness. - Run language diagnostics via
run_command:sourcekit-lsp --version - Use language intelligence to trace symbol definitions and inspect API boundaries with zero ambiguity.