logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AiPromptSlashCommandInstaller

    Writes a generated prompt as a slash-command file (---\ndescription: ...\n---\n\n<body>) into every requested agent's CommandsDirectory. Agents without a commands directory (Gemini CLI's TOML-only custom commands) are skipped, never errored. Overwrites an existing file at the same path — idempotent, like the recipe engine's own upsert.

    Inheritance
    object
    AiPromptSlashCommandInstaller
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Editor.AiPromptBuilder
    Assembly: Serenity.AiPromptBuilder.Editor.dll
    Syntax
    public static class AiPromptSlashCommandInstaller

    Methods

    Install(AiPromptSlashCommandRequest)

    Declaration
    public static AiPromptSlashCommandInstallResult Install(AiPromptSlashCommandRequest request)
    Parameters
    Type Name Description
    AiPromptSlashCommandRequest request
    Returns
    Type Description
    AiPromptSlashCommandInstallResult
    In this article
    © 2026 Serenity. All Rights Reserved