diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4d4b7845f..54aae4793 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,21 +1,79 @@ -## Standards checklist: + +For humans and coding agents: +- Report only checks actually run and evidence you have. Don't invent user + requests, results, or demo links. +- Distinguish agent-run checks from testing personally performed by the contributor. +- If testing or a required demo is missing, say it's still needed. +- Don't promise follow-up work on someone else's behalf. +- Leave checklist items unchecked until confirmed. Agents must not claim + personal testing or contributor confirmation on the contributor's behalf. +--> -- [ ] The PR title is descriptive. -- [ ] The PR doesn't replicate another PR which is already open. -- [ ] I have read the contribution guide and followed all the instructions. -- [ ] The code follows the code style guide detailed in the wiki. -- [ ] The code is mine or it's from somewhere with an MIT-compatible license. -- [ ] If I used AI tools (ChatGPT, Claude, Gemini, etc.) to assist with this contribution, I've disclosed it below. -- [ ] The code is efficient, to the best of my ability, and does not waste computer resources. -- [ ] The code is stable and I have tested it myself, to the best of my abilities. -- [ ] If the code introduces new aliases, I provide a valid use case for all plugin users down below. +## What does this change, and why? -## Changes: + -- [...] +## Who does this help? -## Other comments: + + +## Show the change + + + +## How did you test it? + + + +## How will users discover it? + + + +## Other notes + + + +## Submission checklist + + + +- [ ] The PR title clearly describes the change. +- [ ] I've searched for existing PRs and confirmed this isn't a duplicate. +- [ ] I've read and followed the [contribution guidelines](https://github.com/ohmyzsh/ohmyzsh/blob/master/CONTRIBUTING.md). +- [ ] My code follows the [code style guide](https://github.com/ohmyzsh/ohmyzsh/wiki/Code-Style-Guide). +- [ ] I wrote this code or can contribute it under an MIT-compatible license. +- [ ] If I meaningfully used AI tools, I've disclosed their role in "Other notes" above. +- [ ] I've included a visual demonstration or explained why a visual isn't useful for this change. +- [ ] I've considered performance and avoided unnecessary work or resource use. +- [ ] I've personally tested the change and described the results and any testing limitations above. +- [ ] If I've added aliases, I've explained why they're useful for common workflows among the plugin's users. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5168cdeaf..0bb97849e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -18,6 +18,7 @@ you would make is not already covered. - [You have a suggestion](#you-have-a-suggestion) - [Submitting Pull Requests](#submitting-pull-requests) - [Getting started](#getting-started) + - [Writing your PR description](#writing-your-pr-description) - [You have a solution](#you-have-a-solution) - [You have an addition](#you-have-an-addition) - [A note on AI-assisted contributions](#a-note-on-ai-assisted-contributions) @@ -78,6 +79,42 @@ any issue that would be solved in the PR description body, [for instance](https://help.github.com/articles/closing-issues-via-commit-messages/) _"Fixes #XXXX"_ for issue number XXXX. +### 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. + +**For coding agents:** read these guidelines and the PR template before drafting a +PR. Keep the description grounded in available evidence. Don't invent user requests, +test results, or demo links, and don't claim personal testing or confirmation on the +contributor's behalf. Leave unconfirmed checklist items unchecked and identify +missing testing or demos. Don't commit the contributor to follow-up work they +haven't agreed to. Disclose meaningful AI assistance in the template's "Other notes" +section, following the [AI contribution guidance](#a-note-on-ai-assisted-contributions). + ### You have a solution Please be so kind as to [search](#use-the-search-luke) for any open issue already covering