microsoft avatar

Add Policy

This walks you through the full lifecycle of adding configuration policies to VS Code, from registration to OS-level deployment artifacts. You'll use it whenever you add a `policy:` field to a config property, whether that's for Group Policy on Windows, managed preferences on macOS, or account-based Copilot policies. The architecture is layered and the export process is particular: you must match `minimumVersion` to the current package.json version, include `enumDescriptions` for string enums or the build fails, and run `npm run export-policy-data` to regenerate the auto-generated catalog. The skill also covers the less obvious case of extension settings, which live in vscode-distro's product.json rather than in extension code itself.

skills.sh installs
193
GitHub stars
195.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add microsoft/vscode --skill add-policy --agent claude-code

Installs into .claude/skills of the current project.

Files

This walks you through the full lifecycle of adding configuration policies to VS Code, from registration to OS-level deployment artifacts. You'll use it whenever you add a `policy:` field to a config property, whether that's for Group Policy on Windows, managed preferences on macOS, or account-based Copilot policies. The architecture is layered and the export process is particular: you must match `minimumVersion` to the current package.json version, include `enumDescriptions` for string enums or the build fails, and run `npm run export-policy-data` to regenerate the auto-generated catalog. The skill also covers the less obvious case of extension settings, which live in vscode-distro's product.json rather than in extension code itself.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/microsoft/vscode
First seen
Jun 3, 2026

More from microsoft/vscode

All 15

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs