Dev & Engineering ✓ Microsoft · Official

VS Code Configuration Policy Maintainer

Standardize VS Code policy registration, export, and validation.

59/ 100
Recommended

Generally reliable with disclosed limitations; trial as directed and keep a rollback path.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 194k
Last updated
11d ago
License
MIT
configuration-policyenterprise-managementgroup-policymdm
+2vscodetypescript

What does this skill do, and when should you use it?

This skill is for developers adding, changing, or reviewing VS Code configuration policies. It covers the lifecycle from configuration registration and account-level callbacks to policy artifacts for Windows, macOS, and Linux. It also explains Copilot managed settings, shared policy references, and extension-provided policy registration. It fits VS Code contributors maintaining enterprise controls, GitHub account policies, or generated policy catalogs, rather than ordinary configuration work.

It guides contributors through adding policy or policyReference to configuration properties, reading the root package.json version for minimumVersion, and defining policy categories, localization, account-level value callbacks, and required enumDescriptions. It instructs contributors to run npm run typecheck-client for TypeScript validation and npm run export-policy-data to regenerate build/lib/policies/policyData.jsonc, while the export process retrieves extension policies from the distro through the GitHub API. It also documents how policy services read Windows registry settings, macOS preferences, /etc/vscode/policy.json on Linux, account policies, and Copilot managed settings, along with generation of Windows ADMX/ADML, macOS plist, and Linux JSON artifacts.

Good fit
  • A VS Code core developer is adding a configuration property that enterprise administrators must be able to lock and needs the registration and export workflow.
  • A maintainer is changing an existing policy name, category, or version requirement and needs to validate registration, account callbacks, and generated output.
  • A Copilot or chat feature developer needs an organization policy to disable a preview feature through chat_preview_features_enabled.
  • An enterprise-controls developer needs one policy to govern multiple settings and must use policyReference with matching setting types.
  • An extension ecosystem maintainer needs enterprise policy support for extension settings through extensionConfigurationPolicy in vscode-distro product.json files.
  • A reviewer is checking a policy-related pull request for generated catalog changes, test-fixture synchronization, and multi-platform policy artifacts.

How do you install this skill?

Before you use it
  • The managed-settings file channel is described inconsistently: an earlier section says VS Code does not read the file, while later sections describe it as wired in; verify against the pinned source and tests before implementation.
  • Policies may lock user settings through account, native MDM, or file channels, but administrator revocation, user-visible confirmation, and rollback verification are not fully specified.
  • npm run export-policy-data depends on GitHub APIs, gh/OAuth, an external distro, and the local extensions environment; repeatability in the target environment was not verified.
  • Type mismatches are described as being dropped, sometimes silently; new keys require explicit validation that the schema, declaration type, and runtime projection agree.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
  • Local filesystem
Install first
  • Node.js/npm
  • GitHub CLI

The repository README does not document a standalone installation command for this skill. The skill is located at .github/skills/add-policy/SKILL.md in the microsoft/vscode repository; obtain that repository and make this path available to the Agent Skills client being used. The repository bundles 61 skills, while this profile covers only add-policy.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/microsoft/vscode.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/.github/skills/add-policy" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Add a policy field to this configuration property and complete the VS Code type-check and policy-export workflow.

With the SKILL.md available to the client, submit a focused policy task such as: “Add a policy field to this configuration property and complete the VS Code type-check and policy-export workflow.” Run npm run typecheck-client and npm run export-policy-data as appropriate, and do not edit build/lib/policies/policyData.jsonc manually. For managed settings, account policies, or local testing, consult the referenced github-managed-settings.md or local-testing.md documents.

What are this skill's strengths and limitations?

Pros
  • Covers the full lifecycle of policy registration, account policies, managed settings, policy references, and multi-platform export.
  • Calls out easy-to-miss constraints such as minimumVersion, enumDescriptions, and policyReference type matching.
  • Documents synchronization requirements among extension policies, the generated catalog, and test fixtures.
  • Supports both VS Code core policies and extension policies configured through vscode-distro.
Limitations
  • It is tightly coupled to VS Code internal paths, service names, and build scripts, so it does not transfer directly to other editors.
  • Policy export may require network access, GitHub API authentication, and the GitHub CLI; no standalone installation procedure is documented.
  • Although it describes Windows, macOS, and Linux policy paths, the skill does not provide complete hands-on validation steps for each platform.
  • The skill contains procedural guidance rather than an independently runnable script; validation depends on the VS Code repository and development environment.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
VS Code Configuration Policy Maintainer this page ✓ Microsoft · Official 59 · Recommended ★ 194k 11d ago MIT
VS Code Chat Customizations Editor Skill ✓ Microsoft · Official 52 · Use with care ★ 194k 11d ago MIT
Run Command Builder ✓ Microsoft · Official 48 · Use with care ★ 194k 11d ago MIT
PinMe Worker Auth API Integration 59 · Recommended ★ 3.7k 3mo ago MIT
Vibeyard: Add npm Dependency Skill 55 · Use with care ★ 1.4k 1mo ago MIT

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Recommended
59/ 100 5-point scale 3.0 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust17 / 25 · 3.4/5

The document clearly describes policy sources, configuration-locking behavior, account/MDM/file data flows, per-key precedence, type validation, and some fallback behavior, with MIT licensing and Microsoft provenance available; it does not fully document sensitive-policy data handling, GitHub authentication/token handling, user confirmation, or revocation/rollback, and the policies can lock enterprise configuration, so points are deducted.

2Reliability9 / 20 · 2.3/5

