ai

2026-04-28T10:10:08.258429Z

Hi all! LLMs sometimes get mixed up with parens and spend a bunch of time and tokens trying to match them. Do folks here have some LSP/MCP/skill recommendations that lets agents sort these things in the same ways humans do - structured editing, closing all open parens at the end of line X, etc? I’m using opencode and the default LSP it spawns for Clojure, so not very deep in the tooling.

jussi 2026-04-28T10:16:01.646619Z

#ai-assisted-coding has a lot of discussions on this subject.

šŸ™ 1
2026-04-28T10:35:55.232999Z

yeah, looks like https://github.com/bhauman/clojure-mcp-light/tree/main#clj-paren-repair-claude-hook does pretty much exactly this