mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-12-05 23:18:58 +01:00
chore: improve PR guidance for contributors and reviewers (#14310)
* docs: make the PR template human-first * chore: reference title conventions in the PR checklist * chore: simplify PR sections and collapse the checklist * docs: add AGENTS.md and move PR description guidance later Agents read AGENTS.md on their own, so the rules for drafting a PR live there and CONTRIBUTING.md points to it from the AI section. The PR description section now follows the sections on what to contribute. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * docs: ask agents to backtick file names in PR descriptions Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
c0bd15e9cb
commit
5b5bf2c51a
3 files changed
+117
-15
No files matched your search
@@ -0,0 +1,34 @@
|
||||
# Instructions for coding agents
|
||||
|
||||
Oh My Zsh is maintained by a small team of volunteers. A person reviews every
|
||||
pull request, so help the contributor send one that is easy to review.
|
||||
|
||||
## Before opening a pull request
|
||||
|
||||
1. Read [CONTRIBUTING.md](CONTRIBUTING.md) and follow it.
|
||||
2. Search open pull requests and issues for the same change. If one exists,
|
||||
tell the contributor instead of opening a duplicate.
|
||||
3. Fill in [.github/PULL_REQUEST_TEMPLATE.md](.github/PULL_REQUEST_TEMPLATE.md).
|
||||
Keep its sections and its checklist.
|
||||
4. Use the [commit format](CONTRIBUTING.md#commit-guidelines) for commits and
|
||||
for the pull request title.
|
||||
|
||||
## Writing the description
|
||||
|
||||
- Report only evidence you have. Don't invent user requests, test results,
|
||||
or demo links.
|
||||
- Separate checks you ran from testing the contributor did. Don't claim
|
||||
personal testing or confirmation on their behalf.
|
||||
- Leave unconfirmed checklist items unchecked, and name any missing testing
|
||||
or demo.
|
||||
- Don't commit the contributor to follow-up work they haven't agreed to.
|
||||
- Disclose meaningful AI assistance in "Other notes".
|
||||
- Put file names and paths in backticks so they render as code.
|
||||
|
||||
## Keeping the change reviewable
|
||||
|
||||
- One purpose per pull request. Keep the diff small, and leave unrelated
|
||||
files alone.
|
||||
- Follow the [code style guide](https://github.com/ohmyzsh/ohmyzsh/wiki/Code-Style-Guide).
|
||||
- The contributor must be able to explain the change. If they can't yet,
|
||||
explain it to them before the pull request is opened.
|
||||
Reference in new issue
Block a user