code-review-context-analyzer

Analyzes code diffs from pull requests to generate intent summaries, logic walkthroughs, and Mermaid architecture diagrams.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/jame2408/agent-skills --skill code-review-context-analyzer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review-context-analyzer
Source: https://github.com/jame2408/agent-skills/tree/main/skills/code-review-context-analyzer
Command: npx skills add https://github.com/jame2408/agent-skills --skill code-review-context-analyzer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill transforms raw code diffs into easily digestible summaries, logic walkthroughs, and architecture diagrams, making code reviews more efficient and insightful.

Core Features & Use Cases

  • Intent Summarization: Quickly grasp the 'why' and 'how' of code changes.
  • Logic Walkthrough: Get an ordered guide to understand the flow of modified code.
  • Architecture Visualization: Generate Mermaid diagrams to visualize module interactions and impact.
  • Use Case: When reviewing a pull request, use this Skill to get a concise report that highlights the core changes, explains the logic flow, and provides a diagram of affected components, allowing for faster and more thorough reviews.

Quick Start

Analyze the provided code diff to generate a review context report.

Frequently Asked Questions about code-review-context-analyzer

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

FAQPage Schema
How do I generate an architecture diagram from a pull request diff?

To generate an architecture diagram from a pull request diff, provide the raw code changes to the analyzer. It outputs Mermaid diagrams that map module interactions and visualize the structural impact of the modifications.

What is the best way to summarize a large git diff for code review?

The best way to summarize a large git diff is to use an analyzer that switches to module-level summaries. It filters out trivial changes and provides concise intent walkthroughs to accelerate the review process.

Can I automatically flag security-sensitive changes in a merge request?

Yes, you can automatically flag security-sensitive changes in a merge request. The analyzer evaluates the provided code diff during processing and explicitly highlights modifications that are security-sensitive.

Does the code analyzer resolve cross-file dependencies in pull requests?

Yes, the code analyzer resolves cross-file dependencies in pull requests. It traces modified code across multiple files to generate an accurate logic walkthrough and a comprehensive architectural view.

How do I understand the intent behind code changes in a git diff?

To understand the intent behind code changes in a git diff, run the analysis to generate an intent summarization. This report explains the 'why' and 'how' of the modifications for faster reviewing.

When should I use module-level summaries instead of full diff analysis?

You should use module-level summaries instead of full diff analysis when handling large diffs. This approach prevents information overload by providing high-level architectural overviews rather than line-by-line details.