-
Notifications
You must be signed in to change notification settings - Fork 6.8k
docs(readme): Overhaul for clarity and user experience #5732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…er alighnment with OAuth login benefits and easy links to docs
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary of Changes
Hello @LyalinDotCom, 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!
I've undertaken a comprehensive overhaul of the main README.md file to significantly enhance its clarity, structure, and overall user experience. The primary goal is to transform it into a more professional and welcoming entry point for the project, making it easier for new and existing users to understand the Gemini CLI's purpose, features, and how to get started. This change is purely documentation-focused and does not introduce any modifications to the project's code functionality.
Highlights
- Comprehensive README Overhaul: The README.md has been completely restructured to improve clarity, flow, and user guidance, making it a more professional and welcoming entry point for the project.
- Value-First Content Introduction: New sections like 'Why Gemini CLI?' and 'Key Features' have been added to immediately communicate the core benefits and capabilities of the tool.
- Improved Onboarding Experience: Installation and authentication instructions are now presented as clear, distinct options with 'Best for:' recommendations, simplifying the onboarding process for different user needs.
- Centralized Documentation Hub: The old 'Next steps' list has been replaced with a comprehensive, categorized 'Documentation' hub, centralizing information and making it easier for users to find detailed guides.
- Enhanced GitHub Workflow Integration: The README.md now includes a 'GitHub Integration' section, highlighting the Gemini CLI GitHub Action for automated PR reviews, issue triage, and on-demand assistance.
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 in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command>
or @gemini-code-assist <command>
. Below is a summary of the supported commands.
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 issue 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 or fill out our survey to provide feedback.
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
-
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. ↩
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This is an excellent and comprehensive overhaul of the README.md file. The new structure is much clearer, more professional, and provides a significantly better onboarding experience for new users. The addition of sections like 'Why Gemini CLI?' and the detailed documentation hub are fantastic improvements. I've found a couple of minor formatting issues in the code examples that break rendering, which I've detailed below. Once those are fixed, this will be a perfect update.
Note I specifically removed "Popular tasks" section as I don't think it adds a lot of value, having links to the docs there seems more important. I also really want the doc links as going into the docs folders is annoying, I think others will enjoy it too |
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Improvements suggested
fixed model name
resolved |
removed claim that was in there by mistake
I recommend moving the Installation section above the Key features for easy accessibility. The new flow would be Why Gemini CLI, Installation, Key Features. Other than that this looks great ! |
moved installation above key features
I've made the change |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This approach applies to both Individual developers and Developers with existing Gemini Code Assist Licenses.
Included instrections for users using a Paid code assist license.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the interest of expediency, I think this can be put through as-is and I can do a fast-follow PR for style and consistency. There is only one major callout, which is that the current description for the "gemini ignore" page/feature is incorrect (I noted where this happens).
@NTaylorMullen I think this is ready for final merge? |
Head branch was pushed to by a user without write access
TLDR
This pull request is a comprehensive overhaul of the main
README.md
file. It refactors the entire document for better clarity, structure, and user guidance, transforming it into a more professional and welcoming entry point for the project.Key changes include adding dedicated sections for "Why Gemini CLI?" and "Key Features," organizing installation and authentication into clear, benefit-driven options, and creating a full documentation hub. This is a documentation-only change and does not affect any code functionality.
This resolves #5821
Dive Deeper
The previous
README.md
was a simple, flat document that lacked the structure needed to effectively onboard new users or showcase the power of the CLI. This update addresses that by introducing several key improvements:Overall, these changes aim to reduce user friction, improve the developer experience, and better represent the quality of the Gemini CLI tool itself.
Reviewer Test Plan
Since this is a documentation-only change, validation is visual.
README.md
file in a markdown previewer or directly in the GitHub "Files changed" tab.No CLI testing is necessary, as no code pathways have been altered.
Testing Matrix
This is a documentation-only change, so the runtime testing matrix is not applicable.
Linked issues / bugs
#5821