By zircote
Svelte language server plugin for Claude Code with svelte-language-server integration and automated hooks for linting and formatting
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.
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
Svelte language server for Claude Code with go-to-definition, hover docs, references, and diagnostics on .svelte files.
Specialized commands for Svelte and SvelteKit development
A plugin for all things related to Svelte development, MCP, skills, and more.
SvelteKit and Svelte 5 done right. Runes ($state, $derived, $effect), load functions, form actions, SSR patterns, and modern Svelte your AI agent should follow.
Svelte 5 runes, SvelteKit data flow, routing, and structure patterns
Svelte changes since training cutoff (latest: 5.0.0) — runes ($state, $derived, $effect, $props), snippets replacing slots, callback props replacing events, mount/hydrate API. Load before working with Svelte.