๐Ÿ“˜ Introduction STEP 01 / 15 โฑ 5 min โณ 195 min left

INTRO: About this workshop

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.

Preview of the Copilot Playbook site we will build today (Context Engineering page)

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.

  1. 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.
  2. Actions

    • Path: Your Enterprise โ†’ Policies โ†’ Actions โ†’ Enable for all organizations โ†’ "Allow all actions and reusable workflows"
  3. Copilot Code Review

    • Path: Your Enterprise โ†’ AI Controls โ†’ Agents โ†’ Available Agents โ†’ Copilot Code Review โ†’ Enabled
  4. Copilot Cloud Agent

    • Path: Your Enterprise โ†’ AI Controls โ†’ Agents โ†’ Available Agents โ†’ Copilot Cloud Agent โ†’ Enabled
  5. 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
  6. Partner Agents

    • Path: Your Enterprise โ†’ AI Controls โ†’ Agents โ†’ Partner Agents (Preview)
      • Anthropic Claude โ†’ Allowed
      • OpenAI Codex โ†’ Allowed
  7. MCP

    • Path: Your Enterprise โ†’ AI Controls โ†’ MCP
      • MCP servers in Copilot โ†’ Enable everywhere

ใ€Features to enable in the test Organization (best effort)ใ€‘

  1. 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.
  2. 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.
  3. Copilot Code Review

    • Path: Org Settings โ†’ Copilot โ†’ Policies โ†’ Features โ†’ "Copilot code review" โ†’ Enabled
  4. Copilot Cloud Agent

    • Path: Org Settings โ†’ Copilot โ†’ Policies โ†’ Features โ†’ "Copilot cloud agent" โ†’ Enabled
  5. Copilot CLI

    • Path: Org Settings โ†’ Copilot โ†’ Policies โ†’ Features โ†’ "Copilot CLI" โ†’ Enabled
  6. 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.