Skip to content

chore: sync skills with Discovery API#611

Closed
googleworkspace-bot wants to merge 2 commits into
mainfrom
chore/sync-skills
Closed

chore: sync skills with Discovery API#611
googleworkspace-bot wants to merge 2 commits into
mainfrom
chore/sync-skills

Conversation

@googleworkspace-bot
Copy link
Copy Markdown
Collaborator

Automated PR — the Google Discovery API specs have changed and the
generated skill files are out of date.

Created by the Generate Skills workflow (generate-skills.yml).

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Mar 24, 2026

⚠️ No Changeset found

Latest commit: e59e2c3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, 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 automated pull request synchronizes the Google Workspace Drive skill documentation with the latest Google Discovery API specifications. The primary changes involve updating external documentation links to use relative paths and enhancing the description of the files.get method to provide clearer guidance on exporting Google Workspace files.

Highlights

  • API Documentation Link Updates: Several absolute URLs for Google Drive API guides were changed to relative paths within the SKILL.md file, ensuring consistency and potentially improving navigation within the documentation site.
  • files.get Method Clarification: The description for the files.get method was updated to include a specific note, advising users to utilize files.export for downloading Google Docs, Sheets, and Slides content.
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.

Footnotes

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

@googleworkspace-bot googleworkspace-bot added the cla: yes This human has signed the Contributor License Agreement. label Mar 24, 2026
@jpoehnelt jpoehnelt closed this Mar 24, 2026
@googleworkspace-bot
Copy link
Copy Markdown
Collaborator Author

/gemini review

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

Copy link
Copy Markdown
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 modifies the SKILL.md file to update documentation for Google Workspace Drive API methods. The changes involve converting several absolute URLs to root-relative paths and adding a new sentence to the get method description. The review comments highlight that changing the links to root-relative paths will cause them to break when the file is viewed directly on platforms like GitHub, degrading documentation usability. Additionally, a missing closing parenthesis was identified in the create method description. The feedback suggests reverting the links to absolute URLs and correcting the grammatical error.

I am having trouble creating individual review comments. Click here to see my feedback.

skills/gws-drive/SKILL.md (73)

high

Changing this documentation link from an absolute URL to a root-relative path will cause it to be broken for anyone viewing this file directly on platforms like GitHub. This degrades the usability of the documentation for developers browsing the repository. Please use the full absolute URL to ensure the link is always accessible.

  - `list` — Lists the user's shared drives. This method accepts the `q` parameter, which is a search query combining one or more search terms. For more information, see the [Search for shared drives](https://developers.google.com/workspace/drive/api/guides/search-shareddrives) guide.

skills/gws-drive/SKILL.md (80)

high

This line has two issues:

  1. The link has been changed to a root-relative path, which will be broken when viewed outside of the specific documentation portal (e.g., on GitHub). Please use the absolute URL to ensure the link is always functional.
  2. There is a missing closing parenthesis at the end of the sentence starting with (Specify....
  - `create` — Creates a file. For more information, see [Create and manage files](https://developers.google.com/workspace/drive/api/guides/create-file). This method supports an */upload* URI and accepts uploaded media with the following characteristics: - *Maximum file size:* 5,120 GB - *Accepted Media MIME types:* `*/*` (Specify a valid MIME type, rather than the literal `*/*` value. The literal `*/*` is only used to indicate that any valid MIME type can be uploaded.)

skills/gws-drive/SKILL.md (84)

high

The links in this line have been changed to root-relative paths, which will be broken when viewed on platforms like GitHub. Please use absolute URLs to ensure they are always accessible.

  - `get` — Gets a file's metadata or content by ID. For more information, see [Search for files and folders](https://developers.google.com/workspace/drive/api/guides/search-files). If you provide the URL parameter `alt=media`, then the response includes the file contents in the response body. Downloading content with `alt=media` only works if the file is stored in Drive. To download Google Docs, Sheets, and Slides use [`files.export`](https://developers.google.com/workspace/drive/api/reference/rest/v3/files/export) instead.

skills/gws-drive/SKILL.md (85)

high

This link has been changed to a root-relative path, which will be broken when viewed outside of the specific documentation portal (e.g., on GitHub). Please use the absolute URL to ensure the link is always functional.

  - `list` — Lists the user's files. For more information, see [Search for files and folders](https://developers.google.com/workspace/drive/api/guides/search-files). This method accepts the `q` parameter, which is a search query combining one or more search terms. This method returns *all* files by default, including trashed files. If you don't want trashed files to appear in the list, use the `trashed=false` query parameter to remove trashed files from the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: skills cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants