Skip to content

Latest commit

Β 

History

History
114 lines (97 loc) Β· 6.28 KB

File metadata and controls

114 lines (97 loc) Β· 6.28 KB

GitHub Copilot Enterprise Workshop

Audience: Enterprise developers and technical resources
Duration: Full day (9:00 AM - 4:00 PM)
Prerequisites: VS Code installed, GitHub Copilot license (Business/Enterprise), GitHub.com account


Schedule

Time Module Duration Format
9:00 - 9:15 Welcome & Foundations 15 min Presentation
9:15 - 10:00 Module 1: Copilot in VS Code - Core Experience 45 min Demo + Hands-on
10:00 - 10:15 Break 15 min
10:15 - 11:15 Module 2: Copilot Chat - Deep Dive 60 min Demo + Hands-on
11:15 - 12:00 Module 3: Copilot on GitHub.com (GHEC) 45 min Demo + Hands-on
12:00 - 1:00 Lunch 60 min
1:00 - 2:00 Module 4: Customization - Instructions & Prompt Files 60 min Demo + Hands-on
2:00 - 2:15 Break 15 min
2:15 - 3:30 Module 5: Agent Mode & Custom Agents 75 min Demo + Hands-on
3:30 - 4:00 Wrap-up, Q&A & Next Steps 30 min Discussion

Learning Objectives by Module

Welcome & Foundations (15 min)

  • Understand what GitHub Copilot is and how it fits into the enterprise software development lifecycle
  • Identify the different Copilot plans (Business vs Enterprise) and their capabilities
  • Understand Copilot's privacy, security, and IP indemnity guarantees for enterprise use

Module 1: Copilot in VS Code - Core Experience (45 min)

  • Receive and accept inline code suggestions using Tab, partial accept, and next edit suggestions
  • Write effective comment-driven prompts that produce accurate code completions
  • Navigate alternative suggestions and understand when to accept, modify, or reject them
  • Apply Copilot code suggestions to real enterprise tasks: CRUD operations, data transformations, and boilerplate reduction

Module 2: Copilot Chat - Deep Dive (60 min)

  • Use Chat participants (@workspace, @terminal, @github), slash commands, and chat variables to craft precise prompts
  • Distinguish between Ask, Edit, Agent, and Plan modes and select the right one for a given task
  • Generate, explain, and fix code using Copilot Chat with enterprise-grade examples
  • Write unit tests for existing code using Copilot Chat in both Java and JavaScript

Module 3: Copilot on GitHub.com - GHEC (45 min)

  • Use Copilot Chat on GitHub.com to query repositories, explain code, and explore codebases
  • Generate pull request summaries with Copilot
  • Use Copilot code review to get AI-powered review feedback on pull requests
  • Leverage Copilot from the search bar and dashboard for repository-scoped questions

Module 4: Customization - Instructions & Prompt Files (60 min)

  • Create repository-wide custom instructions (.github/copilot-instructions.md) to enforce coding standards
  • Build path-specific instruction files (.instructions.md) with applyTo frontmatter for language/framework-specific rules
  • Author reusable prompt files (.prompt.md) as slash commands for common enterprise workflows
  • Understand the instruction priority hierarchy: personal > repository > organization

Module 5: Agent Mode & Custom Agents (75 min)

  • Use Agent mode in VS Code for autonomous multi-step tasks with terminal command execution
  • Create custom agents (.agent.md) with specialized tools, instructions, and model selection
  • Implement handoffs between agents for sequential multi-step workflows (e.g., Plan β†’ Implement β†’ Review)
  • Understand and configure subagents for parallel task delegation and context isolation
  • Build an orchestration pattern using coordinator and worker agents with the agents property

Wrap-up, Q&A & Next Steps (30 min)

  • Review key takeaways and identify areas for immediate adoption
  • Understand enterprise governance: policy management, audit logs, content exclusions, and usage metrics
  • Create an action plan for rolling out Copilot customizations to your team

Repository Structure

β”œβ”€β”€ agenda.md                              # This file
β”œβ”€β”€ modules/
β”‚   β”œβ”€β”€ module-00-welcome/
β”‚   β”‚   └── README.md                     # Welcome & Foundations
β”‚   β”œβ”€β”€ module-01-core-experience/
β”‚   β”‚   β”œβ”€β”€ README.md                     # Module instructions
β”‚   β”‚   └── exercises/                    # Hands-on exercise stubs
β”‚   β”‚       β”œβ”€β”€ orderService.js
β”‚   β”‚       └── OrderService.java
β”‚   β”œβ”€β”€ module-02-chat-deep-dive/
β”‚   β”‚   β”œβ”€β”€ README.md                     # Module instructions
β”‚   β”‚   └── samples/                      # Sample code for unit test generation
β”‚   β”‚       β”œβ”€β”€ java/
β”‚   β”‚       β”‚   β”œβ”€β”€ OrderService.java
β”‚   β”‚       β”‚   └── OrderServiceTest.java
β”‚   β”‚       └── javascript/
β”‚   β”‚           β”œβ”€β”€ package.json
β”‚   β”‚           β”œβ”€β”€ src/userService.js
β”‚   β”‚           └── test/userService.test.js
β”‚   β”œβ”€β”€ module-03-copilot-on-github/
β”‚   β”‚   └── README.md                     # Module instructions
β”‚   β”œβ”€β”€ module-04-customization/
β”‚   β”‚   β”œβ”€β”€ README.md                     # Module instructions
β”‚   β”‚   └── exercises/README.md           # Exercise guide
β”‚   β”œβ”€β”€ module-05-agents/
β”‚   β”‚   β”œβ”€β”€ README.md                     # Module instructions
β”‚   β”‚   └── exercises/README.md           # Exercise guide
β”‚   └── module-06-wrapup/
β”‚       └── README.md                     # Wrap-up & next steps
└── .github/                              # Live Copilot customization config
    β”œβ”€β”€ copilot-instructions.md           # Repository-wide instructions
    β”œβ”€β”€ instructions/                     # Path-specific instructions
    β”œβ”€β”€ prompts/                          # Reusable prompt files
    └── agents/                           # Custom agent definitions

Resources