> ## Documentation Index
> Fetch the complete documentation index at: https://docs.onlook.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Reviewing a pull request from Onlook

> What Onlook does in your repository, for engineers reviewing a pull request opened from it.

A pull request from Onlook is an ordinary branch and pull request. Onlook is open source, so you can check each point below in [its code](https://github.com/onlook-dev/onlook). [AGENTS.md](https://github.com/onlook-dev/onlook/blob/main/AGENTS.md) says where each part lives.

## The branch

Onlook makes a git worktree in its own folder, on a new branch based on your main branch. After the author's first request, the branch is named after the project, with a prefix from your GitHub organization or the author's git name, like `acme/pricing-hero`.

The agent, Claude Code or ChatGPT's Codex, works only in that worktree, and Onlook refuses to run it anywhere else. The author's own checkout is never edited.

## Running your app

The agent runs your project the normal way, with your package manager and your dev command.

Onlook copies the `.env` files your repo already ignores, so the app can run. Your `.gitignore` keeps them out of commits, as it does for you.

## Commits and pushes

Commits are made under the author's git identity and pushed with their GitHub account. With Claude, the author approves each push.

## Your agent instructions

With Claude, the agent follows your repo's `CLAUDE.md`, `.claude/CLAUDE.md` and the rules under `.claude/rules`, and can use your `.claude` skills and commands. With ChatGPT, it reads your `AGENTS.md`. Onlook adds its own context on top of yours and leaves your instruction files unchanged.

## Where your code goes

Your code isn't uploaded to Onlook. The agent sends context to Claude or ChatGPT under the author's own subscription, the same as if they used those tools directly.

## Reviewing and giving feedback

Review and comment on GitHub as you would on any pull request. The author can paste your comment into Onlook, ask the agent to address it, and push the fix to the same pull request.

If checks fail, the author can press **Fix Checks** in Onlook, and the agent reads the failures and tries to fix them.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.