gnn-lsp-server
GNN Language Server Protocol integration. Use when starting editor diagnostics, checking hover behavior, or validating LSP support for GNN files.
от ActiveInferenceInstitute★ 36 звёзд на GitHub
Установить gnn-lsp-server в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Core Skill: lsp_server
Function: Language Server Protocol implementation providing real-time GNN file diagnostics and hover information for LSP-compatible editors.
Example Flow
# Start the GNN Language Server via CLI
gnn lsp
# Or directly via Python (equivalent to `gnn lsp`)
python -c "from gnn.lsp import start_server; start_server()"
Programmatic Usage
from gnn.lsp import create_server, start_server
# Create and configure the LSP server
server = create_server()
# Start on stdio (standard usage for editor integration)
start_server()
Features
- Diagnostic Publishing: Validates GNN sections, state-space variables, and connections on file open and save
- Hover Information: Displays variable name, dimensions, type, and default values at cursor position
- Error Extraction: Maps parse errors to line numbers for inline display in editors
- Graceful Fallback: Works without
pyglsby providing a clear installation message - VS Code Integration: Compatible with any LSP client via stdio transport
MCP Tools
This module registers tools with the GNN MCP server (see mcp.py):
- None
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- AGENTS.md
- README.md
- SPEC.md
- __init__.py
- completions.py
- mcp.py
FAQ
Что делает скилл gnn-lsp-server?
GNN Language Server Protocol integration. Use when starting editor diagnostics, checking hover behavior, or validating LSP support for GNN files.
Как установить скилл gnn-lsp-server?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gnn-lsp-server запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…