|
|
|
|
|
by codedrift_
17 days ago
|
|
Yeah there's so many "bad habits" you can stop via a gate. My go-to is static analysis tools in the tree-sitter family. I am currently testing a "too simple" gate. Claude loves to turn everything into helper functions, and if the helper function isn't actually helping (too short, doesn't perform enough actions, etc) the commit gets bounced and Claude gets told why it's wrong and what to do about it. This has generally kept the worst of things out of the codebase. |
|