Skip to content

Conversation

jerop
Copy link
Contributor

@jerop jerop commented Aug 2, 2025

This commit refactors the existing workflows to use the new custom commands feature in the Gemini CLI. This makes the workflows more maintainable and easier to read, and it also allows users to easily customize the prompts.

The following changes were made:

  • Created .toml files for each custom command in the .gemini/commands directory.
  • Updated the .gitignore file to include the .gemini/commands directory.
  • Updated the workflow files to use the new custom commands.
  • Updated the README.md files to reflect the changes.
  • Added the new workflows and commands to the repository for dogfooding.

More context in #76
This is a POC; slash commands don't work in headless mode yet - google-gemini/gemini-cli#5435

Copy link

@gemini-cli gemini-cli bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great PR that refactors the workflows to use the new custom commands feature. This will make the workflows much more maintainable and easier to customize. The changes are well-implemented and the documentation is clear. I only have one minor suggestion.

@jerop jerop force-pushed the feat/custom-commands branch from 8c3f0aa to 4d68e59 Compare August 2, 2025 22:29
@jerop jerop mentioned this pull request Aug 2, 2025
@jerop jerop force-pushed the feat/custom-commands branch from 4d68e59 to 0367f21 Compare August 2, 2025 23:13
Copy link
Member

@sethvargo sethvargo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this, it's really clean. FWIW, here's a pattern we do elsewhere (e.g. downloading a default linter config unless the user provides their own): https://github.com/abcxyz/actions/blob/f26869a425d0b0217b9c8ad7e3f6ab70547272c9/.github/actions/lint-go/action.yml#L48-L70

This commit refactors the existing workflows to use the new custom commands feature in the Gemini CLI. This makes the workflows more maintainable and easier to read, and it also allows users to easily customize the prompts.

The following changes were made:

- Created `.toml` files for each custom command in the `.gemini/commands` directory.
- Updated the `.gitignore` file to include the `.gemini/commands` directory.
- Updated the workflow files to use the new custom commands.
- Updated the `README.md` files to reflect the changes.
- Added the new workflows and commands to the repository for dogfooding.
@jerop jerop force-pushed the feat/custom-commands branch from 0367f21 to 478fe07 Compare August 4, 2025 18:14
Copy link

@gemini-cli gemini-cli bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📋 Review Summary

This pull request refactors the existing workflows to use the new custom commands feature in the Gemini CLI. This is a great improvement that will make the workflows more maintainable and easier to read. I've left a few comments to address some typos in the new command files.

🔍 General Feedback

  • The use of custom commands is a great way to simplify the workflows and make them more reusable.
  • The new toml files are well-structured and easy to understand.
  • The documentation has been updated to reflect the changes.

@evanotero
Copy link

Really like this. It will make it easier as well for us to add new workflows for the specialized agents and extensions that we're working on releasing very soon.

@leehagoodjames
Copy link
Contributor

@jerop I'd love to get this in to clean things up

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

Successfully merging this pull request may close these issues.

4 participants