Skip to content

Commit d3a1882

Browse files
dschoGit for Windows Build Agent
authored andcommitted
Add an AGENTS.md file to help with AI-assisted debugging/development
In this time and age, AI is everywhere. However, it's sometimes not very easy to use. For green-field projects it works quite a bit better than for existing legacy projects. And Git's source code is _quite_ as legacy code as they come... 😁 Now, the only way how AI can be used efficiently with legacy code is by providing enough information by way of prompt context for the AI to have a chance to make any sense of the code. The structure and the architecture is, after all, not designed for AI, but rather the opposite: By virtue of having grown organically over two decades, there is no design that AI coding models would readily grasp. So here is a document that describes all kinds of aspects about this project. The idea is to help AI by providing information that it does not have ingrained in its weights. The idea is to provide information that a human prompter might take for granted, but no coding model will have been trained on specifically. Assisted-by: Claude Opus 4.5 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 3efa47e commit d3a1882

2 files changed

Lines changed: 1110 additions & 0 deletions

File tree

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*.py text eol=lf diff=python
88
*.bat text eol=crlf
99
*.png binary
10+
/AGENTS.md conflict-marker-size=32
1011
CODE_OF_CONDUCT.md -whitespace
1112
/Documentation/**/*.adoc text eol=lf whitespace=trail,space,incomplete
1213
/command-list.txt text eol=lf

0 commit comments

Comments
 (0)