Skip to content

Conversation

@jerop
Copy link
Contributor

@jerop jerop commented Nov 7, 2025

  • Add documentation explaining TOML custom command files
  • Document how commands are copied from .github/commands/ to .gemini/commands/
  • Add customization instructions for each workflow type (invoke, review, triage)
  • Update CONFIGURATION.md with new 'Custom Commands (TOML Files)' section
  • Update individual workflow READMEs with TOML file customization steps
  • Enhance generate-examples.sh to copy TOML files to example directories

This change improves discoverability and usability by clearly documenting how users can customize prompts using TOML files instead of inline YAML.

Note: Future work will include updating the /setup-github command upstream in the Gemini CLI to automatically copy TOML files when setting up workflows - #378.

Fixes #377

@jerop jerop requested review from a team as code owners November 7, 2025 18:51
@gemini-cli
Copy link
Contributor

gemini-cli bot commented Nov 7, 2025

🤖 Hi @jerop, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

Copy link
Contributor

@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 effectively refactors the example workflows by separating the prompts into TOML files. This change significantly improves the maintainability and usability of the examples. The accompanying documentation and script changes are clear and well-executed.

🔍 General Feedback

  • The refactoring to TOML files is a great improvement, making the workflow files cleaner and the prompts easier to manage.
  • The documentation updates are comprehensive and provide clear instructions for users who want to customize the prompts.

…amples script

- Add comprehensive documentation explaining TOML custom command files
- Document how commands are copied from .github/commands/ to .gemini/commands/
- Add customization instructions for each workflow type (invoke, review, triage)
- Update CONFIGURATION.md with new 'Custom Commands (TOML Files)' section
- Update individual workflow READMEs with TOML file customization steps
- Enhance generate-examples.sh to copy TOML files to example directories

This change improves discoverability and usability by clearly documenting
how users can customize prompts using TOML files instead of inline YAML.

Note: Future work will include updating the /setup-github command upstream
in the Gemini CLI to automatically copy TOML files when setting up workflows.
@jerop jerop force-pushed the docs/toml-commands-documentation branch from 03965d6 to 9ee15b9 Compare November 7, 2025 18:54
Copy link
Contributor

@joshualitt joshualitt left a comment

Choose a reason for hiding this comment

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

LGTM!

@jerop jerop enabled auto-merge (squash) November 7, 2025 18:57
@jerop jerop merged commit d38fea9 into main Nov 7, 2025
16 checks passed
@jerop jerop deleted the docs/toml-commands-documentation branch November 7, 2025 19:07
google-github-actions-bot added a commit that referenced this pull request Nov 21, 2025
## What's Changed
* feat: support direct wif by @fredrikaverpil in
#380
* feat(issue triage): Get all labels of the repository by @chouetz in
#346
* Prompt engineering for `gemini-scheduled-triage.toml`. by @joshualitt
in #356
* Sync `/examples` with `.github/` - refactor examples to also use
custom commands in prompts by @jerop in
#386
* chore: add support to use pnpm instead of npm for install by @dcreey
in #385
* feat(telemetry): set GHA_NAME dynamically from workflow by @MJjainam
in #390

## New Contributors
* @fredrikaverpil made their first contribution in
#380
* @chouetz made their first contribution in
#346
* @dcreey made their first contribution in
#385
* @MJjainam made their first contribution in
#390

**Full Changelog**:
v0.1.14...v0.1.15
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.

Refactor examples to also use custom commands in prompts

3 participants