<
Template Dev in ContentCreator, 2025.6
Documentation

Code Assistant

The Code Assistant is part of the FirstSpirit AI Assistant Suite. You can use the Code Assistant to analyze:

The AI-based assistant analyzes your code and highlights areas for improvement. You can use the fully functional prompt from Crownpeak or modify it to define the project-specific topics considered in the analysis.

In addition to the Code Assistant, the AI Assistant Suite includes the following tools:

You can find all the necessary information on the configuration and operation of the Code Assistant here.

Prompt Configuration in ContentCreator

With the appropriate rights, you can configure the Code Assistant prompt directly in the ContentCreator and tailor it to your individual needs.

  • In the Code Assistant report, click on the Edit Prompt icon .
    → The Edit Operation window will open. Here you can edit the prompt, assign options, add new options, and test the prompt.

Editing prompts

To edit a prompt directly in the ContentCreator:

  • In the Edit Operation window, click in the Prompt text field to edit it.
  • Optional: Change the name of the operation in the Name text field.
  • Save your changes.

An operation defines a task that is executed by the assistant. Options can be assigned to one or more operations. Options supplement tasks with predefined values (option value).
You can find more information on operations and options here.

Managing options

To assign an already existing option to the operation:

  • In the Edit Operation window, you assign an existing option to the operation by checking the box in the Use column.
  • Save your changes.

To add a new option:

  • In the window Edit Operation, click on Create New Option.
    → The window Edit Option opens.
  • In the Name field, specify the display name of the option.
  • Click on Create Option Item to add a new option value.
    → The window Edit Option Item opens.
  • In the Name field, specify the display name of the option value.
  • In the Prompt field, specify the prompt of the option value.
  • Click on Apply to save the changes.
  • Optional: Add more entries.
  • Click on Save to save your newly added option.
  • Assign your newly added option to the current operation.

To edit an existing option:

  • In the Edit Operation window, click on the Edit Option icon .
    → The Edit Option window opens.
  • Change the display name of the option as well as the display name and prompt of the option values or add a new option value.
  • Save your changes.

Testing prompts

To test your prompt directly in the ContentCreator:

  • In the Edit Operation window, click on Test Prompt.
    → The speech bubble Test Prompt opens.
  • Expand the Test Settings.
  • Select a Test Plugin to test your prompt in a specific environment, such as ContentAssistantPromptConfigurationTestPlugin to test your prompt for use in the Content Assistant.
    → The text in the Text Input field changes depending on the selected Test Plugin.
  • Optional: Edit the text in the Text Input field.
  • Optional: Edit your prompt in the Prompt field if the API response was unsatisfactory, and test it again.