Global instructions lets you define rules that Kombai will always follow while generating code.

Global instructions’ examples

Here are a few examples for global instructions:
  1. Always respond in Turkish. Write all the texts and alt-texts used in the code in Turkish.
Only the LLM responses will be in the specified language. The rest of the tool’s interface will remain in English.
  1. Generated code should always follow the below file structure:
my-project/
├── src/
   ├── components/
   └── Button.tsx

   ├── pages/
   └── Home.tsx

   ├── hooks/
   └── useAuth.ts

   └── utils/
       └── formatDate.ts
  1. The current workspace is a monorepo. You should always generate code for the frontend folder.

How to add global instructions

Follow the steps below to add global instructions:
  1. Click icon in Kombai’s input box.
  2. Now, click icon on right of Tech stack used.
  3. Scroll to Global Instructions.
  4. Click Edit Global Instructions.
  5. Add your instructions in the newly opened instructions file.
  6. Save the file.