Hi, I'm Mona ๐
Today, we're going to build a simplified version of the Copilot Playbook site open in the other tab, from scratch, together with Copilot.
In this workshop, you'll get hands-on with the simple concepts introduced in the Copilot Playbook. Following the PLAN โ CODE โ REVIEW โ TEST & SECURE โ OPERATE phases, you'll use GitHub Copilot to ultimately build a simplified version of the Playbook together with Copilot.
1.1 โ Today's goals
- PLAN: Equip Copilot with "context", "rules", and "shape" via MCP, Instructions, and Skills
- CODE: Design and implement the site with Copilot Chat (Plan / Agent), and add extra features with Copilot Agent
- REVIEW: Automatically review PRs with Copilot Code Review
- TEST & SECURE: Guarantee quality and safety with Dependabot, CodeQL (GHAS), and GitHub Actions (Playwright)
- OPERATE: Build AI into daily operations with Agentic Workflow
1.2 โ For administrators
This section is for Enterprise administrators. Below is a summary of the Enterprise / Organization settings to enable in advance, so participants can complete the entire hands-on without issues.
Reminder: These settings must be applied to the Enterprise / Organization that participants get their Copilot license from. Enabling them on a different Enterprise / Organization will not take effect for the participants.
ใRequiredใ
- One test Organization is required. Participants will use it to freely create test repositories for the hands-on.
ใFeatures to enable at the Enterprise level (best effort)ใ
โป If the items below are not allowed at the Enterprise level, they cannot be enabled at the Org level.
-
Codespaces
- Path: Your Enterprise โ Policies โ Codespaces โ Enable for all organizations
- This is so participants use the same environment as I do. Local PC is possible as a fallback, but Codespaces is recommended.
-
Actions
- Path: Your Enterprise โ Policies โ Actions โ Enable for all organizations โ "Allow all actions and reusable workflows"
-
Copilot Code Review
- Path: Your Enterprise โ AI Controls โ Agents โ Available Agents โ Copilot Code Review โ Enabled
-
Copilot Cloud Agent
- Path: Your Enterprise โ AI Controls โ Agents โ Available Agents โ Copilot Cloud Agent โ Enabled
-
Copilot CLI / Chat / Agent Mode
- Path: Your Enterprise โ AI Controls โ Copilot
- Copilot CLI โ Enable everywhere
- Copilot Agent Mode in IDE Chat โ Enable everywhere
- Auto-Approval in Copilot Agent Mode โ Enable everywhere
- Path: Your Enterprise โ AI Controls โ Copilot
-
Partner Agents
- Path: Your Enterprise โ AI Controls โ Agents โ Partner Agents (Preview)
- Anthropic Claude โ Allowed
- OpenAI Codex โ Allowed
- Path: Your Enterprise โ AI Controls โ Agents โ Partner Agents (Preview)
-
MCP
- Path: Your Enterprise โ AI Controls โ MCP
- MCP servers in Copilot โ Enable everywhere
- Path: Your Enterprise โ AI Controls โ MCP
ใFeatures to enable in the test Organization (best effort)ใ
-
GitHub Codespaces
- Path: Org Settings โ Codespaces โ General โ User permissions โ "All members"
- This is so participants use the same environment as I do. Local PC is possible as a fallback, but Codespaces is recommended.
-
GitHub Actions
- Path: Org Settings โ Actions โ General โ "Allow all actions and reusable workflows"
- Required for Workflow execution and for the Copilot Code Review / Cloud Agent / Agentic Workflow features below.
-
Copilot Code Review
- Path: Org Settings โ Copilot โ Policies โ Features โ "Copilot code review" โ Enabled
-
Copilot Cloud Agent
- Path: Org Settings โ Copilot โ Policies โ Features โ "Copilot cloud agent" โ Enabled
-
Copilot CLI
- Path: Org Settings โ Copilot โ Policies โ Features โ "Copilot CLI" โ Enabled
-
Permission to create repositories
- Path: Org Settings โ Member privileges โ Repository creation โ โ Private (Members will be able to create private repositories)
ใSkippableใ
- The security-related part (GHAS) can be skipped with no impact on the rest of the hands-on.