Chat Modes & Slash Commands

Goki Assistant operates with various internal modes. When you use Slash Commands, the system will automatically switch to the most suitable mode to handle the request.

Chat Modes

Goki Assistant provides 3 specialized modes:

1. 🏗️ Architect

  • Purpose: Planning and designing before programming.
  • When to use: When you have an idea but don't know where to start, or need advice on project structure or hardware selection.

2. 💻 Code

  • Purpose: Writing, modifying, and optimizing source code.
  • When to use: When you need to write a new function, add a feature, or refactor old code. The AI will focus on generating accurate code blocks.

3. ❓ Ask

  • Purpose: Explaining, debugging, and answering questions.
  • When to use: When you want to understand how a piece of code works, look up knowledge about Arduino/C++, or ask the AI to check error logs. This is the default mode.

Slash Commands

You can use quick commands (starting with /) in the chat box to trigger specialized actions:

  • /fix: Automatically finds and suggests fixes for errors in the current code snippet.
  • /explain: Explains the selected code snippet or the currently open file in detail.
  • /refactor: Refactors the source code to make it cleaner and more efficient.
  • /test: Analyzes the hardware connected in the code and generates a Wiring table with a Test Sketch for each component.
  • /wiring: Creates a Mermaid Diagram wiring schematic from pinMode(), digitalRead(), etc. commands in the code.
  • /comment: Adds detailed comments to each part of the Arduino code, preserving the original code.
  • /simulate: Creates a circuit overview including a component list, connection table, and operational description.

Tip: Use Shift + Enter to create a new line in the chat box if you want to write a long, multi-paragraph request.

Next: Contextual Features