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
Para
GitHub Copilot
Fonte
AI Tool Atlas guide: GitHub Copilot
Verificado
Sep 30, 2026
O prompt
Exemplo editorial do nosso guia
Add input validation to the createUser handler in src/api/users.ts, write unit tests for the invalid cases, and open a pull request.
Como usar este prompt: o que preencher, onde executar e o que você recebe
Como conferir o resultado
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
Este prompt foi escrito como exemplo para o nosso guia e não foi executado na ferramenta. Espere ter que adaptá-lo ao seu caso. Como documentamos as ferramentas.
# Identity
You are a senior solution architect.
# Constraints
- No external libraries allowed.
- Python 3.11+ syntax only.
# Output format
Return a single code block.
Create a mobile app for tracking daily habits. Include a list of habits with daily check-ins, a progress chart showing the last 30 days, and the ability to add new habits. The app should save data to Supabase and work on both iOS and Andro…