Skip to content

Conversation

@parlough
Copy link
Member

  • Mention which parent directory is expected such as .idx/airules.md
  • Expand section to support directories for environments that support generic directories like Antigravity and Windsurf
  • Add Antigravity and Claude Code
  • Add a note that this support is evolving since each environment keeps changing it
  • Update the documentation links for a few of the environments

@parlough parlough requested review from a team and sfshaza2 as code owners November 18, 2025 18:33
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @parlough, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the documentation for AI rules by providing a more comprehensive and up-to-date guide on how different AI environments handle rule files. It introduces new environments, clarifies file paths, and updates configuration links, ensuring users have the most accurate information for integrating AI rules into their development workflows.

Highlights

  • Expanded AI Environment Support: The documentation now includes Claude Code and Google Antigravity as supported AI environments for rule files.
  • Refined Rule File Paths: Existing entries for Firebase Studio, JetBrains IDEs, and Windsurf have been updated to specify their expected parent directories for rule files, such as .idx/airules.md and .junie/guidelines.md.
  • Evolving Support Note: A new note has been added to highlight that support for AI rules files is continuously evolving across different environments.
  • Updated Documentation Links: Numerous configuration instruction links for various AI environments have been updated to ensure they are current and accurate.
  • Branch Reference Update: The download link for the Flutter and Dart rules template has been corrected to point to the main branch instead of master.
  • Metadata Formatting Improvement: The description metadata in the ai-rules.md file was updated to use >- for better multiline formatting.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@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 AI rules documentation by expanding the table of supported environments, adding new entries, and updating file paths and links. The changes align well with the description and improve the content's accuracy and usefulness. I've provided a couple of minor suggestions to enhance table formatting and improve a link for better user navigation.

@flutter-website-bot
Copy link
Collaborator

Visit the preview URL for this PR (updated for commit 0d76414):

https://flutter-docs-prod--pr12718-misc-ai-rules-updates-prj1zqth.web.app

@flutter-website-bot
Copy link
Collaborator

flutter-website-bot commented Nov 18, 2025

Visit the preview URL for this PR (updated for commit 33d74cd):

https://flutter-docs-prod--pr12718-misc-ai-rules-updates-prj1zqth.web.app

Copy link
Contributor

@sfshaza2 sfshaza2 left a comment

Choose a reason for hiding this comment

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

lgtm

@sfshaza2 sfshaza2 merged commit 4ce845d into main Nov 18, 2025
9 checks passed
@sfshaza2 sfshaza2 deleted the misc/ai-rules-updates branch November 18, 2025 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants