harehare-mq-lsp-instructions.ocm.json json Copy{
"ocm": "1",
"id": "harehare-mq-lsp-instructions",
"kind": "skill",
"name": "lsp",
"description": "Language Server Protocol (LSP) Coding Rules",
"publisher": "harehare",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Language Server Protocol (LSP) Coding Rules"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/harehare/mq",
"path": ".github/instructions/lsp.instructions.md",
"ref": "4c6912365837fcd6c2a9f61b9383179d2daaa13a",
"url": "https://github.com/harehare/mq/blob/4c6912365837fcd6c2a9f61b9383179d2daaa13a/.github/instructions/lsp.instructions.md",
"key": "harehare/mq/.github/instructions/lsp.instructions.md"
},
"applies_to": "crates/mq-lsp/**/*.rs"
},
"instructions": "# Language Server Protocol (LSP) Coding Rules\n\n- Follow LSP specification and conventions for all protocol handling.\n- Clearly separate protocol, transport, and business logic.\n- Document all public types and functions, especially those exposed to LSP clients.\n- Write integration tests for LSP features and message handling.\n- Use `miette` for error reporting to the user where possible.\n- Avoid blocking operations in async handlers.\n- Ensure robust handling of invalid or unexpected LSP messages.",
"cost": {
"context_tokens": 124
}
}