GitHub Copilot
AI coding assistance in supported IDEs and issue-to-pull-request workflows on GitHub.
- Category
- Software development
- Maker
- GitHub
- Listed on
What is GitHub Copilot?
An onboarding idea is easier to judge when it runs in the workspace your team already uses. The prototype can reuse the existing navigation, components and sample accounts. GitHub Copilot’s agent mode in a supported IDE can inspect that code, edit files and run project commands while you guide the work. Start with a single card on the workspace overview. Its job is to show two setup steps and send users to the routes where they can complete them. The review should establish whether the card fits the real app and whether its states are clear. GitHub’s guide to agent mode in an IDE
How to use GitHub Copilot
Assign Copilot a small settings-screen prototype in an eligible GitHub repository. Include the components to reuse and the states to test, then review the resulting pull request.
- Open the repo and get the current page running. On a task branch, load the workspace overview using your project’s documented setup and sample data. Give Copilot the route, an existing card with the visual treatment you want and the nearest test. In the example, those are
WorkspaceOverview.tsx, an existing dashboard card andworkspaceOverview.test.tsx. - Trace the inputs before editing. Ask which existing workspace fields describe whether a project exists and whether a teammate has joined. Have Copilot name the actual route helpers for creating a project and opening members settings. Read the call sites. If either status needs a new API, agree on a local fixture for the prototype and record that dependency in the task.
- Ask for one change in agent mode. Specify the card, the two actions, where the card appears and how each state should look. Ask Copilot to reuse the design components and test helpers that it found. Review the proposed files and confirm the command it uses to run the focused check. GitHub’s overview of Copilot agents
- Try the prototype in the current app. Open the overview with the new, partially set up and active workspace fixtures. Use the card’s buttons to see where they land. Read the diff and actual test output before handing the branch to a reviewer.
About GitHub Copilot
GitHub Copilot for SaaS Prototypes in an Existing Repo
Put the brief in a GitHub issue or in Copilot chat. In this example the existing overview already has a fixture for workspace setup status. The two fields are hasProject and hasTeammate. The card appears until both are true. Each incomplete step has an action that leads to an existing page.
Add a workspace setup card near the top of the existing overview. Use the dashboard’s card and button components. Display “Create your first project” and “Add a teammate” as two steps with their completion state. Link incomplete steps to the existing project creation and members settings routes. Use the repo’s workspace fixtures to cover all three stages and add the cases to the overview test. Show the paths and the focused test command.
The file names in the brief can be the actual ones from the repository. A file path is evidence that Copilot found something to inspect. Follow it to see whether the component really owns the overview and whether those fields are loaded where the card will render.
Give the reviewer three workspace fixtures
- In a newly created workspace, both steps are incomplete. Click each action and check that it opens the intended screen for this workspace.
- In a workspace with one project and no joined teammate, the project step shows complete and the teammate action remains available. Check the transition by loading the partial fixture directly.
- In a fully set up workspace, check that the existing overview layout appears and the ordinary project actions are still easy to find.
Run the overview tests with the same fixtures and inspect the assertions. A snapshot of the card by itself leaves out the route that mounts it and the data that determines whether it appears. Prefer a check that loads the overview with each state. If the UI looks right and the links lead to a different workspace, the prototype needs another edit.
Hand off the code and the decision it should support
In the pull request, list the route, the three fixtures and the command the reviewer can repeat. Include a screenshot or short recording of the partially set up view. Ask a teammate to decide whether the two actions are easy to find in the actual dashboard. Keep any fixture-only status in the handoff so the team can size the work to connect real data.
GitHub also offers a cloud environment for Copilot work on eligible repositories and plans. Check your repository’s policy and available environments before choosing that surface. The local IDE workflow gives you the running app and local fixtures while you refine the prototype. GitHub’s Copilot cloud release notes
For more ways to test a product idea, browse the SaaS product prototyping collection.
More in Software development
Generate and iterate on web interfaces and clickable prototypes from a brief.
Plan and implement changes with AI in an existing codebase.
Generate a web app prototype from a product brief and iterate in a live preview.
Plan, build, and test a runnable app inside the Replit workspace.
