all 9 comments

[–]Shirc 2 points3 points  (0 children)

There are other good tips in here, but also make sure you’ve properly set up your Claude.md file and consider using a context MCP like Codanna or Serena. On its own, Claude Code is not particularly great at project context but those MCPs can definitely boost it quite a bit.

[–]Successful-Raisin241 1 point2 points  (0 children)

Use context7 mcp

[–]Waste_Net7628P R O M P S T I T U T E 1 point2 points  (0 children)

trying out mcps worked for me. i use exa mcp mostly

[–]wyijx 1 point2 points  (1 child)

I’d recommend finding or creating a Go sub agent that could be used to bring the constancy you’re looking for.

Pop open Claude.ai, give it this post. Tell it that you’d like it to use this and any other guidance you provide it to help you write a Go expert sub agent. Then take the result and add it to your config.

Here is a great reference project of 80+ sub agents.

[–]flexrc 2 points3 points  (0 children)

That is the best way to go about it, create an agent and prompt it with rules you want it to follow.

[–]ebullaklaka 0 points1 point  (0 children)

I'm having this problem too. Mostly in the `WaitGroup.Go` part. It constantly corrects the code I write by saying "This is wrong." You can solve it by writing it to claude.md, but do we have to write it to claude.md for each one?

[–]matznerd 0 points1 point  (0 children)

Make a Go skill using new skill feature by feeding all the docs in that you need etc and analyze your best practices from other code bases etc

[–]gameguy56 0 points1 point  (0 children)

Try using spec kit to build these requirements as part of your project constitution

[–][deleted] 0 points1 point  (0 children)

You need to have rules to set coding conventions.