From 3935dee121e1dcb4f377c9933233c0ace186b0bb Mon Sep 17 00:00:00 2001 From: Tony <68118705+Legend-Master@users.noreply.github.com> Date: Tue, 3 Mar 2026 17:45:42 +0800 Subject: [PATCH] Add AI tool policy to contributing guide (#15002) * Add AI tool policy to contrubuting guide * Apply suggestions from code review Co-authored-by: Fabian-Lars <30730186+FabianLars@users.noreply.github.com> * nonsense -> nonsensical --------- Co-authored-by: Fabian-Lars <30730186+FabianLars@users.noreply.github.com> --- .github/CONTRIBUTING.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index f0b35f439f2d..8e69134eb32c 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -5,6 +5,7 @@ Hi! We, the maintainers, are really excited that you are interested in contribut - [Issue Reporting Guidelines](#issue-reporting-guidelines) - [Pull Request Guidelines](#pull-request-guidelines) - [Development Guide](#development-guide) +- [AI Tool Policy](#ai-tool-policy) ## Issue Reporting Guidelines @@ -104,6 +105,16 @@ $ cargo +nightly doc --all-features --open The JS API provides bindings between the developer's JS in the Webview and the built-in Tauri APIs, written in Rust. Its code is located in [/packages/api](https://github.com/tauri-apps/tauri/tree/dev/packages/api). After making changes to the code, run `pnpm build` to build it. To test your changes, we recommend using the API example app, located in [/examples/api](https://github.com/tauri-apps/tauri/tree/dev/examples/api). It will automatically use your local copy of the JS API and provides a helpful UI to test the various commands. +## AI Tool Policy + +It takes a lot of time to review a Pull Request while it's very easy to make a nonsensical but plausible looking one using AI tools. +It is unfair for other contributors and the reviewers to spend much of the time dealing with this, hence these rules: + +1. Review and test all LLM-generated content before submitting, you're the one responsible for it, not the AI. +2. Don't use AI to respond to review comments (except for translations). + +We will close the Pull Request with a `ai-slop` tag if you failed to do so. + ## Financial Contribution Tauri is an MIT-licensed open source project. Its ongoing development can be supported via [GitHub Sponsors](https://github.com/sponsors/tauri-apps) or [Open Collective](https://opencollective.com/tauri). We prefer GitHub Sponsors as donations made are doubled through the matching fund program.