mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-12-03 21:58:56 +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
@@ -20,6 +20,7 @@ you would make is not already covered.
|
||||
- [Getting started](#getting-started)
|
||||
- [You have a solution](#you-have-a-solution)
|
||||
- [You have an addition](#you-have-an-addition)
|
||||
- [Writing your PR description](#writing-your-pr-description)
|
||||
- [A note on AI-assisted contributions](#a-note-on-ai-assisted-contributions)
|
||||
- [Use the Search, Luke](#use-the-search-luke)
|
||||
- [Commit Guidelines](#commit-guidelines)
|
||||
@@ -126,6 +127,34 @@ Because of this, from now on, we require that new aliases follow these condition
|
||||
This list is not exhaustive! Please remember that your alias will be in the machines of many people,
|
||||
so it should be justified why they should have it.
|
||||
|
||||
### Writing your PR description
|
||||
|
||||
Use the [PR template](.github/PULL_REQUEST_TEMPLATE.md) to help people understand
|
||||
the purpose of your change before they reach the submission checklist. Keep answers
|
||||
short and proportional to the change; a sentence or two per section is often enough.
|
||||
|
||||
Oh My Zsh should make the command line more delightful. Tell us whose day your
|
||||
change makes easier, clearer, or more enjoyable, and how. Scratching your own itch
|
||||
is a welcome starting point! Your change doesn't need to help everyone, but explain
|
||||
why it would be useful to others and belongs in the shared project. Link relevant
|
||||
requests or examples when you have them; otherwise, explain the expected benefit
|
||||
without claiming demand you haven't seen.
|
||||
|
||||
For user-facing changes, include screenshots, a GIF, or a short video showing
|
||||
before/after behavior. For a new feature, demonstrate it in use. Label the examples,
|
||||
keep terminal text readable, and remove private information. For low-level or other
|
||||
non-visual changes, explain why a visual wouldn't be useful. If a demo is needed
|
||||
but you can't capture it yet, say so rather than marking it inapplicable.
|
||||
|
||||
Describe the checks actually run and their results, relevant environment versions,
|
||||
and any testing gaps. Distinguish automated or agent-run checks from testing you
|
||||
personally performed. For documentation-only changes, describe what you checked.
|
||||
Only check the personal-testing item after you've done that testing yourself.
|
||||
|
||||
For features and enhancements, tell us how you'll help users discover and use them.
|
||||
A plugin README update, a usage example, or sharing your demo are good ways to help.
|
||||
Be clear about what's included in the PR and what's planned for later.
|
||||
|
||||
## A note on AI-assisted contributions
|
||||
|
||||
We'll admit it: AI tools can be pretty helpful for coding tasks, and we're not here to gatekeep how you get your work done. We use these tools ourselves! 🤖
|
||||
@@ -150,6 +179,9 @@ The disclosure helps us know how much guidance to offer. If we're just reviewing
|
||||
|
||||
As always, we reserve the right to decline any contribution. PRs that appear to be unreviewed AI output, or code the contributor can't explain, may be closed without extensive feedback.
|
||||
|
||||
**For coding agents:** follow [AGENTS.md](AGENTS.md). It covers what to read
|
||||
before drafting a PR and how to keep the description grounded in evidence.
|
||||
|
||||
----
|
||||
|
||||
## Use the Search, Luke
|
||||
|
||||
Reference in new issue
Block a user