By zircote
Add Svelte language server integration to Claude Code, enabling diagnostics, go-to-definition, find references, hover info, and symbol navigation for .svelte files.
A Claude Code plugin providing comprehensive Svelte development support through:
# Run the setup command (after installing the plugin)
/setup
Or manually:
# Install svelte-language-server globally
npm install -g svelte-language-server
# Install development tools
npm install -D svelte-check prettier prettier-plugin-svelte eslint eslint-plugin-svelte
The plugin configures svelte-language-server for Claude Code via .lsp.json.
Capabilities:
| Hook | Trigger | Description |
|---|---|---|
prettier-svelte | **/*.svelte | Code formatting with Prettier |
svelte-check | **/*.svelte | Type checking and validation |
eslint-svelte | **/*.svelte | Linting with ESLint |
svelte-todo-fixme | **/*.svelte | Surface TODO/FIXME comments |
| Tool | Installation | Purpose |
|---|---|---|
svelte-language-server | npm install -g svelte-language-server | LSP server |
svelte-check | npm install -D svelte-check | Type checking |
prettier | npm install -D prettier prettier-plugin-svelte | Formatting |
eslint | npm install -D eslint eslint-plugin-svelte | Linting |
Create a Prettier configuration for Svelte:
{
"plugins": ["prettier-plugin-svelte"],
"overrides": [
{
"files": "*.svelte",
"options": {
"parser": "svelte"
}
}
]
}
Configure ESLint for Svelte:
{
"extends": ["eslint:recommended", "plugin:svelte/recommended"],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"env": {
"browser": true,
"es2017": true,
"node": true
}
}
svelte-lsp/
├── .claude-plugin/
│ └── plugin.json # Plugin metadata
├── .lsp.json # svelte-language-server configuration
├── commands/
│ └── setup.md # /setup command
├── hooks/
│ └── hooks.json # Automated hooks
├── tests/
│ └── Sample.svelte # Sample component for testing
├── CLAUDE.md # Project instructions
└── README.md # This file
.svelte files exist in projectwhich svelte-language-servercat .lsp.jsonnode --versionInitialize TypeScript configuration:
npm install -D typescript
npx svelte-check --init
.prettierrc configuration existsnpx prettier --write "**/*.svelte"Initialize ESLint:
npm init @eslint/config
npm install -D eslint-plugin-svelte
cat hooks/hooks.jsonMIT
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 svelte-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# development with OmniSharp LSP integration, 12 automated hooks for .NET builds, linting, formatting, and testing (xUnit, NUnit)
Rust language server
Haskell Language Server (HLS) integration for Claude Code with LSP support and troubleshooting guidance
Comprehensive GreyCat development skill for graph-based language with built-in persistence. Covers data modeling, API development, parallel processing, frontend integration, and all standard libraries.