The procedure, key files, commands, type requirements, common failure causes, and test locations are detailed, and type mismatches are dropped with optional warnings; however, this review is static and nothing was executed, the document contains an internal inconsistency about the file channel, and local testing requires extra services, so the static cap and uncertainty apply.

3Adaptability11 / 15 · 3.7/5

Trigger conditions are explicit and cover adding, modifying, reviewing, account policies, managed settings, and policyReference scenarios, with platform differences described; non-fit boundaries, input/output contracts, and Chinese-language support are limited, while parts of the workflow depend on GitHub, gh CLI, an external distro, or local environment, with mainland-China reachability unaddressed, so points are deducted.

4Convention11 / 15 · 3.7/5

The material is organized into overview, procedures, specialized topics, testing, history, and local testing; naming, version derivation, generated-file rules, test responsibilities, and maintenance warnings are documented. It is nevertheless lengthy and repeats implementation details, the boundary between external schema and repository maintenance is not fully stable, and no clear maintainer or formal changelog process is stated, so it is not full marks.

5Effectiveness7 / 15 · 2.3/5

For contributors familiar with the VS Code source tree, the document largely covers the core task from registration through export, platform artifacts, and testing, with actionable commands and examples; static review cannot verify those commands or outputs, and external dependencies and generation steps may require rework, so the score is limited to the static maximum of 7.

6Verifiability4 / 10 · 2.0/5

Specific source files, test files, commands, CI/testing references, and PR history provide some auditability; however, no tests were executed, the supplied workflows mainly cover chat-lib/performance rather than this skill's key paths, and independent reproducibility evidence is limited, so the score remains below the static maximum.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 5b3e1be7be9e Review evidence[1][2][3][4][5][6][7][8][9][10]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Does this skill cover settings contributed by VS Code extensions?
Yes, but extension authors cannot add policy fields directly in an extension package.json. Extension policies belong in extensionConfigurationPolicy within the vscode-distro product.json files, with corresponding updates to the generated catalog and test fixture.
What permissions or external dependencies are required?
Type checking and export require shell access, filesystem access, and the VS Code Node.js/npm development environment. Policy export retrieves distro product.json data through the GitHub API and may configure authentication through the GitHub CLI or OAuth device flow, so network access is generally required.
Why must policyData.jsonc not be edited directly?
It is an automatically generated policy catalog. The skill requires regenerating it with npm run export-policy-data so that source definitions, exported data, and integration tests remain consistent.
Does this skill itself enforce policies at runtime?
It primarily guides implementation and review rather than providing a separate runtime. Runtime behavior is handled by VS Code components such as NativePolicyService, FilePolicyService, AccountPolicyService, managed-settings services, and the configuration bridge.

More skills from this repository

All from microsoft/vscode

Dev & Engineering ✓ Microsoft · Official

VS Code Chat Customizations Editor Skill

Guides developers through safe changes and testing for VS Code’s chat customization management UI.

★ 194k FS 52 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Run Command Builder

Configure and update commands shown in a VS Code Agent Session's Run button.

★ 194k FS 48 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Memory Leak Audit

Systematically find and fix listener, lifecycle, and disposable leaks in VS Code code.

★ 194k FS 52 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Context7 Project Bootstrapper

Build a complete VS Code project scaffold using current library documentation.

★ 194k FS 36 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Tool Rename Compatibility Check

Protect existing prompts and tool configurations when built-in tools are renamed.

★ 194k FS 63 Recommended 11d ago
Design & Frontend ✓ Microsoft · Official

VS Code Design Philosophy

Turn vague UI discomfort into concrete fixes using shared values, principles, and design moves.

★ 194k FS 58 Recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Integrated Browser Architecture

A practical architecture guide for safely changing VS Code's cross-process integrated browser.

★ 194k FS 56 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Agent Customization Assistant

Create, repair, and troubleshoot VS Code Agent customization files and their loading behavior.

★ 194k FS 55 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Unit Test Runner

Run VS Code repository unit tests by file, test name, or compiled-output glob.

★ 194k FS 55 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Code OSS Launch & Debug

Launch a built-from-source VS Code with isolated profiles, Playwright control, and multi-process debugging ports.

★ 194k FS 54 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Crash Dump Symbolicator

Turn native VS Code crash dumps into readable backtraces with method names.

★ 194k FS 53 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Integration Test Runner

Run and filter VS Code repository integration tests with the correct platform scripts.

★ 194k FS 52 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Copilot Session Troubleshooter

Explain unexpected Copilot CLI behavior from session-log evidence.

★ 194k FS 51 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Copilot Chat Troubleshooter

Explain unexpected agent behavior, latency, and tool failures from Copilot Chat debug logs.

★ 194k FS 49 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Hygiene Checks

Catch VS Code commit-blocking style and hygiene issues before the work is declared complete.

★ 194k FS 48 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Performance Investigation Workflow

Automate repeatable VS Code scenarios and collect performance and memory evidence.

★ 194k FS 47 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Reusable Prompt Creator

Turn recurring tasks into reusable .prompt.md files.

★ 194k FS 45 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Smoke Test Failure Diagnosis

Diagnose and validate intermittent VS Code Electron smoke-test failures in Azure DevOps.

★ 194k FS 45 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Anthropic SDK Upgrade Assistant

Upgrade Anthropic SDK packages methodically while checking API changes, compilation, and Claude-focused tests.

★ 194k FS 43 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

V8 Heap Snapshot Analyzer

Trace V8 heap retention paths to diagnose leaks and GC-surviving objects.

★ 194k FS 40 Not recommended 11d ago

Related skills