local-review

Create a dedicated git worktree to review a colleague's branch locally.

3|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/theomonfort/theomonfort --skill local-review-theomonfort
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: local-review
Source: https://github.com/theomonfort/theomonfort/tree/main/.github/skills/local-review
Command: npx skills add https://github.com/theomonfort/theomonfort --skill local-review-theomonfort

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reviewing a colleague's code can disrupt your current work. This skill creates a separate local review environment using a dedicated git worktree to review changes without impacting your main workspace.

Core Features & Use Cases

  • Isolates code reviews by creating and managing a separate worktree for a specific branch.
  • Automatically configures a review remote and fetches the target branch for seamless access.
  • Real-world use: a developer reviews a feature branch while keeping their primary environment untouched and stable.

Quick Start

Run the local-review command with your GitHub username and branch, such as samdickson22:sam/eng-1696-hotkey-for-yolo-mode, to spin up a worktree and begin the review.

Frequently Asked Questions about local-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a git worktree to review a colleague's branch locally?

The local-review command accepts a GitHub username and branch name formatted as username:branch, such as samdickson22:sam/eng-1696-hotkey-for-yolo-mode. This creates a dedicated git worktree and fetches the target branch for review.

Why use a git worktree for code reviews instead of just checking out the branch?

Using a git worktree isolates code reviews in a separate directory, keeping your primary local environment and current branch untouched. This prevents disruption to your active work while seamlessly fetching and reviewing remote changes.

Can I review a remote branch without affecting my current local environment?

Yes, you can review a remote branch without affecting your current local environment by creating a dedicated git worktree. This isolates the reviewed branch in a separate directory, keeping your primary workspace stable and untouched.

What's the best way to manage multiple local environments for remote code reviews?

The best way to manage isolated local environments for remote code reviews is using git worktrees. This approach provides end-to-end environment preparation, automatic remote configuration, and error handling for each dedicated review session.

Does the local review setup handle errors when fetching remote branches?

Yes, the local review setup includes error handling during the end-to-end process of creating the worktree and fetching the remote branch. This ensures seamless environment preparation even if remote configuration or fetch issues occur.