All posts

Docs3 min read

Describe selected commits with AI actions

Right-click a commit, a range, or the uncommitted row and have an in-app agent write a summary, review, test plan, or custom prompt.

Right-click a commit, a multi-commit selection, or the uncommitted WIP row and choose AI actions…, press ⌘⇧A (Ctrl+Shift+A on Windows and Linux), or click AI actions in Review all / the working-changes view. The popup asks an in-app agent to read those revisions and write something about them. Review all and the working-changes button start on Short description; the menus start on Implementation comment.

Set up an agent first in Settings → AI Agents. That’s the same list Draft uses; there is no extra API key. The agent runs in the repository and uses read-only git. GitLane never ships a diff over IPC.

When commits are picked together with the WIP row, the agent reads that as one span ending at the working tree — the same merged diff Review all opens — rather than the commits and the uncommitted changes as two separate reads.

What it can write

Pick a command, then Run (⌘Enter / Ctrl+Enter).

Action What you get
Short description A concise Markdown summary — at most 4 sentences or 5 short bullets
Full description Markdown with short headings and bullets: what changed, why, and how the main pieces work together
Implementation comment A practical update for developers, product, and QA
Release notes User-facing entries; internal-only work is omitted
Review & risk Actionable defects in the diff, highest impact first
Test plan Numbered manual steps with expected results
Custom prompt Whatever you type — including a skill. The result is the final text, not the agent's plan

If the current branch name carries a ticket key (feature/GL-12-…), it is passed to every command. An extra field on the toolbar adds a note at run time. The same agent picker as Draft sits in the header, so you can switch model or effort without leaving the popup.

After it finishes

The result fills the pane. Switch Formatted / Raw, or Edit the text in place.

  • Copy puts it on the clipboard
  • Post to PR appears when the current branch has an open pull request, and adds the text as a comment
  • Show prompt reveals the stored instruction; Edit in Settings jumps to Settings → Prompts
  • Stop ends a run in progress — the adapter process and everything it started

Settings → Prompts → AI actions is the same list as the picker: disable a built-in, drag to reorder, or Add command. Built-ins can be reset to the shipped text; they cannot be deleted. Custom prompt is typed at run time and is not stored. Configuring the agents themselves is in Settings.

Good to know

Writes are never auto-approved. A shell call has to be a read-only git command with nothing chained into it, and network fetches are refused. A missing adapter, a signed-out CLI, or a refusal each say so instead of timing out.

What landed in a specific release is a separate write-up: AI actions on commits and the working tree.

Full walkthrough: AI actions.

Installers: Download GitLane.