By zircote
Bash/Shell language server plugin for Claude Code with bash-language-server integration and automated hooks for linting and formatting
npx claudepluginhub zircote/lsp-marketplace --plugin bash-lspA Claude Code plugin providing comprehensive Bash/Shell development support through:
# Run the setup command (after installing the plugin)
/setup
Or manually:
# Install bash-language-server
npm install -g bash-language-server
# Install development tools
brew install shellcheck shfmt
The plugin configures bash-language-server for Claude Code via .lsp.json:
{
"bash": {
"command": "bash-language-server",
"args": ["start"],
"extensionToLanguage": {
".sh": "shellscript",
".bash": "shellscript",
".zsh": "shellscript"
},
"transport": "stdio"
}
}
Capabilities:
| Hook | Trigger | Description |
|---|---|---|
shellcheck | **/*.sh | Linting and best practices |
shfmt | **/*.sh | Code formatting |
bash-syntax | **/*.sh | Syntax validation |
bash-todo-fixme | **/*.sh | Surface TODO/FIXME comments |
| Tool | Installation | Purpose |
|---|---|---|
bash-language-server | npm i -g bash-language-server | LSP server |
shellcheck | brew install shellcheck | Linting |
shfmt | brew install shfmt | Formatting |
bash-lsp/
├── .claude-plugin/
│ └── plugin.json # Plugin metadata
├── .lsp.json # bash-language-server configuration
├── commands/
│ └── setup.md # /setup command
├── hooks/
│ └── scripts/
│ └── bash-hooks.sh
├── tests/
│ └── sample_test.sh # 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