Repository navigation
adding a PR template with basic structure and in-line user guidance - #5957
Conversation
* PR template * guardrails for AI agents: use the template!
|
No actionable comments were generated in the recent review. WalkthroughAdds a pull request template with prompts for change details, references, AI assistance, implementation, testing, and contributor responsibilities. Updates ChangesPull Request Description Guidance
Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Other Suggested reviewers: Merge Risk:
|
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
|
@coderabbitai please check |
|
Tip For best results, initiate chat on the files or code changes. Analysis chain
What meets GitHub’s guidance
Optional improvements
Important distinction: A Markdown PR template pre-fills the description. It does not enforce section completion or checked boxes. Any required completion rule needs a separate check or human review. No filename, directory, or format change is needed. This assessment covers the source and documentation; I did not test automatic insertion in GitHub’s new-PR interface. You are interacting with an AI system Learnings used
You are interacting with an AI system. |
* change non-checklist items into bullet points * examples for links * small clarification for the "I have personally reviewed" checklist item
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as duplicate.
This comment was marked as duplicate.
Clarify that agents are allowed to add more information after filling the template.
|
|
||
| <!-- Testing you performed, and known limitations. Anything you couldn't quite solve. Let us know if you'd like guidance from a maintainer --> | ||
|
|
||
| * [ ] It compiles without error: _please list platformio build environments_ |
There was a problem hiding this comment.
This feels redundant. The CI pipeline will tell us if it builds ok
There was a problem hiding this comment.
Good point, you're right we can remove this item
|
|
||
| - [ ] _In the case of AI agents being involved:_ As a human contributor, I understand that I am fully responsible for this PR. | ||
| - [ ] I have personally reviewed all changes (incl. source code) before opening this PR. | ||
| - [ ] I am ready to explain my proposed changes line-by-line (without any AI agent responding on my behalf). |
There was a problem hiding this comment.
Well depends if you mean the "line-by-line" or the overall list?
- We can remove "i am fully responsible" because that's somewhat obvious 🤔
- the line-by-line checkbox is kind of an early defense against vibe coders - if you can't explain every line, why should I (as reviewer) try to fill that gap?
Maybe the wording is a bit too strong, i'm open for suggestions.
There was a problem hiding this comment.
@netmindz proposal
- remove the first checkbox
- change item 3 to "I'm ready to explain my proposed changes (without an AI agent answering for me)."
There was a problem hiding this comment.
That is certainly an improvement. I'm still a bit conflicted about "blocking" PRs from anyone who isn't a developer
There was a problem hiding this comment.
For me its not "are you a developer or not", its more "do you understand this code". Even a hobby coder (maybe writing a usermod) should be able to explain what his code does, and why it seems to work. Maybe some answer will be like "just copied this from the example, and then changed a few UI labels". That's still a way of "i can explain it".
A major pain we had with some PRs like the "auto-translate UI" chinese one. Whenever we asked "why do you program it like this", the response was "understood, my AI has completely rewritten everything now, is that better?"
I'm open to discussion and suggestions here.
Edit: we might allow people to mark a PR as "POC" to waive the "i can explain my code" requirement. Like your SyncV2 one, which was more to share an idea than to have high quality code.
There was a problem hiding this comment.
I do agree with @softhack007 on this. If the issue can be solved with a few AI prompts, we don't really need someone inexperienced in coding to do it, opening an issue would be less work in that case.
For a draft as a discussion basis a fully vibe coded suggestion is fine.
Summary by CodeRabbit