From f5dacad5fcbeb7f3ad2bf9ea89f0ece17a151bc0 Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Sat, 21 Feb 2026 22:00:39 +0100 Subject: [PATCH] add pull request guidelines --- CONTRIBUTING.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 60c8b142242..18ae352ccae 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,6 +14,15 @@ Generated AI code can be accepted, under some conditions: - Provide proof of manual testing of the changes, with screenshots or ideally a video. - Include in the pull-request message, or in commit messages, the prompts you used to generate the code, and the AI tool you used. +### General guidelines for pull requests + +- Explain why the change is needed, and what problem it solves. +- Link to any relevant issues or discussions. +- Prefer small, focused pull requests that only change one thing at a time. +- Mark the pull request as a draft if you have not run the code. +- Only mark the pull request as ready when you have confirmed that it works as intended - be on the lookout for edge cases. +- If you're unsure about something, or want to ask if the change is desired before doing the work, ask us in the programming channels on https://discord.gg/lichess + ## I want to contribute artwork or documentation Some issues that need artwork and documentation to be resolved are tagged [`nontechnical`](https://github.com/lichess-org/lila/issues?q=is%3Aissue+is%3Aopen+label%3A%22non+technical%22).