Skip to content

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

Merged
merged 21 commits into from
Aug 10, 2025

Conversation

LyalinDotCom
Copy link
Contributor

@LyalinDotCom LyalinDotCom commented Aug 6, 2025

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:

  • Value-First Approach: The new "Why Gemini CLI?" and "Key Features" sections immediately communicate the core benefits and capabilities to a potential user, helping them understand the tool's purpose at a glance.
  • Guided Onboarding: Authentication and installation instructions are now presented as clear, distinct options with "Best for:" recommendations. This helps users choose the correct path for their specific needs (e.g., individual developer vs. enterprise team) instead of just presenting a list of commands.
  • Visual Polish: The addition of a product screenshot and standard repository badges (CI, NPM version, License) gives the project a more mature and trustworthy appearance.
  • Centralized Documentation: The old "Next steps" list has been replaced with a comprehensive, categorized documentation tree. This acts as a central hub, making it significantly easier for users to find detailed information on any topic without leaving the README.

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.

  1. Pull down this branch.
  2. Review the README.md file in a markdown previewer or directly in the GitHub "Files changed" tab.
  3. Check for the following:
    • Clarity and Readability: Is the new structure easier to follow than the old one?
    • Formatting: Are headings, lists, code blocks, and links rendering correctly?
    • Accuracy: Is all the information presented factually correct?
    • Link Integrity: Click through a few links in the new documentation section to ensure they point to the correct files within the repository.

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.

🍏 🪟 🐧
npm run - - -
npx - - -
Docker - - -
Podman - - -
Seatbelt - - -

Linked issues / bugs

#5821

Copy link

google-cla bot commented Aug 6, 2025

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.

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.

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

  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 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.

@LyalinDotCom
Copy link
Contributor Author

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

LyalinDotCom and others added 4 commits August 6, 2025 20:37
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
@LyalinDotCom
Copy link
Contributor Author

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.

resolved

removed claim that was in there by mistake
@srithreepo
Copy link
Collaborator

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 !

@srithreepo srithreepo self-requested a review August 8, 2025 17:10
moved installation above key features
@LyalinDotCom
Copy link
Contributor Author

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 !

I've made the change

Copy link
Collaborator

@srithreepo srithreepo left a 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.
Copy link
Collaborator

@jkcinouye jkcinouye left a 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).

@LyalinDotCom
Copy link
Contributor Author

@NTaylorMullen I think this is ready for final merge?

auto-merge was automatically disabled August 10, 2025 18:42

Head branch was pushed to by a user without write access

@NTaylorMullen NTaylorMullen added this pull request to the merge queue Aug 10, 2025
Merged via the queue into google-gemini:main with commit 0e44bbc Aug 10, 2025
14 checks passed
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.

Overhaul README.md for Better Clarity and User Onboarding
5 participants