4 ms·
Author here. Ask me anything! Since writing this a tangentially related thing we've added, is a github action that runs on any PR that includes a (Rails) datab
by ghiculescu 1y ago
Author here. Ask me anything!
Since writing this a tangentially related thing we've added, is a github action that runs on any PR that includes a (Rails) database migration, and reviews it, comparing it to our docs for how to write good migrations.
Claude helped write the action so it was super easy to set up.
- nu11ptr 1y agoHave you noticed people more productive, in general, using Claude Code or Cursor? Obviously it varies, but curious if one or the other is the clear productivity champion at this point.
- ghiculescu 1y agoI wouldn't say there's an obvious winner yet. I do think it depends on the person and how they like to work / how they reason about problems. For Claude specifically, people who take more time to write long detailed prompts tend to get much better outcomes. Including me, since I made the effort to get better at prompt writing.
- vianarafael 1y agoYou mentioned using Claude to help set up a GitHub Action for reviewing Rails migrations. How do you see agentic tools like Claude evolving in their ability to reason about big-picture concerns—not just boilerplate generation, but things like validating database changes, architectural decisions, or spotting long-term risks that aren’t immediately visible?
- ghiculescu 1y agoThey are really good if you give them guidance and tight scope. For example for the database migrations review bot, we give it our Cursor rules file on database migrations (which is about 200 lines) and tell it to review the PR based on that. It works particularly well for migrations because all the context is in the PR. We haven't had as much luck with reviewing general PRs where the reason for a change being good or bad could be outside the diff, and where there aren't as clearly defined rules for what should be avoided.
- eschaton 1y agoHow do you square this with the fact that LLM-based tools aren’t actually doing any analysis whatsoever, but are just pachinko machines that produce statistically likely output tokens when given input tokens?