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>
This commit is contained in:
Robby RussellandClaude Fable 5.2 committed 2026-11-28 13:46:53 -08:00
1 parent c7c3ad8379
commit b8cd3adddc
2 files changed
+65 -37

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
# 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".
## 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.