> For the complete documentation index, see [llms.txt](https://docs.welltested.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.welltested.ai/v1/welltested-ai/ide-assist/commands.md).

# Commands

### SET API KEY

Save setup hassle of setting up a installing required dependencies and adding your API keys to .env.

{% tabs %}
{% tab title="VSCode" %}

1. Run the command `Welltested: Save API Key`
2. Paste your API key in the input window.

The package will auto setup required dependencies and env file.

<figure><img src="/files/lLOEOxVLN2XaHV6ocT5s" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Intellij" %}

{% endtab %}
{% endtabs %}

### Generate Unit Tests

Use to trigger the generate CLI command. Generates unit tests for all annotated classes.

{% tabs %}
{% tab title="VSCode" %}

1. Run command `Welltested: Generate Unit Tests`

You'll see the CLI command triggered. The tests will appear in the `/test` folder once the operation finishes.

<figure><img src="/files/5oTWNBASd80bz7hndcJK" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="IntelliJ" %}

{% endtab %}
{% endtabs %}

### Save Unit Tests

Use to trigger the save CLI command. Save updates to existing unit tests and their corresponding code files to the backend.

{% tabs %}
{% tab title="VSCode" %}

1. Run the command `Welltested: Save Unit Tests`

You'll see the CLI command triggered. All updates will be saved to the backend.

<figure><img src="/files/j01JUbRr1YiAoHTmeeD6" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="IntelliJ" %}

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.welltested.ai/v1/welltested-ai/ide-assist/commands.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
