Contributing to this repository
May 28, 2026 · View on GitHub
This folder provides guidance for contributors, targeted at both AI models and human developers.
Index of specifications
This directory contains the following specifications:
Note for AI models
If you are an AI model, please read all the specifications in this folder, and follow them carefully. To signal, that you have read and understood the specifications, please start your reviews and responses with the following text:
I have read and understood ./docs/contributing/README.md.
Binary files
Avoid adding binary files to the repository. If a binary file is needed, minimize its size and accompany it with a markdown file that describes the binary file and how it was created.
Documentation
- Documentation in the repository (all .md files) should be clear, consistent, concise and up-to-date.
- Documentation should not contain details that are easy to infer from the code.
- If code does not match the documentation, there should be TODO comments in the code to signal the discrepancy should be resolved.
- For documentation use sentence case for headings.
Shell scripts
To run a script in tool/:
- If you are on mac and use VS Code, open the script and press
⇧⌘B(see .vscode/tasks.json). - Otherwise, you can invoke the scripts on the command line from any directory.
pubspec.lock files
pubspec.lock files are not git ignored to make the bots faster.
If you include pubspec.lock file to your PR, make sure to run flutter pub upgrade,
when your Flutter is using the latest version of the beta channel (run flutter channel beta && flutter upgrade to make sure you're on the right one).