Chat Modes & Slash Commands
To serve you best, you should choose the right "role" for the AI via the Mode Selector right above the input box.
Chat Modes
Goki Assistant provides 4 specialized modes:
1. 🏗️ Architect
- Purpose: Planning and designing before coding.
- 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 (Programmer)
- Purpose: Writing, modifying, and optimizing 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 precise code blocks.
3. ❓ Ask (Q&A)
- Purpose: Explaining and answering questions.
- When to use: When you want to understand how a piece of code works, or look up Arduino/C++ knowledge. This is the default mode.
4. 🐞 Debug (Fixing Bugs)
- Purpose: Diagnosing and fixing software errors.
- When to use: When your code fails to compile or doesn't run as expected. You can paste the error or describe the phenomenon.
Slash Commands
In addition to selecting a mode, you can use quick commands (starting with /) in the chat box:
/fix: Automatically find and fix errors in the current code./explain: Explain the selected code snippet or the open file in detail./refactor: Optimize code to be cleaner and more efficient./test: Write unit tests for the code.
Tip: Use
Shift + Enterto insert a line break in the chat box if you want to write a multi-paragraph prompt.