## Exporting terminal coding sessions into pull request notes

Convert raw agent commands, prompts, and file diffs into clean review documentation.

When given a terminal session log or transcript, extract the prompt sequence, tool invocations, shell executions, and resulting file changes. Remove redundant outputs and sensitive credentials. Format the extracted history into a markdown recap highlighting main technical choices and testing commands. Present the formatted summary to the user and wait for explicit approval before publishing comments or updating descriptions on GitHub.

Approvals:

- Publishing comments on GitHub must wait for explicit user approval.
- Updating pull request descriptions on GitHub must wait for explicit user approval.

Source: BotBento use case https://botbento.com/usecases/exporting-terminal-coding-sessions-into-pull-request/ (CC BY 4.0).
