# Review Claude Code Changes Function by Function

> See every change Claude Code made, one function at a time, next to the instruction and reasoning behind it, and ask Claude about any line.

Review Claude Code Changes Function by Function is a free AI agent skill on Agensi by Takeru Seki, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Takeru Seki](https://www.agensi.io/creators/takeru-seki)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Version: 1.0
- Last updated: 2026-12-04
- Security: scan passed (2026-12-04); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/review-claude-code-changes-function-by-function
- Tags: code-quality-review, claude-code, code-review, git, developer-tools

## What it does

- Shows each changed function next to the instruction that led to it
- Explains in one or two sentences what each change does and why
- Lets you ask Claude about any line, picking up the conversation that wrote it
- Keeps track of what you have already checked and flags changes made since
- Points out changes with no known reason so you know where to look closer

## Who it's for

- **Developers who let Claude Code write code:** Check what Claude Code wrote before you commit, with the reason behind every change. Try: "Open a review of what you changed in this repo"
- **Tech leads reviewing AI-written branches:** Review an AI-written branch function by function instead of scrolling a raw diff. Try: "Review this branch against main, function by function"
- **Solo builders shipping fast with AI:** Catch surprises in long AI sessions by seeing what each edit was meant to do. Try: "Show me why each function changed in this session"

## About this skill

Claude Code can change a dozen functions in one session. A plain diff shows you *what* changed, but not *why*, so you end up scrolling, guessing, or asking Claude to explain everything again.

This skill opens a local review screen that puts each changed function next to the reason it changed.

### What you see

- **Left:** every function Claude added, changed or removed, grouped by file. A `?` marks changes with no known reason.
- **Center:** the whole function, with the changed lines highlighted and long unchanged parts folded away.
- **Right:** a one- or two-sentence explanation of the change, your original instruction, and what Claude said right before it made the edit.

### Ask about any line

Click a line (or Shift+click a range) and type a question like "why return early here?". You can ask in the original session, so Claude answers with the context it had when it wrote the code, or ask from the diff alone for a quick answer. Claude can only read files while answering, so asking never changes your code.

### Keep track as you go

Mark each function as reviewed with one key. If Claude edits it again later, it goes back to unreviewed. The screen refreshes every few seconds, so you can leave it open while Claude keeps working.

### How it works

Your agent downloads a small open-source app (a fixed, checked version), starts it on your own computer, and gives you the link. The reasons come from Claude Code's own session history on your machine. Nothing is uploaded anywhere, and the only file it writes is a cache of explanations inside your repository's hidden `.git` folder.

The screen is available in English and Japanese, and you can switch between them at any time.

## Requires

- Claude Code (logged in)
- Bun 1.4+
- Git
- Optional: Zed editor

The first run downloads the open-source app and its packages (about 120 small packages). Interpretations and questions use your own Claude Code usage.

## Known limitations

Changes made through shell commands (for example sed), or overwritten later by another edit, show as "intent unknown". It reads Claude Code's session log, an internal format that may change in future versions. Asking in the original session reloads that whole session, so long sessions take more time and tokens. Function detection covers TypeScript, JavaScript, Go, Python and Rust; other files are shown as whole-file changes. "Open in editor" supports Zed only.

## Technical details

Built for Claude Code. The agent clones a pinned release (tag v1.0.0, checked against its commit hash) of an open-source, MIT-licensed Bun + React app into a temporary folder, installs its npm packages, and starts a server bound to 127.0.0.1. Diffs come from git (uncommitted changes including untracked files, or against a base branch). Changed lines are mapped to functions with tree-sitter (TypeScript, JavaScript, Go, Python, Rust). Intents come from Edit/MultiEdit/Write steps in Claude Code session logs under ~/.claude/projects/. Interpretations and questions run the user's `claude -p` (interpretations use Haiku) with only Read, Grep and Glob allowed, without loading user settings, hooks, plugins or MCP servers. Interpretations are cached in <repository>/.git/review-tools/. Requires Bun 1.4+, git and a logged-in Claude Code CLI.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Review Claude Code Changes Function by Function skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Does it change my code?

No. It only reads your repository and Claude Code's session logs. The only thing it writes is a cache of interpretations inside your repository's .git folder, which is never committed.

### Does it cost anything to run?

The skill is free. Interpretations and questions run through your own Claude Code login, so they count toward your normal Claude usage.

### Can I review a whole branch instead of uncommitted changes?

Yes. Ask to review against a base branch, for example main, and every change since that branch is shown.

### Why does a change say intent unknown?

The intent comes from Claude Code's Edit and Write steps. Changes made with shell commands, by hand, or overwritten by a later edit have no matching step, so the reason can't be shown.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
