By zircote
YAML language server plugin for Claude Code with yaml-language-server integration and automated hooks for validation and formatting
npx claudepluginhub zircote/lsp-marketplace --plugin yaml-lspA Claude Code plugin providing comprehensive YAML development support through:
# Run the setup command (after installing the plugin)
/setup
Or manually:
# Install yaml-language-server
npm install -g yaml-language-server
# Install development tools
pip install yamllint
npm install -g prettier
The plugin configures yaml-language-server for Claude Code via .lsp.json:
{
"yaml": {
"command": "yaml-language-server",
"args": ["--stdio"],
"extensionToLanguage": {
".yaml": "yaml",
".yml": "yaml"
},
"transport": "stdio"
}
}
Capabilities:
| Hook | Trigger | Description |
|---|---|---|
yamllint | **/*.yaml | YAML validation |
prettier | **/*.yaml | Formatting |
yq-validate | **/*.yaml | Syntax validation |
yaml-todo-fixme | **/*.yaml | Surface TODO/FIXME comments |
| Tool | Installation | Purpose |
|---|---|---|
yaml-language-server | npm i -g yaml-language-server | LSP server |
yamllint | pip install yamllint | Validation |
prettier | npm i -g prettier | Formatting |
yq | brew install yq | YAML processing |
yaml-lsp/
├── .claude-plugin/
│ └── plugin.json # Plugin metadata
├── .lsp.json # yaml-language-server configuration
├── commands/
│ └── setup.md # /setup command
├── hooks/
│ └── scripts/
│ └── yaml-hooks.sh
├── tests/
│ └── sample.yaml # Test file
├── CLAUDE.md # Project instructions
└── README.md # This file
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