How-To Guides#

Task-oriented recipes for common workflows with gptme. Each guide gives you a copy-pasteable pattern you can adapt immediately.

File Editing#

Edit files surgically — patch, save, and inspect without rewriting whole files.

Code Review#

Review code changes — review a diff, a PR, or a single file with context.

Debug Python#

Debug failing tests — reproduce, trace, and fix Python errors step by step.

Automate Tasks#

Automate shell workflows — turn a repeated shell or git procedure into a script.

Refactor Code#

Refactor across files — rename, extract, and reshape code across a codebase.


For shorter examples and one-liners, see Examples.