Skip to content

Add customization for the Gemini Code Assist review bot#9774

Merged
kenzieschmoll merged 9 commits intoflutter:masterfrom
kenzieschmoll:gca
Apr 16, 2026
Merged

Add customization for the Gemini Code Assist review bot#9774
kenzieschmoll merged 9 commits intoflutter:masterfrom
kenzieschmoll:gca

Conversation

@kenzieschmoll
Copy link
Copy Markdown
Member

@kenzieschmoll kenzieschmoll commented Apr 15, 2026

Adds customization to the Gemini Code Assist bot to improve the quality of AI Reviews. This is a starting point inspired by the flutter/flutter and flutter/flutter-intellij configurations:

No tests required since this is an infra-only change.

Fixes #9773.

Pre-launch Checklist

General checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read the Flutter Style Guide recently, and have followed its advice.
  • I signed the CLA.
  • I updated/added relevant documentation (doc comments with ///).

Issues checklist

Tests checklist

  • I added new tests to check the change I am making...
  • OR there is a reason for not adding tests, which I explained in the PR description.

AI-tooling checklist

  • I did not use any AI tooling in creating this PR.
  • OR I did use AI tooling, and...
    • I read the AI contributions guidelines and agree to follow them.
    • I reviewed all AI-generated code before opening this PR.
    • I understand and am able to discuss the code in this PR.
    • I have verifed the accuracy of any AI-generated text included in the PR description.
    • I commit to verifying the accuracy of any AI-generated code or text that I upload in response to review comments.

Feature-change checklist

  • This PR does not change the DevTools UI or behavior and...
    • I added the release-notes-not-required label or left a comment requesting the label be added.
  • OR this PR does change the DevTools UI or behavior and...
    • I added an entry to packages/devtools_app/release_notes/NEXT_RELEASE_NOTES.md.
    • I included before/after screenshots and/or a GIF demo of the new UI to my PR description.
    • I ran the DevTools app locally to manually verify my changes.

build.yaml badge

If you need help, consider asking for help on Discord.

@kenzieschmoll kenzieschmoll requested a review from a team as a code owner April 15, 2026 23:35
@kenzieschmoll kenzieschmoll requested review from srawlins and removed request for a team April 15, 2026 23:35
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the project's documentation and configuration by removing Gemini logs from .gitignore and adding comprehensive guidelines to AGENTS.md regarding published packages, code quality, and documentation standards. Feedback suggests refining the method length rule to account for Flutter's declarative build methods and adjusting the documentation style for private members to maintain consistency with Effective Dart conventions.

Comment thread AGENTS.md Outdated
Comment thread AGENTS.md
@kenzieschmoll kenzieschmoll requested review from elliette and pq April 15, 2026 23:42
@kenzieschmoll kenzieschmoll changed the title Gca Add customization for the Gemini Code Assist review bot Apr 15, 2026
@kenzieschmoll
Copy link
Copy Markdown
Member Author

/gemini review

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the project's documentation and contribution guidelines. Key changes include removing Gemini logs from .gitignore, adding new sections to AGENTS.md regarding published packages, code quality, documentation standards, and UI development best practices, and refining the phrasing and punctuation in STYLE.md. A minor formatting improvement was suggested for the pull request template reference in AGENTS.md to ensure consistency with the rest of the document.

Comment thread AGENTS.md Outdated
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@kenzieschmoll
Copy link
Copy Markdown
Member Author

/gemini

Copy link
Copy Markdown
Contributor

@srawlins srawlins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it!

Copy link
Copy Markdown
Contributor

@pq pq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@kenzieschmoll kenzieschmoll merged commit e17e654 into flutter:master Apr 16, 2026
45 checks passed
@kenzieschmoll kenzieschmoll deleted the gca branch April 16, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable AI reviews for DevTools and optimize for review quality

3 participants