By zircote
HTML/CSS language server plugin for Claude Code with vscode-html/css-language-server integration and automated hooks for validation and formatting
npx claudepluginhub zircote/lsp-marketplace --plugin html-css-lspA Claude Code plugin providing comprehensive HTML/CSS development support through:
# Run the setup command (after installing the plugin)
/setup
Or manually:
# Install HTML/CSS language servers
npm install -g vscode-langservers-extracted
# Install development tools
npm install -g prettier stylelint stylelint-config-standard
The plugin configures both HTML and CSS language servers for Claude Code via .lsp.json:
{
"html": {
"command": "vscode-html-language-server",
"args": ["--stdio"],
"extensionToLanguage": {
".html": "html",
".htm": "html"
},
"transport": "stdio"
},
"css": {
"command": "vscode-css-language-server",
"args": ["--stdio"],
"extensionToLanguage": {
".css": "css",
".scss": "scss",
".less": "less"
},
"transport": "stdio"
}
}
HTML Capabilities:
CSS Capabilities:
All hooks run afterWrite and are configured in hooks/hooks.json.
| Hook | Trigger | Description |
|---|---|---|
html-format-on-edit | **/*.html,htm | Auto-format with Prettier |
html-validate | **/*.html,htm | HTML5 validation |
html-todo-fixme | **/*.html,htm | Surface TODO/FIXME comments |
| Hook | Trigger | Description |
|---|---|---|
css-format-on-edit | **/*.css,scss,less | Auto-format with Prettier |
css-lint | **/*.css,scss,less | Lint with stylelint |
css-validate | **/*.css | CSS syntax validation |
| Tool | Installation | Purpose |
|---|---|---|
vscode-html-language-server | npm install -g vscode-langservers-extracted | HTML LSP server |
vscode-css-language-server | npm install -g vscode-langservers-extracted | CSS LSP server |
| Tool | Installation | Purpose |
|---|---|---|
prettier | npm install -g prettier | Formatting |
stylelint | npm install -g stylelint | CSS linting |
stylelint-config-standard | npm install -g stylelint-config-standard | Standard CSS rules |
html-css-lsp/
├── .claude-plugin/
│ └── plugin.json # Plugin metadata
├── .lsp.json # HTML/CSS LSP configuration
├── commands/
│ └── setup.md # /setup command
├── hooks/
│ ├── hooks.json # Hook definitions
│ └── scripts/
│ └── html-css-hooks.sh
├── tests/
│ ├── sample.html # Sample HTML file
│ └── sample.css # Sample CSS file
├── CLAUDE.md # Project instructions
└── README.md # This file
vscode-html-language-server --versioncat .lsp.jsonnode --versionprettier --version.prettierrc in project root if neededstylelint --version.stylelintrc.json in project root:{
"extends": "stylelint-config-standard"
}
MIT
Qiushi Skill: methodology skills for AI agents guided by seeking truth from facts, with Claude Code, Cursor, OpenClaw, Codex, OpenCode, and Hermes guidance.
GDScript language server for Godot Engine