add-policy

Installation
SKILL.md

Adding a Configuration Policy

Policies allow enterprise administrators to lock configuration settings via OS-level mechanisms (Windows Group Policy, macOS managed preferences, Linux config files) or via Copilot account-level policy data. This skill covers the complete procedure.

When to Use

  • Adding a new policy: field to any configuration property
  • Modifying an existing policy (rename, category change, etc.)
  • Reviewing a PR that touches policy registration
  • Adding account-based policy support via IPolicyData
  • Wiring an enterprise managed setting (native MDM / GitHub server) — see github-managed-settings.md
  • Having one policy govern multiple settings via policyReference
  • Testing account/managed-settings policies locally without the real backend — see local-testing.md

Architecture Overview

Policy Sources (layered, last writer wins)

Installs
173
GitHub Stars
186.8K
First Seen
Mar 10, 2026
add-policy — microsoft/vscode