How Copilot Spaces gives your AI the right project context | GitHub Checkout
Quick Overview
GitHub Copilot Spaces allow developers to bring the context of GitHub repositories, issues, and pull requests directly into the development environment, enabling the Copilot Coding Agent to provide context-aware suggestions, like generating code or reviewing PRs, which significantly improves workflow efficiency and security adherence for engineers and product managers. The key benefit is keeping all necessary information—code, documentation, and context—available immediately within the workspace without context switching.
Key Points: GitHub Copilot Spaces provide context by linking repositories, issues, and pull requests directly within the development environment. The context provided allows the Copilot Coding Agent to offer highly relevant suggestions for tasks like code generation and PR reviews. Spaces can be used collaboratively, allowing teams to share context and work together on specific issues or feature planning. Vanessa Kalu mentions upcoming features like public support and API access for Spaces, and support for additional file types like .docx and .pdf. The demonstration showed how a security issue (potential unsafe usage of checkcall without shell=False) was debugged by linking the issue and relevant documentation files within the Space. The process involves attaching context (repos, issues, PRs) and then prompting Copilot to act as an experienced engineer to solve the problem, which is then reflected in the generated PR. Spaces are private by default, but users have control over sharing with specific individuals or organizations.
Context: The video features an interview between Andrea Griffiths, a Developer Advocate at GitHub, and Vanessa Kalu, a Product Manager at GitHub, focusing on the capabilities and benefits of GitHub Copilot Spaces. The discussion centers on how Spaces enhance the developer workflow by providing immediate, context-rich information to the Copilot Coding Agent, making debugging and collaborative work more efficient, especially when tackling security issues like command injection risks.