.claude/commands | ||
servers | ||
.gitignore | ||
README.md | ||
template.md |
lsp-server-analysis
Use LLMs to query and explore how different LSP implementations manage their state. Contains a template for the LLM to fill out and (hopefully) keep it on track.
Take all of these analyses with a grain-of-salt obviously. LLMs lie/hallucinate/make shit up constantly – even with the source available.
My hope with the template and the command prompt is to minimize this as much as possible, as well as just the fact that this is an exploration and explaination of existing code – not writing anything new. Still, LLMs be LLMs and it's just a part of how they are built that they are going to lie their ass off and not bat an eye.
These are purely meant for educational and research purposes. I may be tilting at windmills hoping for more than your run-of-the-mill AI slop, but I have found it useful to at least getting a starting point for my own exploration.
Structure
.claude/commands/lsp_analysis.md
- A Claude Code command to kick off or resume an LSP server explorationservers/
- Analysis of individual LSP server implementationstemplate.md
- Template for LLM exploration of LSP server implementations
Questions
- How is state structured and organized?
- What specific types of data are stored in the server state?
- How is thread safety handled?
- How is document state separated from project/workspace state?
- What patterns are used for immutability and concurrency?
- How is configuration managed and resolved?