PR Template Guide: Difference between revisions
Johnkieser. (talk | contribs) Created page with "== Template Guide == This is the template most PRs should follow. You will notice that depending on the PR, some sections do not need to be included. === About the PR === Use this as a simple summary of content changes. Keep this to the point. Also if the change doesn't affect gameplay, it shouldn't be a focus or included here. Think of this like an "elevator pitch". This should NOT delve into "technical" detail, especially if it does not directly affect gameplay. If y..." |
Johnkieser. (talk | contribs) mNo edit summary |
||
| Line 1: | Line 1: | ||
== Template Guide == | == Template Guide == | ||
This is the template most PRs should follow. You will notice that depending on the PR | This is the template most PRs should follow. You will notice that depending on the PR content's that some sections do not need to be included. | ||
=== About the PR === | === About the PR === | ||
Latest revision as of 21:31, 11 November 2026
Template Guide
This is the template most PRs should follow. You will notice that depending on the PR content's that some sections do not need to be included.
About the PR
Use this as a simple summary of content changes. Keep this to the point. Also if the change doesn't affect gameplay, it shouldn't be a focus or included here. Think of this like an "elevator pitch".
This should NOT delve into "technical" detail, especially if it does not directly affect gameplay. If your PR is mostly just "technical" changes(refactoring, performance, ect...) then this is allowed to be very brief. In such cases, a lot of the PR should be focused in the "technical details" section.
Why / Balance
Summary of why the change is needed. Remember, when contributing anything it should be made considering everybody. Also remember that for especially large and in-depth changes/overhauls, much of the justification should have had been known and had way before the PR (like in the discord with us the developers). In such cases you should link any relevant documentation(ie... google docs) and just have a summary of the greater justification in the PR itself.
For technical focused PRs this section can be used to better organize the overall PR or just left out if you prefer to organize the technical explanation that way.
Technical Details
My favorite. A rundown of the technical changes made and the process took in doing so if relevant. For most things done in yaml, then this can be very short if not omitted outright. The same applies for anything that just adds/changes sprites and other such visuals.Really you want this filled out when making C# changes.
This should represent your basic understanding of what you did/added/improved. If you cannot figure out what you coded or why you coded it(for the most part), then you probably didn't code something of value or didn't code it yourself. That is unfortunately just a normal thing with this generation using AI.
To further explain, you should justify/explain your changes. Usually the "journey" you took in doing can also be relevant(like what research you did, books read, videos watched, examples looked at ect...). If the code was changed just for clean-up, then say that. If the code was changed because it was wrong or inaccurate, say that.
Of course you do not need to explain every bit of code, but try explaining the broad strokes and anything weird that may not come off as self evident. We are all learning, so it is ok to miss things or just to not know why certain things work. If you especially don't know why something works or why some hack is needed, please say so(this is not an invite to code something and not know what 100% of it does). The PR is going to be reviewed and anything that is missed by the technical section will be questioned, but do not think that'll deduct anything if you're an honest PRer.
Media
Not a hard requirement for most PRs. I would recommend this for PRs that introduce new mechanics and advanced features. Why? To help guide testing and clear up any misunderstanding. I especially recommend this if it is just too inconvenient to describe a feature in writing. Some features are also best shown visually, like maybe network latency(debug visual enabled), animations, new abilities, ect...