Commands

Copilot /explain /fix /tests

The basic commands in GitHub Copilot chat in the IDE. /fixTestFailure, /new, /clear and /help are also available.

Usage

/explain

When to use it

When you ask it to explain, fix or write tests for code.

Source: https://docs.github.com/en/copilot