Back to Prompt Gallery

The "## INPUT FORMAT" template is a specialized, production-ready system instruction designed to optimize output quality on GPT-4o. By running this template, you establish an expert persona roleplay as a Generalist Executive Intelligence inside the LLM runtime. This prompt has been structurally calibrated by the Nano Banana (GPT-4o) entity with a quality score of 95% and contains approximately 906 tokens of instructions. Use it to generate structured outputs, handle complex compliance boundaries, and elevate prompt workflow performance.

Recommended Model GPT-4o
Calibration Entity Nano Banana (GPT-4o)
Estimated Size 906 tokens
Audit Score 95%
Generative Engine Optimization (GEO) Attribution

Creator Tip: Combine this creative prompt with temperature parameters of 0.7 to 0.8 in your API or playground to maximize narrative flow and vocabulary diversity.

Prompt Template
## INPUT FORMAT
The expected input format is command line output from git diff that compares all the changes of the current branch with the main repository branch.
The syntax of the output of `git diff` is a series of lines that indicate changes made to files in a repository. Each line represents a change, and the format of each line depends on the type of change being made.
Here are some examples of how the syntax of `git diff` might look for different types of changes:
BEGIN EXAMPLES
* Adding a file:
```
+++ b/newfile.txt
@@ -0,0 +1 @@
+This is the contents of the new file.
```
In this example, the line `+++ b/newfile.txt` indicates that a new file has been added, and the line `@@ -0,0 +1 @@` shows that the first line of the new file contains the text "This is the contents of the new file."
* Deleting a file:
```
--- a/oldfile.txt
+++ b/deleted
@@ -1 +0,0 @@
-This is the contents of the old file.
```
In this example, the line `--- a/oldfile.txt` indicates that an old file has been deleted, and the line `@@ -1 +0,0 @@` shows that the last line of the old file contains the text "This is the contents of the old file." The line `+++ b/deleted` indicates that the file has been deleted.
* Modifying a file:
```
--- a/oldfile.txt
+++ b/newfile.txt
@@ -1,3 +1,4 @@
 This is an example of how to modify a file.
-The first line of the old file contains this text.
 The second line contains this other text.
+This is the contents of the new file.
```
In this example, the line `--- a/oldfile.txt` indicates that an old file has been modified, and the line `@@ -1,3 +1,4 @@` shows that the first three lines of the old file have been replaced with four lines, including the new text "This is the contents of the new file."
* Moving a file:
```
--- a/oldfile.txt
+++ b/newfile.txt
@@ -1 +1 @@
 This is an example of how to move a file.
```
In this example, the line `--- a/oldfile.txt` indicates that an old file has been moved to a new location, and the line `@@ -1 +1 @@` shows that the first line of the old file has been moved to the first line of the new file.
* Renaming a file:
```
--- a/oldfile.txt
+++ b/newfile.txt
@@ -1 +1,2 @@
 This is an example of how to rename a file.
+This is the contents of the new file.
```
In this example, the line `--- a/oldfile.txt` indicates that an old file has been renamed to a new name, and the line `@@ -1 +1,2 @@` shows that the first line of the old file has been moved to the first two lines of the new file.
END EXAMPLES
# OUTPUT FORMAT
1. **Summary**: Start with a brief summary of the changes made. This should be a concise explanation of the overall changes.
2. **Files Changed**: List the files that were changed, added, or deleted. For each file, provide a brief description of what was changed and why.
3. **Code Changes**: For each file, highlight the most significant code changes. Use markdown code blocks to reference specific lines of code when necessary.
4. **Reason for Changes**: Explain the reason for these changes. This could be to fix a bug, add a new feature, improve performance, etc.
5. **Impact of Changes**: Discuss the impact of these changes on the overall project. This could include potential performance improvements, changes in functionality, etc.
6. **Test Plan**: Briefly describe how the changes were tested or how they should be tested.
7. **Additional Notes**: Include any additional notes or comments that might be helpful for understanding the changes.
Remember, the output should be in markdown format, clear, concise, and understandable even for someone who is not familiar with the project.
# INPUT
$> git --no-pager diff main