Manuals / AI Coding with Cursor / Chapter 9

C · Production · advanced · ~40 min · Chapter 9 of 11

Production workflows: branches, commits, CI

Agent code goes through the same git hygiene as human code. Feature branches, small commits, CI gates, PR review.

Path progress
77%

Step 1 of 2

Agent branch workflow

1) Create feature branch. 2) Agent task on branch. 3) Review diff. 4) Run tests + lint. 5) Commit with descriptive message. 6) PR.

Agent branch workflowDrag stickies · tap for tips
Study mapDrag stickies · tap for tipsKeep it shortdrag · tap →Name the waitdrag · tap →Scope locatorsdrag · tap →Trace when stuckdrag · tap →One browser firstdrag · tap →Isolate statedrag · tap →Assert the UIdrag · tap →Retry wiselydrag · tap →Seed datadrag · tap →Close the loopdrag · tap →Keep it shortdrag · tap →Name the waitdrag · tap →Scope locatorsdrag · tap →Trace when stuckdrag · tap →One browser firstdrag · tap →Isolate statedrag · tap →Pathwise hackdrag · tap →Agent branch workfdrag · tap →Try thisdrag · tap →Follow the dashed drag · tap →

Do this now

Complete one full feature using this workflow.

Was this step clear?
Chapter learning outcomes
  • Git workflow with agents
  • Commit discipline
  • CI integration

Clear these before you leave

Side quest

PR description

Write a PR description that explains agent vs human contributions.