[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78HGZMAW9T15A8YH0RFS0SF":3,"skill-same:01M78HGZMAW9T15A8YH0RFS0SF":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M78HGZMAW9T15A8YH0RFS0SF","add-policy",null,"Use when adding, modifying, or reviewing VS Code configuration policies. Covers the full policy lifecycle from registration to export to platform-specific artifacts. Run on ANY change that adds a `policy:` field to a configuration property.","Qtrick\u002Fprebasecode","Qtrick","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F141445503?v=4","01M78HD7H7KZCCZK56G86RHXHG","David Fan","01M78HD7J9D6W89KHEGD4BWBVN",0,"MIT","https:\u002F\u002Fgithub.com\u002FQtrick\u002Fprebasecode\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fadd-policy\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: add-policy\ndescription: Use when adding, modifying, or reviewing VS Code configuration policies. Covers the full policy lifecycle from registration to export to platform-specific artifacts. Run on ANY change that adds a `policy:` field to a configuration property.\n---\n\n# Adding a Configuration Policy\n\nPolicies 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.\n\n## When to Use\n\n- Adding a new `policy:` field to any configuration property\n- Modifying an existing policy (rename, category change, etc.)\n- Reviewing a PR that touches policy registration\n- Adding account-based policy support via `IPolicyData`\n- Wiring an enterprise **managed setting** (native MDM \u002F GitHub server) — see **[github-managed-settings.md](.\u002Fgithub-managed-settings.md)**\n- Having one policy govern **multiple** settings via `policyReference`\n- **Testing** account\u002Fmanaged-settings policies locally without the real backend — see **[local-testing.md](.\u002Flocal-testing.md)**\n\n## Architecture Overview\n\n### Policy Sources (layered, last writer wins)\n\n| Source | Implementation | How it reads policies |\n|--------|---------------|----------------------|\n| **OS-level** (Windows registry, macOS plist) | `NativePolicyService` via `@vscode\u002Fpolicy-watcher` | Watches `Software\\Policies\\Microsoft\\{productName}` (Windows) or bundle identifier prefs (macOS) |\n| **Linux file** | `FilePolicyService` | Reads `\u002Fetc\u002Fvscode\u002Fpolicy.json` |\n| **Account\u002FGitHub** | `AccountPolicyService` | Reads `IPolicyData` from `IDefaultAccountService.policyData`, applies `value()` function. Server-delivered managed settings arrive on `policyData.managedSettings`; native MDM (`INativeManagedSettingsService`) and a file on disk (`IFileManagedSettingsService`) are **separate** inputs that `AccountPolicyService` merges in `getPolicyData()` via `pickManagedSettings(nativeMdm, server, file)` (per-key precedence native MDM > server > file; a key locked by a higher channel cannot be overwritten, keys it leaves unset fall through to lower channels) |\n| **Copilot managed settings (native MDM)** | `NativeManagedSettingsService` via `@vscode\u002Fpolicy-watcher` | Watches `SOFTWARE\\Policies\\GitHubCopilot` (Windows) \u002F `com.github.copilot` prefs (macOS); feeds the canonical `managedSettings` bag — see [github-managed-settings.md](.\u002Fgithub-managed-settings.md) |\n| **Copilot managed settings (file)** | `FileManagedSettingsService` | Reads + watches `managed-settings.json` from a well-known per-OS path in the main process, exposed to renderers over IPC; lowest-precedence managed-settings channel — see [github-managed-settings.md](.\u002Fgithub-managed-settings.md) |\n| **Multiplex** | `MultiplexPolicyService` | In the main process, combines multiple OS\u002Ffile policy readers; in desktop and Agents-window renderers, combines the main-process `PolicyChannelClient` with `AccountPolicyService` |\n\n### Key Files\n\n| File | Purpose |\n|------|---------|\n| `src\u002Fvs\u002Fbase\u002Fcommon\u002Fpolicy.ts` | `PolicyCategory` enum, `IPolicy` interface, `IPolicyReference`, `ManagedSettingsData`, `IManagedSettingsPolicyDefinitions` |\n| `src\u002Fvs\u002Fplatform\u002Fpolicy\u002Fcommon\u002Fpolicy.ts` | `IPolicyService`, `AbstractPolicyService`, `PolicyDefinition`, `toSerializablePolicyDefinition` (drops the non-cloneable `value()` for IPC), `getRestrictedPolicyValue` |\n| `src\u002Fvs\u002Fplatform\u002Fpolicy\u002Fcommon\u002FcopilotManagedSettings.ts` | Managed-settings key constants + well-known file paths, `collectManagedSettingsDefinitions`, `projectManagedSettings`, the shared `normalizeManagedSettings` (single normalizer for all channels), `pickManagedSettings` (per-key channel precedence), `INativeManagedSettingsService` \u002F `IFileManagedSettingsService` |\n| `src\u002Fvs\u002Fplatform\u002Fpolicy\u002Fnode\u002FnativeManagedSettingsService.ts` | Native MDM watcher (`@vscode\u002Fpolicy-watcher`) for Copilot managed settings |\n| `src\u002Fvs\u002Fplatform\u002Fpolicy\u002Fcommon\u002FfileManagedSettingsService.ts` | File-based channel: reads + watches `managed-settings.json` on a well-known per-OS path, normalizes via `normalizeManagedSettings` |\n| `src\u002Fvs\u002Fplatform\u002Fconfiguration\u002Fcommon\u002Fconfigurations.ts` | `PolicyConfiguration` — bridges policies to configuration values; parses JSON-string managed settings back to typed values; applies values to `policyReference` settings |\n| `src\u002Fvs\u002Fplatform\u002Fconfiguration\u002Fcommon\u002FconfigurationRegistry.ts` | `policy` \u002F `policyReference` registration; `getPolicyReferenceConfigurations()` (name → subordinate settings) |\n| `src\u002Fvs\u002Fworkbench\u002Fservices\u002Fpolicies\u002Fcommon\u002FaccountPolicyService.ts` | Account\u002FGitHub-based policy evaluation; selects + projects managed settings (native MDM over server; single authoritative layer) |\n| `src\u002Fvs\u002Fworkbench\u002Fservices\u002Faccounts\u002Fbrowser\u002FmanagedSettings.ts` | `adaptManagedSettings` — normalizes the server `managed_settings` response into the canonical bag |\n| `src\u002Fvs\u002Fworkbench\u002Fservices\u002Fpolicies\u002Fcommon\u002FmultiplexPolicyService.ts` | Combines multiple policy services |\n| `src\u002Fvs\u002Fworkbench\u002Fcontrib\u002FpolicyExport\u002Felectron-browser\u002FpolicyExport.contribution.ts` | `--export-policy-data` CLI handler |\n| `src\u002Fvs\u002Fbase\u002Fcommon\u002FdefaultAccount.ts` | `IPolicyData` interface (incl. `managedSettings`) for account-level policy fields |\n| `build\u002Flib\u002Fpolicies\u002FpolicyData.jsonc` | Auto-generated policy catalog incl. `referencedSettings` (DO NOT edit manually) |\n| `build\u002Flib\u002Fpolicies\u002FpolicyGenerator.ts` | Generates ADMX\u002FADML (Windows), plist (macOS), JSON (Linux) |\n| `build\u002Flib\u002Ftest\u002FpolicyConversion.test.ts` | Tests for policy artifact generation |\n\n## Procedure\n\n### Step 1 — Add the `policy` field to the configuration property\n\nFind the configuration registration (typically in a `*.contribution.ts` file) and add a `policy` object to the property schema.\n\n**Required fields:**\n\n**Determining `minimumVersion`:** Always read `version` from the root `package.json` and use the `major.minor` portion. For example, if `package.json` has `\"version\": \"1.112.0\"`, use `minimumVersion: '1.112'`. Never hardcode an old version like `'1.99'`.\n\n```typescript\npolicy: {\n    name: 'MyPolicyName',                          \u002F\u002F PascalCase, unique across all policies\n    category: PolicyCategory.InteractiveSession,    \u002F\u002F From PolicyCategory enum\n    minimumVersion: '1.112',                        \u002F\u002F Use major.minor from package.json version\n    localization: {\n        description: {\n            key: 'my.config.key',                   \u002F\u002F NLS key for the description\n            value: nls.localize('my.config.key', \"Human-readable description.\"),\n        }\n    }\n}\n```\n\n**Optional: `value` function for account-based policy:**\n\nIf this policy should also be controllable via Copilot account policy data (from `IPolicyData`), add a `value` function:\n\n```typescript\npolicy: {\n    name: 'MyPolicyName',\n    category: PolicyCategory.InteractiveSession,\n    minimumVersion: '1.112',                        \u002F\u002F Use major.minor from package.json version\n    value: (policyData) => policyData.my_field === false ? false : undefined,\n    localization: { \u002F* ... *\u002F }\n}\n```\n\nThe `value` function receives `IPolicyData` (from `src\u002Fvs\u002Fbase\u002Fcommon\u002FdefaultAccount.ts`) and should:\n- Return a concrete value to **override** the user's setting\n- Return `undefined` to **not apply** any account-level override (falls through to OS policy or user setting)\n\nIf you need a new field on `IPolicyData`, add it to the interface in `src\u002Fvs\u002Fbase\u002Fcommon\u002FdefaultAccount.ts`.\n\n**Optional: `enumDescriptions` for enum\u002Fstring policies:**\n\n**IMPORTANT:** If the configuration property has `type: 'string'` and an `enum` array, you **must** include `enumDescriptions` in the `localization` block with the same number of entries as the `enum` array. Without this, `npm run export-policy-data` will fail with: `enumDescriptions must exist and have the same length as enum for policy \"...\"`.\n\n```typescript\nlocalization: {\n    description: { key: '...', value: nls.localize('...', \"...\") },\n    enumDescriptions: [\n        { key: 'opt.none', value: nls.localize('opt.none', \"No access.\") },\n        { key: 'opt.all', value: nls.localize('opt.all', \"Full access.\") },\n    ]\n}\n```\n\n### Step 2 — Ensure `PolicyCategory` is imported\n\n```typescript\nimport { PolicyCategory } from '..\u002F..\u002F..\u002F..\u002Fbase\u002Fcommon\u002Fpolicy.js';\n```\n\nExisting categories in the `PolicyCategory` enum:\n- `Extensions`\n- `IntegratedTerminal`\n- `InteractiveSession` (used for all chat\u002FCopilot policies)\n- `Telemetry`\n- `Update`\n\nIf you need a new category, add it to `PolicyCategory` in `src\u002Fvs\u002Fbase\u002Fcommon\u002Fpolicy.ts` and add corresponding `PolicyCategoryData` localization.\n\n### Step 3 — Validate TypeScript compilation\n\nCheck the `VS Code - Build` watch task output, or run:\n\n```bash\nnpm run typecheck-client\n```\n\n### Step 4 — Export the policy data\n\nRegenerate the auto-generated policy catalog:\n\n```bash\nnpm run export-policy-data\n```\n\nThis script handles transpilation, sets up `GITHUB_TOKEN` (via `gh` CLI or GitHub OAuth device flow), and runs `--export-policy-data`. The export command reads extension configuration policies from the distro's `product.json` via the GitHub API and merges them into the output.\n\nThis updates `build\u002Flib\u002Fpolicies\u002FpolicyData.jsonc`. **Never edit this file manually.** Verify your new policy appears in the output.  You will need code review from a codeowner to merge the change to main.\n\n\n## Policy for extension-provided settings\n\nExtension authors cannot add `policy:` fields directly—their settings are defined in the extension's `package.json`, not in VS Code core. Instead, policies for extension settings are defined in `vscode-distro`'s `product.json` under the `extensionConfigurationPolicy` key.\n\n### How it works\n\n1. **Source of truth**: The `extensionConfigurationPolicy` map lives in `vscode-distro` under `mixin\u002F{quality}\u002Fproduct.json` (stable, insider, exploration).\n2. **Runtime**: When VS Code starts with a distro-mixed `product.json`, `configurationExtensionPoint.ts` reads `extensionConfigurationPolicy` and attaches matching `policy` objects to extension-contributed configuration properties.\n3. **Export\u002Fbuild**: The `--export-policy-data` command fetches the distro's `product.json` at the commit pinned in `package.json` and merges extension policies into the output. Use `npm run export-policy-data` which sets up authentication automatically.\n\n### Distro format\n\nEach entry in `extensionConfigurationPolicy` must include:\n\n```json\n\"extensionConfigurationPolicy\": {\n    \"publisher.extension.settingName\": {\n        \"name\": \"PolicyName\",\n        \"category\": \"InteractiveSession\",\n        \"minimumVersion\": \"1.99\",\n        \"description\": \"Human-readable description.\"\n    }\n}\n```\n\n- `name`: PascalCase policy name, unique across all policies\n- `category`: Must be a valid `PolicyCategory` enum value (e.g., `InteractiveSession`, `Extensions`)\n- `minimumVersion`: The VS Code version that first shipped this policy\n- `description`: Human-readable description string used to generate localization key\u002Fvalue pairs for ADMX\u002FADML\u002FmacOS\u002FLinux policy artifacts\n\n### Adding a new extension policy\n\n1. Add the entry to `extensionConfigurationPolicy` in **all three** quality `product.json` files in `vscode-distro` (`mixin\u002Fstable\u002F`, `mixin\u002Finsider\u002F`, `mixin\u002Fexploration\u002F`)\n2. Update the `distro` commit hash in `package.json` to point to the distro commit that includes your new entry — the export command fetches extension policies from the pinned distro commit\n3. Regenerate `policyData.jsonc` by running `npm run export-policy-data` (see Step 4 above)\n4. Update the test fixture at `src\u002Fvs\u002Fworkbench\u002Fcontrib\u002FpolicyExport\u002Ftest\u002Fnode\u002FextensionPolicyFixture.json` with the new entry\n\n### Test fixtures\n\nThe file `src\u002Fvs\u002Fworkbench\u002Fcontrib\u002FpolicyExport\u002Ftest\u002Fnode\u002FextensionPolicyFixture.json` is a test fixture that must stay in sync with the extension policies in the checked-in `policyData.jsonc`. When extension policies are added or changed in the distro, this fixture must be updated to match — otherwise the integration test will fail because the test output (generated from the fixture) won't match the checked-in file (generated from the real distro).\n\n### Downstream consumers\n\n| Consumer | What it reads | Output |\n|----------|--------------|--------|\n| `policyGenerator.ts` | `policyData.jsonc` | ADMX\u002FADML (Windows GP), `.mobileconfig` (macOS), `policy.json` (Linux) |\n| `vscode-website` (`gulpfile.policies.js`) | `policyData.jsonc` | Enterprise policy reference table at code.visualstudio.com\u002Fdocs\u002Fenterprise\u002Fpolicies |\n| `vscode-docs` | Generated from website build | `docs\u002Fenterprise\u002Fpolicies.md` |\n\n## GitHub Preview Features\n\nIf your setting is a **GitHub Preview Feature** — meaning it's a Copilot\u002Fchat feature that organizations can disable via their GitHub account-level policy — you **must** add a `value` function that checks `policyData.chat_preview_features_enabled`.\n\n### When to add this flag\n\nAdd the `chat_preview_features_enabled` check when **all** of these apply:\n\n- The setting controls a Copilot or chat feature (e.g., agent tools, hooks, MCP, auto-approve)\n- The feature is in preview or experimental status (typically tagged `'preview'` or `'experimental'`)\n- An organization admin should be able to disable it for all users in their org via GitHub account policy\n\n### How it works\n\nThe `chat_preview_features_enabled` field on `IPolicyData` (defined in `src\u002Fvs\u002Fbase\u002Fcommon\u002FdefaultAccount.ts`) is populated from the user's GitHub Copilot token entitlements. When an organization admin disables preview features, `chat_preview_features_enabled` is set to `false`.\n\n### Pattern\n\nAdd a `value` function to the policy that returns a disabling value when `chat_preview_features_enabled === false`, and `undefined` otherwise (to fall through to the user's own setting):\n\n```typescript\npolicy: {\n    name: 'MyPreviewFeaturePolicy',\n    category: PolicyCategory.InteractiveSession,\n    minimumVersion: '1.xx', \u002F\u002F Must match the first VS Code release that ships this policy.\n    value: (policyData) => policyData.chat_preview_features_enabled === false ? false : undefined,\n    localization: {\n        description: {\n            key: 'my.setting.description',\n            value: nls.localize('my.setting.description', \"Description of the setting.\"),\n        }\n    }\n}\n```\n\nKey details:\n- **Always compare with `=== false`**, not `!policyData.chat_preview_features_enabled` — the field is optional and `undefined` means \"no policy data available\", which should not disable the feature.\n- **Return `undefined`** when the flag is not `false` so the account-level policy does not override the user's setting.\n- **Return the disabling value** for the setting's type: `false` for booleans, a restrictive string\u002Fenum value for other types.\n\n### Real-world examples\n\nSee `chat.tools.global.autoApprove` and `chat.useHooks` in `src\u002Fvs\u002Fworkbench\u002Fcontrib\u002Fchat\u002Fbrowser\u002Fchat.shared.contribution.ts` for existing settings that use this pattern.\n\n## Enterprise Managed Settings (native MDM \u002F GitHub server)\n\nGitHub Copilot enterprise admins can lock settings through a **managed-settings** bag.\nVS Code feeds the bag from **two** channels: native MDM (Windows registry \u002F macOS plist)\nand the GitHub `\u002Fcopilot_internal\u002Fmanaged_settings` endpoint. (The external\n`managed-settings-schema.json` also describes a `managed-settings.json` file channel, but\nVS Code does **not** read such a file.) Both VS Code channels converge on\n`IPolicyData.managedSettings` (a flat dot-path bag) and are consumed by the **existing**\n`policy.value(policyData)` callback — there is no new `IPolicyService`.\n\nTo drive a policy from a managed setting, declare `managedSettings` on the policy and\nread `policyData.managedSettings?.[KEY]` in `value` (the real `ChatToolsAutoApprove` also\nORs in `chat_preview_features_enabled === false`):\n\n```typescript\n\u002F\u002F Existing policy shown verbatim; `minimumVersion: '1.99'` is its historical value —\n\u002F\u002F a NEW policy derives minimumVersion from package.json major.minor (see Step 1).\npolicy: {\n    name: 'ChatToolsAutoApprove',\n    category: PolicyCategory.InteractiveSession,\n    minimumVersion: '1.99',\n    value: (policyData) =>\n        policyData.managedSettings?.[COPILOT_DISABLE_BYPASS_PERMISSIONS_MODE_KEY] === 'disable'\n            || policyData.chat_preview_features_enabled === false ? false : undefined,\n    managedSettings: {\n        [COPILOT_DISABLE_BYPASS_PERMISSIONS_MODE_KEY]: { type: 'string' },\n    },\n    localization: { \u002F* ... *\u002F }\n}\n```\n\n**This is its own modality — full details, schema source of truth, helpers, wiring, and\nthe new-key checklist are in [github-managed-settings.md](.\u002Fgithub-managed-settings.md).**\nRead it before adding or reviewing any managed-settings key.\n\n**Testing locally:** to exercise the account\u002Fmanaged-settings flow without the real\nGitHub backend, use the mock policy server — see\n**[local-testing.md](.\u002Flocal-testing.md)**.\n\n## One Policy for Many Settings (`policyReference`)\n\nA single policy can govern multiple settings (e.g. gate an agent in both the editor\nwindow and the Agents window). The **owner** declares the full `policy: { name, … }`;\nother settings declare `policyReference: { name }` pointing at the owner's policy name.\n\n```typescript\n\u002F\u002F Owner setting (existing policy; `minimumVersion: '1.126'` is its historical value —\n\u002F\u002F a NEW policy uses package.json major.minor, see Step 1)\npolicy: { name: 'Codex3PIntegration', category: PolicyCategory.InteractiveSession, minimumVersion: '1.126', \u002F* ... *\u002F }\n\n\u002F\u002F Subordinate setting (no type\u002Fvalue\u002Flocalization of its own)\npolicyReference: { name: 'Codex3PIntegration' }\n```\n\n`policyReference` is not managed-settings-specific: use it whenever one enterprise\npolicy should lock multiple settings to the same value. The reference is a **pure\npointer**. It contributes no type, `value`, `managedSettings`, `restrictedValue`, or\nlocalization of its own; the owner remains the single source of truth for policy\nmetadata and runtime behavior.\n\nKey rules and internals:\n\n- A setting must **not** declare both `policy` and `policyReference` (rejected during\n  configuration registration).\n- Exactly one setting may own a policy name with `policy`; additional settings attach\n  with `policyReference`.\n- The reference setting's type must match the owner's type; `npm run export-policy-data`\n  enforces this because the same resolved policy value is applied verbatim to owner and\n  references.\n- `ConfigurationRegistry.getPolicyReferenceConfigurations()` tracks `policyName →\n  Set\u003CsettingKey>`, and `PolicyConfiguration` updates both the owner setting and all\n  registered references when the policy value changes.\n- `AbstractPolicyService.serialize()` uses `toSerializablePolicyDefinition()` to strip\n  the non-cloneable `value()` callback before sending policy definitions over IPC.\n- `AbstractPolicyService.updatePolicyDefinitions()` replaces definitions per policy\n  name, so a late-registering owner supersedes an earlier reference fallback; if the\n  owner is removed, a reference can still provide a bare type fallback.\n- Exported policy data includes `referencedSettings` for references that are registered\n  during export, and **Developer: Policy Diagnostics** lists registered owner\u002Freference\n  settings under the same policy name.\n\nFor managed-settings-specific examples that combine `policyReference` with Copilot\nmanaged settings, see [github-managed-settings.md](.\u002Fgithub-managed-settings.md).\n\n## Examples\n\nSearch the codebase for `policy:` to find all the examples of different policy configurations.\n\n## Learnings\n\n* Never hand-edit `build\u002Flib\u002Fpolicies\u002FpolicyData.jsonc` (its header explicitly forbids it). If `npm run export-policy-data` is failing, fix the script — don't patch the JSON. Common cause: running it in the wrong working directory (e.g. main repo instead of a worktree), which silently exports the wrong source tree.\n* **Regenerate `policyData.jsonc` in a clean environment, or the `PolicyExport` integration test will fail in CI.** `referencedSettings` is only captured for references **loaded at export time**. A plain `npm run export-policy-data` loads your **dev-profile extensions** (e.g. the Copilot extension), which injects `referencedSettings` onto core policies that the test's **fixture-based** export (clean profile, no user extensions) won't produce — so the checked-in file ends up with extra `referencedSettings` and CI fails. This is **not reproducible locally** because the test reuses your default extensions dir. Regenerate the way the test exports: `DISTRO_PRODUCT_JSON=\u003CextensionPolicyFixture.json> .\u002Fscripts\u002Fcode.sh --export-policy-data=\"$PWD\u002Fbuild\u002Flib\u002Fpolicies\u002FpolicyData.jsonc\" --user-data-dir=\"$(mktemp -d)\" --extensions-dir=\"$(mktemp -d)\"` (with `VSCODE_SKIP_PRELAUNCH=1`).\n* Document **behavior and business-logic expectations**, not copy-pasted implementation. Reproducing internal code (e.g. the `getPolicyData()` merge body) in the skill rots the moment the source changes and adds no information beyond the source itself. State the contract in prose (e.g. \"native MDM managed settings win over the server-delivered channel; the two layers are never merged\") and point to the source for the implementation. Reserve code blocks for the **author-facing API contract** a contributor must follow — how to *declare* a `policy` \u002F `managedSettings` \u002F `value` callback — not for restating runtime plumbing.\n","# Adding a Configuration Policy\n\nPolicies 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.\n\n## When to Use\n\n- Adding a new `policy:` field to any configuration property\n- Modifying an existing policy (rename, category change, etc.)\n- Reviewing a PR that touches policy registration\n- Adding account-based policy support via `IPolicyData`\n- Wiring an enterprise **managed setting** (native MDM \u002F GitHub server) — see **[github-managed-settings.md](.\u002Fgithub-managed-settings.md)**\n- Having one policy govern **multiple** settings via `policyReference`\n- **Testing** account\u002Fmanaged-settings policies locally without the real backend — see **[local-testing.md](.\u002Flocal-testing.md)**\n\n## Architecture Overview\n\n### Policy Sources (layered, last writer wins)\n\n| Source | Implementation | How it reads policies |\n|--------|---------------|----------------------|\n| **OS-level** (Windows registry, macOS plist) | `NativePolicyService` via `@vscode\u002Fpolicy-watcher` | Watches `Software\\Policies\\Microsoft\\{productName}` (Windows) or bundle identifier prefs (macOS) |\n| **Linux file** | `FilePolicyService` | Reads `\u002Fetc\u002Fvscode\u002Fpolicy.json` |\n| **Account\u002FGitHub** | `AccountPolicyService` | Reads `IPolicyData` from `IDefaultAccountService.policyData`, applies `value()` function. Server-delivered managed settings arrive on `policyData.managedSettings`; native MDM (`INativeManagedSettingsService`) and a file on disk (`IFileManagedSettingsService`) are **separate** inputs that `AccountPolicyService` merges in `getPolicyData()` via `pickManagedSettings(nativeMdm, server, file)` (per-key precedence native MDM > server > file; a key locked by a higher channel cannot be overwritten, keys it leaves unset fall through to lower channels) |\n| **Copilot managed settings (native MDM)** | `NativeManagedSettingsService` via `@vscode\u002Fpolicy-watcher` | Watches `SOFTWARE\\Policies\\GitHubCopilot` (Windows) \u002F `com.github.copilot` prefs (macOS); feeds the canonical `managedSettings` bag — see [github-managed-settings.md](.\u002Fgithub-managed-settings.md) |\n| **Copilot managed settings (file)** | `FileManagedSettingsService` | Reads + watches `managed-settings.json` from a well-known per-OS path in the main process, exposed to renderers over IPC; lowest-precedence managed-settings channel — see [github-managed-settings.md](.\u002Fgithub-managed-settings.md) |\n| **Multiplex** | `MultiplexPolicyService` | In the main process, combines multiple OS\u002Ffile policy readers; in desktop and Agents-window renderers, combines the main-process `PolicyChannelClient` with `AccountPolicyService` |\n\n### Key Files\n\n| File | Purpose |\n|------|---------|\n| `src\u002Fvs\u002Fbase\u002Fcommon\u002Fpolicy.ts` | `PolicyCategory` enum, `IPolicy` interface, `IPolicyReference`, `ManagedSettingsData`, `IManagedSettingsPolicyDefinitions` |\n| `src\u002Fvs\u002Fplatform\u002Fpolicy\u002Fcommon\u002Fpolicy.ts` | `IPolicyService`, `AbstractPolicyService`, `PolicyDefinition`, `toSerializablePolicyDefinition` (drops the non-cloneable `value()` for IPC), `getRestrictedPolicyValue` |\n| `src\u002Fvs\u002Fplatform\u002Fpolicy\u002Fcommon\u002FcopilotManagedSettings.ts` | Managed-settings key constants + well-known file paths, `collectManagedSettingsDefinitions`, `projectManagedSettings`, the shared `normalizeManagedSettings` (single normalizer for all channels), `pickManagedSettings` (per-key channel precedence), `INativeManagedSettingsService` \u002F `IFileManagedSettingsService` |\n| `src\u002Fvs\u002Fplatform\u002Fpolicy\u002Fnode\u002FnativeManagedSettingsService.ts` | Native MDM watcher (`@vscode\u002Fpolicy-watcher`) for Copilot managed settings |\n| `src\u002Fvs\u002Fplatform\u002Fpolicy\u002Fcommon\u002FfileManagedSettingsService.ts` | File-based channel: reads + watches `managed-settings.json` on a well-known per-OS path, normalizes via `normalizeManagedSettings` |\n| `src\u002Fvs\u002Fplatform\u002Fconfiguration\u002Fcommon\u002Fconfigurations.ts` | `PolicyConfiguration` — bridges policies to configuration values; parses JSON-string managed settings back to typed values; applies values to `policyReference` settings |\n| `src\u002Fvs\u002Fplatform\u002Fconfiguration\u002Fcommon\u002FconfigurationRegistry.ts` | `policy` \u002F `policyReference` registration; `getPolicyReferenceConfigurations()` (name → subordinate settings) |\n| `src\u002Fvs\u002Fworkbench\u002Fservices\u002Fpolicies\u002Fcommon\u002FaccountPolicyService.ts` | Account\u002FGitHub-based policy evaluation; selects + projects managed settings (native MDM over server; single authoritative layer) |\n| `src\u002Fvs\u002Fworkbench\u002Fservices\u002Faccounts\u002Fbrowser\u002FmanagedSettings.ts` | `adaptManagedSettings` — normalizes the server `managed_settings` response into the canonical bag |\n| `src\u002Fvs\u002Fworkbench\u002Fservices\u002Fpolicies\u002Fcommon\u002FmultiplexPolicyService.ts` | Combines multiple policy services |\n| `src\u002Fvs\u002Fworkbench\u002Fcontrib\u002FpolicyExport\u002Felectron-browser\u002FpolicyExport.contribution.ts` | `--export-policy-data` CLI handler |\n| `src\u002Fvs\u002Fbase\u002Fcommon\u002FdefaultAccount.ts` | `IPolicyData` interface (incl. `managedSettings`) for account-level policy fields |\n| `build\u002Flib\u002Fpolicies\u002FpolicyData.jsonc` | Auto-generated policy catalog incl. `referencedSettings` (DO NOT edit manually) |\n| `build\u002Flib\u002Fpolicies\u002FpolicyGenerator.ts` | Generates ADMX\u002FADML (Windows), plist (macOS), JSON (Linux) |\n| `build\u002Flib\u002Ftest\u002FpolicyConversion.test.ts` | Tests for policy artifact generation |\n\n## Procedure\n\n### Step 1 — Add the `policy` field to the configuration property\n\nFind the configuration registration (typically in a `*.contribution.ts` file) and add a `policy` object to the property schema.\n\n**Required fields:**\n\n**Determining `minimumVersion`:** Always read `version` from the root `package.json` and use the `major.minor` portion. For example, if `package.json` has `\"version\": \"1.112.0\"`, use `minimumVersion: '1.112'`. Never hardcode an old version like `'1.99'`.\n\n```typescript\npolicy: {\n    name: 'MyPolicyName',                          \u002F\u002F PascalCase, unique across all policies\n    category: PolicyCategory.InteractiveSession,    \u002F\u002F From PolicyCategory enum\n    minimumVersion: '1.112',                        \u002F\u002F Use major.minor from package.json version\n    localization: {\n        description: {\n            key: 'my.config.key',                   \u002F\u002F NLS key for the description\n            value: nls.localize('my.config.key', \"Human-readable description.\"),\n        }\n    }\n}\n```\n\n**Optional: `value` function for account-based policy:**\n\nIf this policy should also be controllable via Copilot account policy data (from `IPolicyData`), add a `value` function:\n\n```typescript\npolicy: {\n    name: 'MyPolicyName',\n    category: PolicyCategory.InteractiveSession,\n    minimumVersion: '1.112',                        \u002F\u002F Use major.minor from package.json version\n    value: (policyData) => policyData.my_field === false ? false : undefined,\n    localization: { \u002F* ... *\u002F }\n}\n```\n\nThe `value` function receives `IPolicyData` (from `src\u002Fvs\u002Fbase\u002Fcommon\u002FdefaultAccount.ts`) and should:\n- Return a concrete value to **override** the user's setting\n- Return `undefined` to **not apply** any account-level override (falls through to OS policy or user setting)\n\nIf you need a new field on `IPolicyData`, add it to the interface in `src\u002Fvs\u002Fbase\u002Fcommon\u002FdefaultAccount.ts`.\n\n**Optional: `enumDescriptions` for enum\u002Fstring policies:**\n\n**IMPORTANT:** If the configuration property has `type: 'string'` and an `enum` array, you **must** include `enumDescriptions` in the `localization` block with the same number of entries as the `enum` array. Without this, `npm run export-policy-data` will fail with: `enumDescriptions must exist and have the same length as enum for policy \"...\"`.\n\n```typescript\nlocalization: {\n    description: { key: '...', value: nls.localize('...', \"...\") },\n    enumDescriptions: [\n        { key: 'opt.none', value: nls.localize('opt.none', \"No access.\") },\n        { key: 'opt.all', value: nls.localize('opt.all', \"Full access.\") },\n    ]\n}\n```\n\n### Step 2 — Ensure `PolicyCategory` is imported\n\n```typescript\nimport { PolicyCategory } from '..\u002F..\u002F..\u002F..\u002Fbase\u002Fcommon\u002Fpolicy.js';\n```\n\nExisting categories in the `PolicyCategory` enum:\n- `Extensions`\n- `IntegratedTerminal`\n- `InteractiveSession` (used for all chat\u002FCopilot policies)\n- `Telemetry`\n- `Update`\n\nIf you need a new category, add it to `PolicyCategory` in `src\u002Fvs\u002Fbase\u002Fcommon\u002Fpolicy.ts` and add corresponding `PolicyCategoryData` localization.\n\n### Step 3 — Validate TypeScript compilation\n\nCheck the `VS Code - Build` watch task output, or run:\n\n```bash\nnpm run typecheck-client\n```\n\n### Step 4 — Export the policy data\n\nRegenerate the auto-generated policy catalog:\n\n```bash\nnpm run export-policy-data\n```\n\nThis script handles transpilation, sets up `GITHUB_TOKEN` (via `gh` CLI or GitHub OAuth device flow), and runs `--export-policy-data`. The export command reads extension configuration policies from the distro's `product.json` via the GitHub API and merges them into the output.\n\nThis updates `build\u002Flib\u002Fpolicies\u002FpolicyData.jsonc`. **Never edit this file manually.** Verify your new policy appears in the output.  You will need code review from a codeowner to merge the change to main.\n\n\n## Policy for extension-provided settings\n\nExtension authors cannot add `policy:` fields directly—their settings are defined in the extension's `package.json`, not in VS Code core. Instead, policies for extension settings are defined in `vscode-distro`'s `product.json` under the `extensionConfigurationPolicy` key.\n\n### How it works\n\n1. **Source of truth**: The `extensionConfigurationPolicy` map lives in `vscode-distro` under `mixin\u002F{quality}\u002Fproduct.json` (stable, insider, exploration).\n2. **Runtime**: When VS Code starts with a distro-mixed `product.json`, `configurationExtensionPoint.ts` reads `extensionConfigurationPolicy` and attaches matching `policy` objects to extension-contributed configuration properties.\n3. **Export\u002Fbuild**: The `--export-policy-data` command fetches the distro's `product.json` at the commit pinned in `package.json` and merges extension policies into the output. Use `npm run export-policy-data` which sets up authentication automatically.\n\n### Distro format\n\nEach entry in `extensionConfigurationPolicy` must include:\n\n```json\n\"extensionConfigurationPolicy\": {\n    \"publisher.extension.settingName\": {\n        \"name\": \"PolicyName\",\n        \"category\": \"InteractiveSession\",\n        \"minimumVersion\": \"1.99\",\n        \"description\": \"Human-readable description.\"\n    }\n}\n```\n\n- `name`: PascalCase policy name, unique across all policies\n- `category`: Must be a valid `PolicyCategory` enum value (e.g., `InteractiveSession`, `Extensions`)\n- `minimumVersion`: The VS Code version that first shipped this policy\n- `description`: Human-readable description string used to generate localization key\u002Fvalue pairs for ADMX\u002FADML\u002FmacOS\u002FLinux policy artifacts\n\n### Adding a new extension policy\n\n1. Add the entry to `extensionConfigurationPolicy` in **all three** quality `product.json` files in `vscode-distro` (`mixin\u002Fstable\u002F`, `mixin\u002Finsider\u002F`, `mixin\u002Fexploration\u002F`)\n2. Update the `distro` commit hash in `package.json` to point to the distro commit that includes your new entry — the export command fetches extension policies from the pinned distro commit\n3. Regenerate `policyData.jsonc` by running `npm run export-policy-data` (see Step 4 above)\n4. Update the test fixture at `src\u002Fvs\u002Fworkbench\u002Fcontrib\u002FpolicyExport\u002Ftest\u002Fnode\u002FextensionPolicyFixture.json` with the new entry\n\n### Test fixtures\n\nThe file `src\u002Fvs\u002Fworkbench\u002Fcontrib\u002FpolicyExport\u002Ftest\u002Fnode\u002FextensionPolicyFixture.json` is a test fixture that must stay in sync with the extension policies in the checked-in `policyData.jsonc`. When extension policies are added or changed in the distro, this fixture must be updated to match — otherwise the integration test will fail because the test output (generated from the fixture) won't match the checked-in file (generated from the real distro).\n\n### Downstream consumers\n\n| Consumer | What it reads | Output |\n|----------|--------------|--------|\n| `policyGenerator.ts` | `policyData.jsonc` | ADMX\u002FADML (Windows GP), `.mobileconfig` (macOS), `policy.json` (Linux) |\n| `vscode-website` (`gulpfile.policies.js`) | `policyData.jsonc` | Enterprise policy reference table at code.visualstudio.com\u002Fdocs\u002Fenterprise\u002Fpolicies |\n| `vscode-docs` | Generated from website build | `docs\u002Fenterprise\u002Fpolicies.md` |\n\n## GitHub Preview Features\n\nIf your setting is a **GitHub Preview Feature** — meaning it's a Copilot\u002Fchat feature that organizations can disable via their GitHub account-level policy — you **must** add a `value` function that checks `policyData.chat_preview_features_enabled`.\n\n### When to add this flag\n\nAdd the `chat_preview_features_enabled` check when **all** of these apply:\n\n- The setting controls a Copilot or chat feature (e.g., agent tools, hooks, MCP, auto-approve)\n- The feature is in preview or experimental status (typically tagged `'preview'` or `'experimental'`)\n- An organization admin should be able to disable it for all users in their org via GitHub account policy\n\n### How it works\n\nThe `chat_preview_features_enabled` field on `IPolicyData` (defined in `src\u002Fvs\u002Fbase\u002Fcommon\u002FdefaultAccount.ts`) is populated from the user's GitHub Copilot token entitlements. When an organization admin disables preview features, `chat_preview_features_enabled` is set to `false`.\n\n### Pattern\n\nAdd a `value` function to the policy that returns a disabling value when `chat_preview_features_enabled === false`, and `undefined` otherwise (to fall through to the user's own setting):\n\n```typescript\npolicy: {\n    name: 'MyPreviewFeaturePolicy',\n    category: PolicyCategory.InteractiveSession,\n    minimumVersion: '1.xx', \u002F\u002F Must match the first VS Code release that ships this policy.\n    value: (policyData) => policyData.chat_preview_features_enabled === false ? false : undefined,\n    localization: {\n        description: {\n            key: 'my.setting.description',\n            value: nls.localize('my.setting.description', \"Description of the setting.\"),\n        }\n    }\n}\n```\n\nKey details:\n- **Always compare with `=== false`**, not `!policyData.chat_preview_features_enabled` — the field is optional and `undefined` means \"no policy data available\", which should not disable the feature.\n- **Return `undefined`** when the flag is not `false` so the account-level policy does not override the user's setting.\n- **Return the disabling value** for the setting's type: `false` for booleans, a restrictive string\u002Fenum value for other types.\n\n### Real-world examples\n\nSee `chat.tools.global.autoApprove` and `chat.useHooks` in `src\u002Fvs\u002Fworkbench\u002Fcontrib\u002Fchat\u002Fbrowser\u002Fchat.shared.contribution.ts` for existing settings that use this pattern.\n\n## Enterprise Managed Settings (native MDM \u002F GitHub server)\n\nGitHub Copilot enterprise admins can lock settings through a **managed-settings** bag.\nVS Code feeds the bag from **two** channels: native MDM (Windows registry \u002F macOS plist)\nand the GitHub `\u002Fcopilot_internal\u002Fmanaged_settings` endpoint. (The external\n`managed-settings-schema.json` also describes a `managed-settings.json` file channel, but\nVS Code does **not** read such a file.) Both VS Code channels converge on\n`IPolicyData.managedSettings` (a flat dot-path bag) and are consumed by the **existing**\n`policy.value(policyData)` callback — there is no new `IPolicyService`.\n\nTo drive a policy from a managed setting, declare `managedSettings` on the policy and\nread `policyData.managedSettings?.[KEY]` in `value` (the real `ChatToolsAutoApprove` also\nORs in `chat_preview_features_enabled === false`):\n\n```typescript\n\u002F\u002F Existing policy shown verbatim; `minimumVersion: '1.99'` is its historical value —\n\u002F\u002F a NEW policy derives minimumVersion from package.json major.minor (see Step 1).\npolicy: {\n    name: 'ChatToolsAutoApprove',\n    category: PolicyCategory.InteractiveSession,\n    minimumVersion: '1.99',\n    value: (policyData) =>\n        policyData.managedSettings?.[COPILOT_DISABLE_BYPASS_PERMISSIONS_MODE_KEY] === 'disable'\n            || policyData.chat_preview_features_enabled === false ? false : undefined,\n    managedSettings: {\n        [COPILOT_DISABLE_BYPASS_PERMISSIONS_MODE_KEY]: { type: 'string' },\n    },\n    localization: { \u002F* ... *\u002F }\n}\n```\n\n**This is its own modality — full details, schema source of truth, helpers, wiring, and\nthe new-key checklist are in [github-managed-settings.md](.\u002Fgithub-managed-settings.md).**\nRead it before adding or reviewing any managed-settings key.\n\n**Testing locally:** to exercise the account\u002Fmanaged-settings flow without the real\nGitHub backend, use the mock policy server — see\n**[local-testing.md](.\u002Flocal-testing.md)**.\n\n## One Policy for Many Settings (`policyReference`)\n\nA single policy can govern multiple settings (e.g. gate an agent in both the editor\nwindow and the Agents window). The **owner** declares the full `policy: { name, … }`;\nother settings declare `policyReference: { name }` pointing at the owner's policy name.\n\n```typescript\n\u002F\u002F Owner setting (existing policy; `minimumVersion: '1.126'` is its historical value —\n\u002F\u002F a NEW policy uses package.json major.minor, see Step 1)\npolicy: { name: 'Codex3PIntegration', category: PolicyCategory.InteractiveSession, minimumVersion: '1.126', \u002F* ... *\u002F }\n\n\u002F\u002F Subordinate setting (no type\u002Fvalue\u002Flocalization of its own)\npolicyReference: { name: 'Codex3PIntegration' }\n```\n\n`policyReference` is not managed-settings-specific: use it whenever one enterprise\npolicy should lock multiple settings to the same value. The reference is a **pure\npointer**. It contributes no type, `value`, `managedSettings`, `restrictedValue`, or\nlocalization of its own; the owner remains the single source of truth for policy\nmetadata and runtime behavior.\n\nKey rules and internals:\n\n- A setting must **not** declare both `policy` and `policyReference` (rejected during\n  configuration registration).\n- Exactly one setting may own a policy name with `policy`; additional settings attach\n  with `policyReference`.\n- The reference setting's type must match the owner's type; `npm run export-policy-data`\n  enforces this because the same resolved policy value is applied verbatim to owner and\n  references.\n- `ConfigurationRegistry.getPolicyReferenceConfigurations()` tracks `policyName →\n  Set\u003CsettingKey>`, and `PolicyConfiguration` updates both the owner setting and all\n  registered references when the policy value changes.\n- `AbstractPolicyService.serialize()` uses `toSerializablePolicyDefinition()` to strip\n  the non-cloneable `value()` callback before sending policy definitions over IPC.\n- `AbstractPolicyService.updatePolicyDefinitions()` replaces definitions per policy\n  name, so a late-registering owner supersedes an earlier reference fallback; if the\n  owner is removed, a reference can still provide a bare type fallback.\n- Exported policy data includes `referencedSettings` for references that are registered\n  during export, and **Developer: Policy Diagnostics** lists registered owner\u002Freference\n  settings under the same policy name.\n\nFor managed-settings-specific examples that combine `policyReference` with Copilot\nmanaged settings, see [github-managed-settings.md](.\u002Fgithub-managed-settings.md).\n\n## Examples\n\nSearch the codebase for `policy:` to find all the examples of different policy configurations.\n\n## Learnings\n\n* Never hand-edit `build\u002Flib\u002Fpolicies\u002FpolicyData.jsonc` (its header explicitly forbids it). If `npm run export-policy-data` is failing, fix the script — don't patch the JSON. Common cause: running it in the wrong working directory (e.g. main repo instead of a worktree), which silently exports the wrong source tree.\n* **Regenerate `policyData.jsonc` in a clean environment, or the `PolicyExport` integration test will fail in CI.** `referencedSettings` is only captured for references **loaded at export time**. A plain `npm run export-policy-data` loads your **dev-profile extensions** (e.g. the Copilot extension), which injects `referencedSettings` onto core policies that the test's **fixture-based** export (clean profile, no user extensions) won't produce — so the checked-in file ends up with extra `referencedSettings` and CI fails. This is **not reproducible locally** because the test reuses your default extensions dir. Regenerate the way the test exports: `DISTRO_PRODUCT_JSON=\u003CextensionPolicyFixture.json> .\u002Fscripts\u002Fcode.sh --export-policy-data=\"$PWD\u002Fbuild\u002Flib\u002Fpolicies\u002FpolicyData.jsonc\" --user-data-dir=\"$(mktemp -d)\" --extensions-dir=\"$(mktemp -d)\"` (with `VSCODE_SKIP_PRELAUNCH=1`).\n* Document **behavior and business-logic expectations**, not copy-pasted implementation. Reproducing internal code (e.g. the `getPolicyData()` merge body) in the skill rots the moment the source changes and adds no information beyond the source itself. State the contract in prose (e.g. \"native MDM managed settings win over the server-delivered channel; the two layers are never merged\") and point to the source for the implementation. Reserve code blocks for the **author-facing API contract** a contributor must follow — how to *declare* a `policy` \u002F `managedSettings` \u002F `value` callback — not for restating runtime plumbing.\n",{"name":5,"description":7},"main","a87007e75a0e5632a49ac593bd7df9f4e8d57d38",".github\u002Fskills\u002Fadd-policy","https:\u002F\u002Fgithub.com\u002FQtrick\u002Fprebasecode","https:\u002F\u002Fgithub.com\u002FQtrick","2026-09-18 02:39:35",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add Qtrick\u002Fprebasecode --skill add-policy",{"tool":36,"command":37},"bunx","bunx skills add Qtrick\u002Fprebasecode --skill add-policy",{"tool":39,"command":40},"pnpm","pnpm dlx skills add Qtrick\u002Fprebasecode --skill add-policy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FQtrick\u002Fprebasecode\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fadd-policy\u002FSKILL.md",true,[44,50],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"github-managed-settings.md","REFERENCE","参考文档",24268,"https:\u002F\u002Fgithub.com\u002FQtrick\u002Fprebasecode\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fadd-policy\u002Fgithub-managed-settings.md",{"path":51,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":52,"sourceHtmlUrl":53},"local-testing.md",925,"https:\u002F\u002Fgithub.com\u002FQtrick\u002Fprebasecode\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fadd-policy\u002Flocal-testing.md",[55,62,69,76,83,90],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M78HRHDZJD3512KSR0GZPJ57","review","Review skill with nested metadata","https:\u002F\u002Fgithub.com\u002FQtrick\u002Fprebasecode\u002Fblob\u002Fmain\u002Ftest\u002Fprebase\u002Ffixtures\u002Fproject-guidance-skill-meta\u002F.agents\u002Fskills\u002Freview\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M78HRG98D7PY73KG63XAK5H6","ui-ux-pro-max","UI UX Pro Max design guidance","https:\u002F\u002Fgithub.com\u002FQtrick\u002Fprebasecode\u002Fblob\u002Fmain\u002Ftest\u002Fprebase\u002Ffixtures\u002Fproject-guidance-monorepo\u002F.opencode\u002Fskills\u002Fui-ux-pro-max\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M78HRFBCY0MBYVQ0HRXSV5GX","deploy","Deploy skill","https:\u002F\u002Fgithub.com\u002FQtrick\u002Fprebasecode\u002Fblob\u002Fmain\u002Ftest\u002Fprebase\u002Ffixtures\u002Fproject-guidance-monorepo\u002F.codex\u002Fskills\u002Fdeploy\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M78HRE6JKXTMJN9DHCF487YD","interop","Interoperable Agent Skill for live smoke","https:\u002F\u002Fgithub.com\u002FQtrick\u002Fprebasecode\u002Fblob\u002Fmain\u002Ftest\u002Fprebase\u002Ffixtures\u002Fproject-guidance-monorepo\u002F.agents\u002Fskills\u002Finterop\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M78HRCTZENSGRPZX2N148VDD","ship","Devin ship skill","https:\u002F\u002Fgithub.com\u002FQtrick\u002Fprebasecode\u002Fblob\u002Fmain\u002Ftest\u002Fprebase\u002Ffixtures\u002Fproject-guidance-extra-skills\u002F.devin\u002Fskills\u002Fship\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M78HRBVY4KCF8ZRJ2M8RYFRD","lint","Codeium lint skill","https:\u002F\u002Fgithub.com\u002FQtrick\u002Fprebasecode\u002Fblob\u002Fmain\u002Ftest\u002Fprebase\u002Ffixtures\u002Fproject-guidance-extra-skills\u002F.codeium\u002Fskills\u002Flint\u002FSKILL.md",[],[]]