Scaffold initial agent guidelines file for repository#13152
Scaffold initial agent guidelines file for repository#13152
Conversation
Summary of ChangesHello, 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 establishes a foundational document, AGENTS.md, intended to guide AI agents interacting with the Flutter documentation website's codebase and content. By providing a clear overview of the project, its structure, essential commands, and style guidelines, this file aims to enhance the efficiency and consistency of AI-driven development and content creation from the outset. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Using Gemini Code AssistThe 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
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 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
|
7c9aad0 to
805560b
Compare
There was a problem hiding this comment.
Code Review
This pull request introduces the initial AGENTS.md file, providing essential project context and guidelines for agentic coding and writing tools. The file clearly outlines the project overview, directory structure, common commands, and initial content and coding guidelines. This is a great starting point for ensuring agents have the necessary information to contribute effectively.
Note: Security Review has been skipped due to the limited scope of the PR.
I am having trouble creating individual review comments. Click here to see my feedback.
AGENTS.md (62-63)
The pull request description suggests outlining the most impactful writing guidelines directly in this file, rather than just linking to the Google developer documentation style guide. This would provide more immediate and curated value for agents, making the AGENTS.md file more self-contained and actionable.
AGENTS.md (74-75)
Similar to the writing style, the pull request description recommends outlining the most impactful or unique coding guidelines for working on the site, instead of solely referencing Effective Dart. Providing these specific guidelines here would enhance the utility of this document for agents.
|
Visit the preview URL for this PR (updated for commit 805560b): https://flutter-docs-prod--pr13152-misc-rudimentary-agents-md-lspm9vub.web.app |
Adds a rudimentary
AGENTS.mdfile to the root of the repository which provides coding agents with background information and core guidelines it should always have in its context when working on the repository. This helps agents immediately understand what the project is, what CLI tools they should use, and what guidelines it should always follow.This PR only adds some basic content to provide an initial structure. The guidelines can be incrementally replaced, expanded, and improved by the team in future PRs. While doing so though, do note it's best to keep only most impactful, universally applicable context in this file. Other guidelines are best left to conditionally applied rules or skills.
Some suggested follow up: