GitHub Copilot is described as an "AI pair programmer" that collaborates like a human partner, with strengths and weaknesses.
The session covers various Copilot modes: agent mode (local), edit mode, ask mode, and the new Copilot coding agent announced at Build.
Emphasis on the importance of context when interacting with Copilot: code readability, clear naming, comments, and project structure aid Copilot's understanding.
Good context can be provided through clear prompts, detailed comments, structured projects, and instruction files.
Clarity and specificity in instructions to Copilot are encouraged, moving beyond terse, command-like prompts.
copilot-instructions files are supported in both chat and coding agent modes.
Organization-level instruction files and Copilot Spaces (where repositories or knowledge bases are pointed to by Copilot) support scaling standards and documentation.
Task-specific instruction files can be applied conditionally based on file patterns (e.g., React component patterns).
Creating thorough instruction files is initially time-consuming but pays off in long-term productivity and code quality.
Security, Permissions, and Workflow Integration 44:44
Copilot’s agent runs in GitHub Actions’ ephemeral spaces with limited rights:
Read access to repo, write access only to dedicated branches.
No external calls unless explicitly allowed (e.g., for package installation).
Custom setup steps must be handled in dedicated workflows.
PRs generated by Copilot don’t run organization workflows until a human triggers them, maintaining standard DevOps validation processes.
Copilot supports remote MCP servers, but requires configuration (firewall rule) to access external services.
Currently, task/issue assignment works only with GitHub issues, not other systems like Jira or ADO; users can consider scripting to copy those issues into GitHub as a workaround.