ToolypetMCP
beginner3 minutesdev

Code Review Helper

Compare code versions with diff, format JSON configs, and validate changes for thorough code reviews.

diffcode-reviewjsoncomparison

このレシピの使いどころ

Speed up code reviews by quickly seeing what changed, validating configurations, and ensuring data formats are correct before approving pull requests.

ステップ

1

Identify all code changes

プロンプト:Compare the original and modified versions of this configuration file to see all changes
2

Validate JSON config changes

プロンプト:Validate and format the modified JSON configuration to check for syntax errors

よくある質問

Line diff vs word diff — when to use each?

Line diff is standard for code reviews (matches Git). Word diff is better for prose, documentation, and single-line changes where you need to see exactly what changed within a line.

How do I compare large files efficiently?

For large files, use character-level or line-level diff. Consider splitting the comparison into sections if the file is very large.

関連レシピ