Menu

Post image 1
Post image 2
1 / 2
0

I Made My Go Linter Talk to Claude ? Here's What I Learned About MCP

DEV Community·Maksat Ramazan·18 days ago
#9oSxbxUR
#go#ai#fullscreen#code#context#godepvis
Reading 0:00
15s threshold

I built a fun side project ? a Go static analyzer that finds code smells. Then I made it work with Claude Code via MCP (Model Context Protocol). Now AI can roast your Go code automatically. Repo: github.com/aqylsoft/godepvis The Problem I Didn't Know I Had You know that moment when you're reviewing a PR and you see a 200-line function? Or a method with 9 parameters? Or someone using context.Background() right next to a perfectly good ctx ? These things aren't bugs. They compile fine. Tests pass. But they make you go "hmm" and reach for the comment button. I wanted a tool that catches these patterns automatically. Not to replace code review ? but to handle the boring "hey, this function is too long" comments so humans can focus on actual logic. Golangci-lint is great, but configuring it to catch architectural smells requires yoga-level flexibility. I wanted something opinionated and simple. So I built godepvis . What godepvis Actually Detects I call them "sins" because "code smells" sounds too polite.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More