> For the complete documentation index, see [llms.txt](https://docs.aviator.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aviator.co/mergequeue/how-to-guides/slash-commands.md).

# Slash Commands Using GitHub Comments

Learn how to invoke Slash commands using GitHub Comments. Slash commands enable teams to manage pull requests directly from the GitHub pull request page.

Slash commands enable teams to manage their pull requests with Aviator directly from the GitHub pull request page. The commands are invoked by including the line `/aviator <command>` anywhere in your pull request comment (as long as it's on a line by itself).

{% hint style="warning" %}
Only one slash command per comment is allowed.
{% endhint %}

For instance, to get the latest status of your pull request from Aviator, you can post an `/aviator refresh` command in your PR.

<figure><img src="https://273246003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAPqUQVbLbsfI5YESl32%2Fuploads%2FmBuz3UCDXOOR5f7m4B92%2FScreen%20Shot%202023-10-03%20at%201.45.04%20PM.png?alt=media&amp;token=4a71974c-2c13-4c63-b2b3-3bdbc12ff4e1" alt=""><figcaption><p>Slash command to get the latest PR status</p></figcaption></figure>

To get the full list of commands without leaving GitHub, post `/aviator help` in a pull request comment. Aviator replies with a comment listing the available commands and their options. See [Help](https://docs.aviator.co/mergequeue/reference/slash-commands.md) in the reference guide for details.

{% hint style="info" %}
Checkout [<mark style="color:blue;">the reference guide</mark>](https://docs.aviator.co/mergequeue/reference/slash-commands.md) for list of all the slash commands.
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.aviator.co/mergequeue/how-to-guides/slash-commands.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
