| ▲ | qwertox 4 hours ago | |
"I actually have a much better idea how to use AI responsibly: Simply don't use Claude to completely vibe code AND COMMIT your code." I usually open a new chat in the ide and ask it to "generate a commit message", then i copy paste it. This means that if my code was written 20% by me and 80% by Google Antigravity, and Claude then adds a Co-Authored-By-line, then i think it's wrong. All it did was generate a commit message. | ||
| ▲ | lionkor 4 hours ago | parent | next [-] | |
That's fair, but that workflow is amateurish at best anyway. You're free to do that, if that's how you work, or if it all gets squashed in the end regardless, but a more sustainable workflow is to make committing itself an explicit part of self-review. Here's what I do: `git commit -p`, which basically shows you chunks of changes and you can confirm whether you want to stage those changes. This forces you to briefly review your changes and allows you to select lines or chunks that you don't want to commit (yet). Then, you have a lot of context, so then its much easier to compose a commit message. Your editor auto-opens at the end of that, so you type in WHY you made the changes (and if you don't know, at least put WHAT you did), save and close the editor, and that's one commit. If you skip all of this, the commits are less likely to help you later when you need them. | ||
| ▲ | dspillett 3 hours ago | parent | prev [-] | |
> This means that if my code was written 20% by me and 80% by Google Antigravity, and Claude then adds a Co-Authored-By-line, then i think it's wrong. All it did was generate a commit message. But do you do make sure that the commit (and other related documentation updates) properly gives Antigravity the 80% credit, yes? I'm already at the point of assuming any recently started project is at least part vibe coded, possibly mostly, unless it says otherwise, and my maximum level of being impressed is adjusted accordingly. Even if it says otherwise I might be cautious, as taking a cynical outlook is increasingly turning out to be a useful way of dealing with the world… | ||