codereview

Automate local code reviews with isolated Git worktrees and streaming issues.

5|1|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/prassoai/macroscope-local --skill codereview-prassoai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codereview
Source: https://github.com/prassoai/macroscope-local/tree/main/plugins/macroscope/host-overlays/claude/skills/codereview
Command: npx skills add https://github.com/prassoai/macroscope-local --skill codereview-prassoai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the process of performing a local code review on the current branch using the Macroscope CLI, isolating changes and streaming issues for inspection.

Core Features & Use Cases

  • Isolates review work with a dedicated Git worktree to avoid touching the working tree.
  • Automatically determines the base branch, creates a review baseline, and runs the local code review using macroscope codereview.
  • Streams issues and guides resolution, then can generate a patch containing the fixes for easy application.

Quick Start

Start the local code review flow from the repository root to begin reviewing this branch.

Frequently Asked Questions about codereview

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

FAQPage Schema
How do I automate local code review on my current git branch?

You can automate local code review by running the review flow from the repository root. The process detects the base branch, creates an isolated git worktree, runs the review, and streams issues for inspection without touching your working tree.

What is a git worktree and why is it used for local code review?

A git worktree provides an isolated review environment that avoids touching your active working tree. This isolation allows the review process to execute base-diffing and issue validation safely without disrupting your current development work.

How does the review process determine the base branch for diffing?

The local code review process implements automatic base-branch detection to establish an accurate review baseline. It determines the base branch automatically and then executes the diff comparison to identify changes in your current branch.

Can I generate a patch with fixes after streaming code review issues?

Yes, after streaming issues and guiding resolution, the process can generate a patch containing the validated fixes. It applies safety checks during issue validation and patch generation to prevent user disruption before applying the patch.

Does the local code review workflow require the macroscope CLI?

Yes, the local code review execution is performed using the macroscope codereview CLI. It requires running from the repository root in your local development environment to initiate the automated review flow.

When should I avoid using automated local code review on a branch?

You should avoid automated local code review if your workflow lacks git worktree support or cannot isolate changes from the working tree. The process relies on isolated review worktrees and base-diffing to prevent disruption to your active development tree.