๐ง๐ถ๐ฝ๐ ๐ณ๐ผ๐ฟ ๐ช๐ผ๐ฟ๐ธ๐ถ๐ป๐ด ๐ช๐ถ๐๐ต ๐๐: ๐ฆ๐ต๐ฟ๐ถ๐ป๐ธ ๐ฌ๐ผ๐๐ฟ ๐๐'๐ ๐ฃ๐๐น๐น ๐ฅ๐ฒ๐พ๐๐ฒ๐๐ You ask your AI to build a feature. The AI opens a huge pull request. You have no idea where to start reviewing.
Here's what you can do:
- Write a short spec before you prompt the AI.
- Ask the AI to propose a plan that splits the work into small pull requests.
- Give the AI a size cap, like 100 lines per pull request.
- Tell the AI each pull request must do one thing and stand on its own.
Benefits of small pull requests:
- Reviewable code: you can finish reading the diff without losing focus.
- Faster feedback: smaller pull requests get reviewed in hours, not days.
- Easier rollbacks: you revert one small commit instead of a big change.
Keep your pull requests small and focused. This helps your team review code faster and catch defects early. Source: https://dev.to/mcsee/ai-coding-tip-023-shrink-your-ais-pull-request-4lnb