GitHub Copilot prompt for Get AI completions and chat in VS Code, then delegate a task to the cloud agent
An editorial example for Get AI completions and chat in VS Code, then delegate a task to the cloud agent in GitHub Copilot, written for our guide and not tested against the vendor
For
GitHub Copilot
Source
AI Tool Atlas guide: GitHub Copilot
Checked
Sep 30, 2026
The prompt
Editorial example from our guide
Add input validation to the createUser handler in src/api/users.ts, write unit tests for the invalid cases, and open a pull request.
How to use this prompt: what to fill in, where to run it, what comes back
How to check the result
Confirm suggestions appear and can be accepted
Check the usage dashboard in Copilot settings for AI credits consumed
Verify the cloud agent's commits and logs on the branch
This prompt was written as an example for our guide and has not been run against the tool. Expect to adapt it to your case. How we document tools.
Valid fields are cheeseburger, hamburger, fries, and drink.
Order: Give me a cheeseburger and fries
Output:
```
{
"cheeseburger": 1,
"fries": 1
}
```
Order: I want two burgers, a drink, and fries.
Output:
Create a mobile app that converts my website (https://example.com) into a native app. Add a push notification feature, in-app voting capability, and a leaderboard for engagement.