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.
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
Claude Code plugin for C/C++ development with clangd LSP integration, 14 automated hooks for compilation, linting (clang-tidy), formatting (clang-format), and memory analysis (valgrind)
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
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.
SwiftUI code review with modern API best practices.
Elite iOS and macOS development expertise with automatic skill activation for Swift, SwiftUI, UIKit, Xcode, and Apple frameworks plus code formatting tools