From 1329afc4e4be5cadcc8b815ac120e175ad9ec918 Mon Sep 17 00:00:00 2001 From: Bob Hancock Date: Tue, 13 Jan 2026 13:28:56 -0500 Subject: [PATCH 1/2] Added step_by_step command --- .gemini/commands/step_by_step.toml | 23 +++++++++++++++++++++++ ChangeLog | 26 +++++++++++++++----------- 2 files changed, 38 insertions(+), 11 deletions(-) create mode 100644 .gemini/commands/step_by_step.toml diff --git a/.gemini/commands/step_by_step.toml b/.gemini/commands/step_by_step.toml new file mode 100644 index 0000000..ae33a71 --- /dev/null +++ b/.gemini/commands/step_by_step.toml @@ -0,0 +1,23 @@ +description = "Presents a response as a step by step process for the user to follow." +prompt = """ +# Task + +Break down the user's request into a clear, step-by-step process. + +## Context +User input: {{args}} + +## Instructions + +1. **Analyze** the user's request carefully. +2. **Structure** your response as a clear, numbered list of steps. +3. **Actionable Steps**: Ensure each step is a direct action the user can take. +4. **Logical Flow**: The steps should follow a logical chronological or dependency-based order. +5. **Headers**: Use headers to separate distinct phases if the process is complex. +6. **Verification**: Include a final step or section on how to verify the task is complete, if applicable. + +## Format +1. Step 1 +2. Step 2 +... +""" diff --git a/ChangeLog b/ChangeLog index e8f0e24..9b7e949 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,12 @@ -* 1.0.0 -- Release of verion 1.0 +* 1.4.0 +- Modified ChangeLog so changes are listed in reverse chronological order. +- Added step_by_step custom command. -* 1.1.0 -- Added support for PHP, Ruby, Java, and C#. -- Find latest verion of the API and prompt user whether to use this version. -- Modified setup.sh to clone copies of the client libraries. +* 1.3.0 +- Added explain command. +- Placed client libraries in a sub-directory of the project directory. +- Updated setup and update scripts. +- Added constraint to GEMINI.md to never modify files in api_examples. * 1.2.0 - Updated README.md for clarity @@ -15,8 +17,10 @@ - Modified logic in setup and update scripts. - Added tests for setup and update scripts. -* 1.3.0 -- Added explain command. -- Placed client libraries in a sub-directory of the project directory. -- Updated setup and update scripts. -- Added constraint to GEMINI.md to never modify files in api_examples. +* 1.1.0 +- Added support for PHP, Ruby, Java, and C#. +- Find latest verion of the API and prompt user whether to use this version. +- Modified setup.sh to clone copies of the client libraries. + +* 1.0.0 +- Release of verion 1.0 From 1c330702c27aa2ce0d1b7da3115b7f719c2ba0d4 Mon Sep 17 00:00:00 2001 From: Bob Hancock Date: Tue, 13 Jan 2026 13:28:56 -0500 Subject: [PATCH 2/2] Added step_by_step command --- .gemini/commands/step_by_step.toml | 23 +++++++++++++++++++++++ ChangeLog | 26 +++++++++++++++----------- README.md | 9 +++++++++ 3 files changed, 47 insertions(+), 11 deletions(-) create mode 100644 .gemini/commands/step_by_step.toml diff --git a/.gemini/commands/step_by_step.toml b/.gemini/commands/step_by_step.toml new file mode 100644 index 0000000..ae33a71 --- /dev/null +++ b/.gemini/commands/step_by_step.toml @@ -0,0 +1,23 @@ +description = "Presents a response as a step by step process for the user to follow." +prompt = """ +# Task + +Break down the user's request into a clear, step-by-step process. + +## Context +User input: {{args}} + +## Instructions + +1. **Analyze** the user's request carefully. +2. **Structure** your response as a clear, numbered list of steps. +3. **Actionable Steps**: Ensure each step is a direct action the user can take. +4. **Logical Flow**: The steps should follow a logical chronological or dependency-based order. +5. **Headers**: Use headers to separate distinct phases if the process is complex. +6. **Verification**: Include a final step or section on how to verify the task is complete, if applicable. + +## Format +1. Step 1 +2. Step 2 +... +""" diff --git a/ChangeLog b/ChangeLog index e8f0e24..9b7e949 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,12 @@ -* 1.0.0 -- Release of verion 1.0 +* 1.4.0 +- Modified ChangeLog so changes are listed in reverse chronological order. +- Added step_by_step custom command. -* 1.1.0 -- Added support for PHP, Ruby, Java, and C#. -- Find latest verion of the API and prompt user whether to use this version. -- Modified setup.sh to clone copies of the client libraries. +* 1.3.0 +- Added explain command. +- Placed client libraries in a sub-directory of the project directory. +- Updated setup and update scripts. +- Added constraint to GEMINI.md to never modify files in api_examples. * 1.2.0 - Updated README.md for clarity @@ -15,8 +17,10 @@ - Modified logic in setup and update scripts. - Added tests for setup and update scripts. -* 1.3.0 -- Added explain command. -- Placed client libraries in a sub-directory of the project directory. -- Updated setup and update scripts. -- Added constraint to GEMINI.md to never modify files in api_examples. +* 1.1.0 +- Added support for PHP, Ruby, Java, and C#. +- Find latest verion of the API and prompt user whether to use this version. +- Modified setup.sh to clone copies of the client libraries. + +* 1.0.0 +- Release of verion 1.0 diff --git a/README.md b/README.md index 8e4a7c5..12b9110 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,15 @@ b. **Set Context in Gemini:** The `gemini` command must be run from the root of > ... (results displayed) ... > "Save the results to csv" +### Customm Commands + +There is a bug in /help. It does not list custom commands under the project directory. You can see the names of the custom commands by running `ls -l .gemini/commands`. This will list the .toml files that contain the custom commands. You can then use the custom commands by running `/` followed by the name of the custom command. For example, if you see a file named `explain.toml`, you can use the custom command by running `/explain`. + +This is a partial list of custom commands: + +* `/explain` - Format the response from the model to be more readable. +* `step_by_step` - Format the response a series of steps. Show the model's thinking process. This is useful for debugging. + ## Directory Structure * `google-ads-api-developer-assistant/`: Root directory. **Launch `gemini` from here.**