Ask HN: How do you keep AI coding agents aligned with your codebase standards?
trung123102 Thursday, March 05, 2026Our team heavily uses Claude Code. The problem we have is that agents write code that works but ignores existing patterns. They'll create a new database query instead of using the service class my team already built. They'll put logic in the wrong layer, etc.
Each fix is small, but across a team of 8 engineers, it adds up, making the codebase drift over time.
We've tried shared CLAUDE.md and multiple markdown doc files but they go stale fast and don't scale well.
How is everyone else handling this? Has anyone found something that actually works at scale?
3
0