~/aingeneer.dev
← guides / General

From prompt to pull request

A day-to-day AI workflow that holds up on a real codebase, whatever language you write and whichever assistant you use.

[beginner]25 min

Draft. This is the outline for the first guide. Vincent will fill it in.

1. Pick the right tool for the task

  • Inline suggestions for small, local edits
  • Chat for questions about code you're reading
  • An agent (Claude Code, Copilot agent mode) for changes across several files

2. Give it context: instruction files

Write your team's rules down once, in CLAUDE.md or .github/copilot-instructions.md, so you don't repeat them in every prompt.

3. Plan first, then let it code

Ask for a plan, read it, fix it, and only then let it write code.

4. Review AI code like a teammate's

Read the diff. Check edge cases, error handling and anything it deleted.

5. Let tests and hooks catch the rest

Run tests and linters automatically after every change, so mistakes surface before review.