Skip to content

docs(skills): document skill packaging and distribution#23722

Open
mattKorwel wants to merge 5 commits intomainfrom
feat/skill-package-cmd
Open

docs(skills): document skill packaging and distribution#23722
mattKorwel wants to merge 5 commits intomainfrom
feat/skill-package-cmd

Conversation

@mattKorwel
Copy link
Collaborator

This PR adds documentation for packaging agent skills into .skill files for easier distribution and clarifies the installation and activation steps.

@mattKorwel mattKorwel requested review from a team as code owners March 24, 2026 22:37
@gemini-code-assist
Copy link
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 pull request significantly enhances the documentation for managing agent skills within the Gemini CLI. It introduces comprehensive guides on how to package skills into distributable .skill files, covering both automated and manual methods, and clarifies the process for installing and activating these skills within a Gemini session.

Highlights

  • Skill Packaging Documentation: New sections were added to docs/cli/creating-skills.md detailing how to package agent skills into .skill files for distribution.
  • skill-creator Toolchain: Instructions were provided for using the built-in skill-creator skill to validate and package skills.
  • Manual Packaging: Guidance was included for manually creating .skill files using ZIP archives.
  • Skill Installation: Documentation was added for installing packaged .skill files using the gemini skills install command for both user and workspace scopes.
  • Skill Activation and Reloading: A new section in docs/cli/skills.md clarifies how to activate newly installed or linked skills in active sessions and how new sessions handle discovery.
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 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 updates the Gemini CLI documentation for skills. It adds new sections to docs/cli/creating-skills.md detailing how to package and install skills, including both manual methods and using the skill-creator toolchain. Additionally, docs/cli/skills.md now includes a section on skill activation and reloading. Review feedback indicates that the documentation for the name property, a required field in SKILL.md frontmatter, was inadvertently removed and needs to be restored. Also, the example zip command provided for manual packaging is incorrect and would cause skill installation to fail, requiring a correction.

Note: Security Review has been skipped due to the limited scope of the PR.

@github-actions
Copy link

github-actions bot commented Mar 24, 2026

Size Change: -4 B (0%)

Total Size: 26.3 MB

Filename Size Change
./bundle/chunk-23DI7L5V.js 0 B -3.4 kB (removed) 🏆
./bundle/chunk-RGAW74XF.js 0 B -14.6 MB (removed) 🏆
./bundle/chunk-XN6LIP7Z.js 0 B -3.64 MB (removed) 🏆
./bundle/core-V2XIMZSL.js 0 B -43.4 kB (removed) 🏆
./bundle/devtoolsService-UUX2LQ3U.js 0 B -27.7 kB (removed) 🏆
./bundle/gemini-O3YTTRVA.js 0 B -521 kB (removed) 🏆
./bundle/interactiveCli-R244XGXP.js 0 B -1.62 MB (removed) 🏆
./bundle/oauth2-provider-PTOK7KZE.js 0 B -9.16 kB (removed) 🏆
./bundle/chunk-EKNCHE4M.js 3.64 MB +3.64 MB (new file) 🆕
./bundle/chunk-K5SHIRU2.js 3.4 kB +3.4 kB (new file) 🆕
./bundle/chunk-QDHGPGDJ.js 14.6 MB +14.6 MB (new file) 🆕
./bundle/core-QUMOK76N.js 43.4 kB +43.4 kB (new file) 🆕
./bundle/devtoolsService-HJOO3HWL.js 27.7 kB +27.7 kB (new file) 🆕
./bundle/gemini-UMKHBDFN.js 521 kB +521 kB (new file) 🆕
./bundle/interactiveCli-LR4TAXS2.js 1.62 MB +1.62 MB (new file) 🆕
./bundle/oauth2-provider-MQ34JEBP.js 9.16 kB +9.16 kB (new file) 🆕
ℹ️ View Unchanged
Filename Size Change
./bundle/chunk-34MYV7JD.js 2.45 kB 0 B
./bundle/chunk-5AUYMPVF.js 858 B 0 B
./bundle/chunk-664ZODQF.js 124 kB 0 B
./bundle/chunk-DAHVX5MI.js 206 kB 0 B
./bundle/chunk-IUUIT4SU.js 56.5 kB 0 B
./bundle/chunk-IV2KUFMZ.js 1.96 MB 0 B
./bundle/chunk-RJTRUG2J.js 39.8 kB 0 B
./bundle/cleanup-R4BVQ3OU.js 0 B -856 B (removed) 🏆
./bundle/devtools-36NN55EP.js 696 kB 0 B
./bundle/dist-T73EYRDX.js 356 B 0 B
./bundle/gemini.js 2.06 kB 0 B
./bundle/getMachineId-bsd-TXG52NKR.js 1.55 kB 0 B
./bundle/getMachineId-darwin-7OE4DDZ6.js 1.55 kB 0 B
./bundle/getMachineId-linux-SHIFKOOX.js 1.34 kB 0 B
./bundle/getMachineId-unsupported-5U5DOEYY.js 1.06 kB 0 B
./bundle/getMachineId-win-6KLLGOI4.js 1.72 kB 0 B
./bundle/memoryDiscovery-CXSTQXLK.js 922 B 0 B
./bundle/multipart-parser-KPBZEGQU.js 11.7 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/client/main.js 221 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.js 227 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/index.js 11.5 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/types.js 132 B 0 B
./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
./bundle/src-QVCVGIUX.js 47 kB 0 B
./bundle/tree-sitter-7U6MW5PS.js 274 kB 0 B
./bundle/tree-sitter-bash-34ZGLXVX.js 1.84 MB 0 B
./bundle/cleanup-E3S3HAOP.js 856 B +856 B (new file) 🆕

compressed-size-action

@gemini-cli gemini-cli bot added the status/need-issue Pull requests that need to have an associated issue. label Mar 24, 2026
mattKorwel and others added 3 commits March 24, 2026 16:46
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>
@mattKorwel mattKorwel enabled auto-merge March 24, 2026 23:47
@mattKorwel mattKorwel self-assigned this Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/need-issue Pull requests that need to have an associated issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant