Promptles
Context

Resolve Conflicts by Intent

Tell Claude what each side of a conflict was for and which wins, so both intents survive the merge.

When two people changed the same lines, Claude can see both versions but not which change matters more. Tell it what each side was for and which one wins where they collide, so the result keeps both intents instead of taking one side wholesale. Vague: "Fix the merge conflict." Specific: "Fix the merge conflict in the config. Main raised the retry count to 5 as a reliability fix, so that wins. My side also added a timeout setting in the same spot; keep it. Then show me no conflict markers are left and the tests pass."

Where you'll practice this

One Promptles scenario teaches this principle directly.

  • Resolve the Config Conflict

    Merging `main` into your `feature/webhook-retry` branch stopped on a conflict in `src/config.ts`. Both sides changed the same block of lines (git calls that block a hunk). On `main`, Luca raised `MAX_RETRIES` from 3 to 5 after booking webhooks timed out during league sign-ups;…

Other principles in Context