Skip to content

Docs: Clarify extensions documentation.#19277

Merged
jkcinouye merged 7 commits intomainfrom
docs-update-extensions
Feb 17, 2026
Merged

Docs: Clarify extensions documentation.#19277
jkcinouye merged 7 commits intomainfrom
docs-update-extensions

Conversation

@jkcinouye
Copy link
Contributor

Summary

Updates extensions documentation for clarity between users and developers.

Details

This update delineates between managing and installing extensions (user-focused materials) and building and releasing extensions (developer-focused materials).

Additionally, this update adds information pertaining to releases, including .json config files, version releases, and extension discoverability.

Related Issues

Fixes #19276 19276

How to Validate

Read for any errors or unintended changes. This is a docs-only change.

Pre-Merge Checklist

  • Updated relevant documentation and README (if needed)
  • Added/updated tests (if needed)
  • Noted breaking changes (if any)
  • Validated on required platforms/methods:
    • MacOS
      • npm run
      • npx
      • Docker
      • Podman
      • Seatbelt
    • Windows
      • npm run
      • npx
      • Docker
    • Linux
      • npm run
      • npx
      • Docker

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @jkcinouye, 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 refines the Gemini CLI extensions documentation. The primary goal is to provide a clearer, more structured guide for both users and developers, making it easier to understand how to interact with, build, and release extensions. The changes aim to improve the overall accessibility and utility of the extension ecosystem.

Highlights

  • Documentation Clarity: Clarified extensions documentation by separating user-focused content (managing/installing) from developer-focused content (building/releasing).
  • Release Information: Introduced new information regarding extension releases, including .json configuration files, versioning, and discoverability in the gallery.
  • Improved Readability: Improved clarity and conciseness across several documentation pages, enhancing readability and user experience.
Changelog
  • docs/extensions/best-practices.md
    • Renamed the document title for better clarity.
    • Revised sections on development, security, and releasing for improved readability and conciseness.
    • Added new sections for testing, verification, and troubleshooting common extension issues.
  • docs/extensions/index.md
    • Restructured the page to clearly delineate between user-focused and developer-focused content.
    • Updated the introduction to better reflect the purpose of extensions.
    • Revised the installation instructions.
  • docs/extensions/reference.md
    • Updated the document title to "Extension reference".
    • Refined descriptions for extension management commands (install, uninstall, disable, enable, update, new, link).
    • Expanded the gemini-extension.json manifest details, including a new themes property.
    • Clarified the explanation of extension settings, custom commands, hooks, agent skills, sub-agents, and conflict resolution.
    • Simplified the variables table.
  • docs/extensions/releasing.md
    • Rewrote the introduction to better distinguish between Git repository and GitHub Releases.
    • Added a new section on how to list extensions in the Gemini CLI gallery.
    • Clarified best practices for managing release channels and custom pre-built archives.
  • docs/extensions/writing-extensions.md
    • Renamed the document title to "Build Gemini CLI extensions".
    • Updated the introductory text and the "When to use what" table (now "Extension features").
    • Introduced a new step for adding extension settings.
    • Renumbered subsequent steps to reflect the added section.
  • docs/sidebar.json
    • Updated navigation labels for extension documentation to provide a clearer distinction between user and developer guides.
    • Adjusted slugs to point to specific sections within index.md for user-focused content.
    • Reordered developer guide links for logical flow.
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 significantly improves the documentation for Gemini CLI extensions. The changes restructure the content to better serve both users and developers, with clear paths for each audience. The addition of sections on best practices, testing, troubleshooting, and publishing to the gallery provides valuable information for extension developers. The overall clarity and organization of the documentation are much improved. The changes look good.

@github-actions
Copy link

github-actions bot commented Feb 17, 2026

Size Change: -2 B (0%)

Total Size: 24.4 MB

ℹ️ View Unchanged
Filename Size Change
./bundle/gemini.js 24.4 MB -2 B (0%)
./bundle/sandbox-macos-permissive-open.sb 890 B 0 B
./bundle/sandbox-macos-permissive-proxied.sb 1.31 kB 0 B
./bundle/sandbox-macos-restrictive-open.sb 3.36 kB 0 B
./bundle/sandbox-macos-restrictive-proxied.sb 3.56 kB 0 B
./bundle/sandbox-macos-strict-open.sb 4.82 kB 0 B
./bundle/sandbox-macos-strict-proxied.sb 5.02 kB 0 B

compressed-size-action

@gemini-cli gemini-cli bot added priority/p2 Important but can be addressed in a future release. area/extensions Issues related to Gemini CLI extensions capability area/documentation Gemini CLI documentation tasks and issues 🔒 maintainer only ⛔ Do not contribute. Internal roadmap item. labels Feb 17, 2026
@jkcinouye jkcinouye marked this pull request as ready for review February 17, 2026 20:29
@jkcinouye jkcinouye requested review from a team as code owners February 17, 2026 20:29
@jkcinouye jkcinouye enabled auto-merge February 17, 2026 20:33
@g-samroberts
Copy link
Contributor

Fyi Link checker is failing, but I don't think it blocks so I turned off auto-merge for now:

20:39:28 ▶ src/pages/404.astro
Step #4: 20:39:28 └─ /404.html[AstroUserError] The slug "docs/extensions/index#manage-extensions" specified in the Starlight sidebar config does not exist.

@jkcinouye jkcinouye enabled auto-merge February 17, 2026 21:45
@jkcinouye jkcinouye added this pull request to the merge queue Feb 17, 2026
Merged via the queue into main with commit 216d727 Feb 17, 2026
27 checks passed
@jkcinouye jkcinouye deleted the docs-update-extensions branch February 17, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/documentation Gemini CLI documentation tasks and issues area/extensions Issues related to Gemini CLI extensions capability 🔒 maintainer only ⛔ Do not contribute. Internal roadmap item. priority/p2 Important but can be addressed in a future release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: Update extensions docs to clarify release process and audience.

2 participants