MyNixOS website logo

An attribute set of custom commands that will be globally available. The name of the attribute set will be the name of each command. You may use subdirectories to create namespaced commands, such as git/fix becoming /git:fix. See https://github.com/google-gemini/gemini-cli/blob/main/docs/cli/commands.md#custom-commands for more information.

Declarations
Type
attribute set of (string)
Default
{ }
Example
changelog = {
  prompt =
    ''
    Your task is to parse the `<version>`, `<change_type>`, and `<message>` from their input and use the `write_file` tool to correctly update the `CHANGELOG.md` file.
    '';
  description = "Adds a new entry to the project's CHANGELOG.md file.";
};
"git/fix" = { # Becomes /git:fix
  prompt = "Please analyze the staged git changes and provide a code fix for the issue described here: {{args}}.";
  description = "Generates a fix for a given GitHub issue.";
};
</message></change_type></version>