Co-authored-by: Claire W <78226508+crwaters16@users.noreply.github.com> Co-authored-by: Anne-Marie <102995847+am-stead@users.noreply.github.com> Co-authored-by: Jules <19994093+jules-p@users.noreply.github.com> Co-authored-by: Jules Porter <jules-p@users.noreply.github.com> Co-authored-by: hubwriter <hubwriter@github.com> Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
88 lines
4.7 KiB
Markdown
88 lines
4.7 KiB
Markdown
---
|
||
title: Speeding up development work with GitHub Copilot Spaces
|
||
shortTitle: Speed up development work
|
||
intro: 'Learn how to use {% data variables.copilot.copilot_spaces %} to help you with development work.'
|
||
permissions: 'Anyone with a {% data variables.product.prodname_copilot_short %} license can use {% data variables.copilot.copilot_spaces_short %}.'
|
||
versions:
|
||
feature: copilot
|
||
topics:
|
||
- Copilot
|
||
redirect_from:
|
||
- /copilot/using-github-copilot/copilot-spaces/speeding-up-development-work-with-copilot-spaces
|
||
- /copilot/tutorials/speeding-up-development-work-with-copilot-spaces
|
||
contentType: tutorials
|
||
category:
|
||
- Accelerate PR velocity
|
||
- Author and optimize with Copilot
|
||
---
|
||
|
||
If you're starting a new feature, trying to understand a system, or picking up a task in a codebase you’re still learning, {% data variables.copilot.copilot_spaces %} can help you:
|
||
|
||
* Stay focused by organizing the context you need in one place.
|
||
* Get better help from {% data variables.product.prodname_copilot_short %} by grounding it in relevant code and documentation.
|
||
* Move faster without switching between tools or asking others for background information.
|
||
|
||
To create a space, go to [https://github.com/copilot/spaces](https://github.com/copilot/spaces?ref_product=copilot&ref_type=engagement&ref_style=text), and click **Create space**.
|
||
|
||
Below are some examples of how to use {% data variables.copilot.copilot_spaces_short %} to help you with development work.
|
||
|
||
## Developing a new feature
|
||
|
||
When working on a specific feature, you can save time and produce higher-quality results by using a space. Add the relevant code, a product spec, and any supporting materials—like notes from a design review or mockup images. {% data variables.product.prodname_copilot_short %} can help you:
|
||
|
||
* Summarize how the current implementation works.
|
||
* Suggest changes or additions based on the spec.
|
||
* Draft a first implementation or outline next steps.
|
||
* Flag missing elements or inconsistencies.
|
||
|
||
**Instructions**:
|
||
> This space contains the new user registration form for a healthcare nonprofit providing low-cost testing. It is built using React and Tailwind.
|
||
|
||
**Suggested prompt**:
|
||
> How should I add support for 2FA?
|
||
|
||
## Defining the logic for a small, frequent task
|
||
|
||
When working on repetitive tasks like tracking telemetry events or handling event emissions, it’s useful to document the logic once and share it with others through {% data variables.copilot.copilot_spaces_short %}. This allows everyone to stay consistent and saves time when performing the task. If you have a process flowchart for a task, you can upload this to your space for reference. {% data variables.product.prodname_copilot_short %} can assist by:
|
||
|
||
* Suggesting efficient patterns based on your previous work.
|
||
* Helping write reusable functions or templates.
|
||
* Reviewing the logic to ensure it aligns with project standards.
|
||
* Providing examples of how similar tasks have been handled in the codebase.
|
||
|
||
**Instructions**:
|
||
> You help developers implement telemetry events. You should (1) validate what the user's goals are for the event, (2) propose a new event structure based on examples of existing events (and using the common telemetry schema), and (3) create a new version of the telemetry config file.
|
||
|
||
**Suggested prompt**:
|
||
> Help me log when a user clicks on an in-app notification.
|
||
|
||
## Sharing knowledge with teammates
|
||
|
||
In situations where people tend to ask similar questions, such as how authentication or search works in your project, {% data variables.product.prodname_copilot_short %} can help:
|
||
|
||
* Explain how the code works.
|
||
* Answer questions grounded in the latest documentation.
|
||
* Guide new team members on the best practices.
|
||
|
||
**Instructions**:
|
||
> You contain the code and documentation associated with our authentication system.
|
||
|
||
**Suggested prompt**:
|
||
> How does SSO work?
|
||
|
||
## Hands-on practice
|
||
|
||
Try the [Scale institutional knowledge using Copilot Spaces](https://github.com/skills/scale-institutional-knowledge-using-copilot-spaces) Skills exercise for practical experience to do the following:
|
||
* Centralize scattered project management knowledge in Copilot Spaces
|
||
* Convert tacit team insights into searchable, versioned artifacts
|
||
* Give all team members equal access to processes, decisions, and rationale
|
||
* Connect a repository as a structured knowledge source
|
||
* Extract, refine, and standardize workflows collaboratively
|
||
* Feed validated improvements back into living documentation
|
||
* Accelerate onboarding and reduce single-person dependency risk
|
||
* Enable consistent, repeatable project execution
|
||
|
||
## Next steps
|
||
|
||
Once you’ve created a space to help with development tasks, consider sharing it with your team to reduce handoffs and repeated questions. See [AUTOTITLE](/copilot/using-github-copilot/copilot-spaces/collaborating-with-your-team-using-copilot-spaces).
|