By zircote
Swift language server plugin for Claude Code with SourceKit-LSP integration and automated hooks for formatting, linting, and testing
A Claude Code plugin providing comprehensive Swift development support through:
# Run the setup command (after installing the plugin)
/setup
Or manually:
# SourceKit-LSP is included with Xcode
xcode-select --install
# Install development tools
brew install swiftformat swiftlint
The plugin configures SourceKit-LSP for Claude Code via .lsp.json:
{
"swift": {
"command": "sourcekit-lsp",
"args": [],
"extensionToLanguage": {
".swift": "swift"
},
"transport": "stdio"
}
}
Capabilities:
| Hook | Trigger | Description |
|---|---|---|
swiftformat | **/*.swift | Code formatting |
swiftlint | **/*.swift | Linting and style checks |
swift-syntax | **/*.swift | Syntax validation |
swift-todo-fixme | **/*.swift | Surface TODO/FIXME comments |
| Tool | Installation | Purpose |
|---|---|---|
sourcekit-lsp | Included with Xcode | LSP server |
swiftformat | brew install swiftformat | Formatting |
swiftlint | brew install swiftlint | Linting |
swift-lsp/
├── .claude-plugin/
│ └── plugin.json # Plugin metadata
├── .lsp.json # SourceKit-LSP configuration
├── commands/
│ └── setup.md # /setup command
├── hooks/
│ └── scripts/
│ └── swift-hooks.sh
├── tests/
│ └── SampleTest.swift # Test file
├── CLAUDE.md # Project instructions
└── README.md # This file
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub zircote/lsp-marketplace --plugin swift-lspPersistent memory system for AI coding assistants. Captures decisions, learnings, and context from coding sessions and surfaces them when relevant.
Pure filesystem-based memory system for Claude Code with custom ontology support
Rust language server
Comprehensive agent library featuring 115+ specialized Opus 4.5 agents organized by domain
Detect AI-generated writing patterns and build authentic voice profiles through adaptive interviews and computational stylistics
Swift language server
Automatically format Swift files with swift-format after Write/Edit/MultiEdit operations
Advanced Swift programming skills for iOS and protocol-oriented programming
Expert Swift 6.2 + SwiftUI for iOS 26, macOS 26, iPadOS 26, watchOS 26, visionOS 26, tvOS 26 with Liquid Glass, @Observable, actors, SwiftData inheritance
Agent skills for building, debugging, profiling, testing, refactoring, and shipping Swift apps across Apple platforms.
This skill should be used when writing or reviewing Swift code for iOS or macOS projects. Apply modern Swift 6+ best practices, concurrency patterns, API design guidelines, and migration strategies. Covers async/await, actors, MainActor, Sendable, typed throws, and Swift 6 breaking changes.