Overview
Ask a GitHub Copilot agent in the VS Code Chat view to set up a new React front end and API back end in an empty folder, then build it out one small, reviewed step at a time.
Problem or Objective
- Which agents turn a plain-language brief into a working app or prototype?
- Which agents build a non-trivial feature with you?
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- GitHub Copilot · Visual Studio Code · React
- Prerequisites
- Visual Studio Code with GitHub Copilot signed in, Git and the runtimes for your chosen stack. Agent use draws on GitHub AI Credits; plans differ in credits and available models.
How It Works
Create an empty folder, initialise Git and open it in Visual Studio Code with GitHub Copilot signed in. Write a short plan file describing the app: the pages, the data it stores, the API routes and the stack you want, such as React for the front end and a Node server for the API. In the Chat view, choose a Copilot agent and model, and ask it to read the plan and propose the folder layout and setup commands before changing anything. Approve the commands it wants to run, then let it create the two projects, a shared start script and one working route end to end. Review the edits with Keep or Undo, run the app yourself and commit. Then ask for one feature per request, each with a test, and commit after each one you accept. If a step goes wrong, stop the request and restore a checkpoint.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up GitHub Copilot.
- Connect the toolsConnect the tools this workflow relies on: GitHub Copilot, Visual Studio Code, React.
- Check the prerequisitesVisual Studio Code with GitHub Copilot signed in, Git and the runtimes for your chosen stack. Agent use draws on GitHub AI Credits; plans differ in credits and available models.
- Gather your detailsCollect what the prompt asks for: Plan file in the folder, Front-end stack, Back-end stack, First feature to wire up.
- Run the starter promptPaste the starter prompt below into GitHub Copilot and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at code.visualstudio.com before you rely on it.
Practical Starter Prompt: Set up a full-stack app from my plan
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Read [Plan file in the folder]. Propose a folder layout for a [Front-end stack] front end and a [Back-end stack] API, plus the exact setup commands, and wait for my approval before running anything or creating files. After I approve, create both projects, one start script for both, and the [First feature to wire up] route working end to end with a test. Stop there and summarise what you changed so I can review and commit it.Approve the setup commands before they run, review each edit with Keep or Undo, run the app yourself and commit after every step you accept.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The VS Code documentation says an agent in chat can answer questions, analyze code, run tools and make changes, that tracked edits can be reviewed with Keep or Undo, and that checkpoints restore workspace files; GitHub's Copilot page says Copilot is available in Visual Studio Code. No cited page measures how much supervision a full scaffold needs, so plan for review at every step.
Limitations and Considerations
Agent requests use GitHub AI Credits, and plans differ in credit allowance and available models, so check your plan before a long session. Stopping a request does not undo file edits or terminal commands that already completed, and checkpoints do not reverse changes to external services, so keep the work in Git and commit only what you have run. Review every command the agent proposes before it runs, and keep secrets out of the plan file. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Sources
- Use chat in VS Code (opens in a new tab)
Project documentation · code.visualstudio.com · Undated · Source checked 27 Nov 2026, 13:24 UTC
What this source supports
- The agent can answer questions, analyze your code, run tools, make changes, and respond with a summary.
- Stopping a request doesn't undo file edits, terminal commands, or other actions that already completed. To restore affected workspace files and chat history, restore a checkpoint .
- GitHub Copilot · Your AI coding agent · GitHub · GitHub (opens in a new tab)
Project documentation · github.com · Undated · Source checked 25 Nov 2026, 11:59 UTC
What this source supports
- GitHub Copilot is available in multiple IDEs including Visual Studio Code, Visual Studio, JetBrains IDEs, XCode, Vim, Neovim, Zed, and Eclipse.
- GitHub AI Credits are how you pay for AI usage in GitHub Copilot.
- Key differences between the plans include total GitHub AI Credits and available models.