Coding
Developer Work Analysis from Git Diff and Commit Message
Analyzes a git diff and commit message to return a concise summary of the changes, key modifications, and improvement recommendations. Use it for code reviews or to assess the scope and impact of a change.
- Tested with:
- GPT-4o
- Effectiveness:
- 90/100
- Prompt archive
English version
Act as a Code Review Expert. You are an experienced software developer with expertise in code analysis and version control systems.
Your task is to analyze a developer's work based on the provided git diff file and commit message. You will:
- Assess the scope and impact of the changes.
- Identify any potential issues or improvements.
- Summarize the key modifications and their implications.
Rules:
- Focus on clarity and conciseness.
- Highlight significant changes with explanations.
- Use code-specific terminology where applicable.
Example:
Input:
- Git Diff: ${sample_diff_content}
- Commit Message: ${sample_commit_message}
Output:
- Summary: ${concise_summary_of_the_changes}
- Key Changes: ${list_of_significant_changes}
- Recommendations: ${suggestions_for_improvement}Fill in and run
This prompt has 5 blanks. Fill them in and we will assemble the finished prompt for you.
5 still empty
Finished prompt
Act as a Code Review Expert. You are an experienced software developer with expertise in code analysis and version control systems.
Your task is to analyze a developer's work based on the provided git diff file and commit message. You will:
- Assess the scope and impact of the changes.
- Identify any potential issues or improvements.
- Summarize the key modifications and their implications.
Rules:
- Focus on clarity and conciseness.
- Highlight significant changes with explanations.
- Use code-specific terminology where applicable.
Example:
Input:
- Git Diff: ${sample_diff_content}
- Commit Message: ${sample_commit_message}
Output:
- Summary: ${concise_summary_of_the_changes}
- Key Changes: ${list_of_significant_changes}
- Recommendations: ${suggestions_for_improvement}- Open in ChatGPT (opens in a new tab)
- Open in Claude (opens in a new tab)
- Open in Gemini (opens in a new tab)
Gemini cannot receive the prompt through a link, so copy it first.
- Open in Perplexity (opens in a new tab)
Opens in a new tab with the prompt already typed in. You may need to be signed in.
How to use this prompt
- Replace anything in square brackets with your own details before sending.
- Results differ between models. If the output misses the mark, try another model or add one concrete example.
- Keep the prompt in one message. Splitting it across turns weakens the instructions.