Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

chat-customizations-editor

БесплатноБез исполняемых скриптовНе проверен

Use when working on the Chat Customizations editor — the management UI for agents, skills, instructions, hooks, prompts, MCP servers, and plugins.

posit-devот posit-dev★ 4 361 звезда на GitHub

Об этом скилле

Chat Customizations Editor

Split-view management pane for AI customization items across workspace, user, extension, and plugin storage. Supports harness-based filtering (Local, Copilot CLI, Claude).

Spec

src/vs/sessions/AI_CUSTOMIZATIONS.md — read for ownership and interface contracts. Update it only when those contracts change; behavior and regressions belong in focused tests.

Key Folders

Folder What
src/vs/workbench/contrib/chat/common/ ICustomizationHarnessService, ISectionOverride, ICustomizationItemProvider — shared interfaces
src/vs/workbench/contrib/chat/browser/aiCustomization/ Management editor, list widgets (prompts, MCP, plugins), harness service registration
src/vs/sessions/contrib/chat/browser/ Sessions-window overrides (harness service, workspace service)
src/vs/sessions/contrib/sessions/browser/ Sessions tree view counts and toolbar

When changing harness descriptor interfaces or factory functions, verify both core and sessions registrations compile.

Key Interfaces

  • IHarnessDescriptor — drives harness behavior declaratively (hidden sections, button overrides, item providers, agent gating). See spec for the stable ownership contract.
  • ISectionOverride — per-section button customization (command invocation, root file creation, type labels, file extensions).
  • ICustomizationItemProvider / ICustomizationItem — internal interfaces (in customizationHarnessService.ts) for extension-contributed providers that supply items directly. These mirror the proposed extension API types.

Principle: the UI widgets read everything from the descriptor — no harness-specific conditionals in widget code.

Extension API (chatSessionCustomizationProvider)

The proposed API in src/vscode-dts/vscode.proposed.chatSessionCustomizationProvider.d.ts lets extensions register customization providers. Changes to ICustomizationItem or ICustomizationItemProvider must be kept in sync across the full chain:

Layer File Type
Extension API vscode.proposed.chatSessionCustomizationProvider.d.ts ChatSessionCustomizationItem
IPC DTO extHost.protocol.ts IChatSessionCustomizationItemDto
ExtHost mapping extHostChatAgents2.ts $provideChatSessionCustomizations()
MainThread mapping mainThreadChatAgents2.ts provideChatSessionCustomizations callback
Internal interface customizationHarnessService.ts ICustomizationItem

When adding fields to ICustomizationItem, update all five layers. The proposed API .d.ts is additive-only (new optional fields are backward-compatible and do not require a version bump).

Testing

Component explorer fixtures (see component-fixtures skill): aiCustomizationListWidget.fixture.ts, aiCustomizationManagementEditor.fixture.ts under src/vs/workbench/test/browser/componentFixtures/.

Screenshotting specific tabs

The management editor fixture supports a selectedSection option to render any tab. Each tab has Dark/Light variants auto-generated by defineThemedFixtureGroup.

Available fixture IDs (use with mcp_component-exp_screenshot):

Fixture ID pattern Tab shown
chat/aiCustomizations/aiCustomizationManagementEditor/AgentsTab/{Dark,Light} Agents
chat/aiCustomizations/aiCustomizationManagementEditor/SkillsTab/{Dark,Light} Skills
chat/aiCustomizations/aiCustomizationManagementEditor/InstructionsTab/{Dark,Light} Instructions
chat/aiCustomizations/aiCustomizationManagementEditor/HooksTab/{Dark,Light} Hooks
chat/aiCustomizations/aiCustomizationManagementEditor/PromptsTab/{Dark,Light} Prompts
chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTab/{Dark,Light} MCP Servers
chat/aiCustomizations/aiCustomizationManagementEditor/PluginsTab/{Dark,Light} Plugins
chat/aiCustomizations/aiCustomizationManagementEditor/LocalHarness/{Dark,Light} Default (Agents, Local harness)
chat/aiCustomizations/aiCustomizationManagementEditor/CliHarness/{Dark,Light} Default (Agents, CLI harness)
chat/aiCustomizations/aiCustomizationManagementEditor/ClaudeHarness/{Dark,Light} Default (Agents, Claude harness)
chat/aiCustomizations/aiCustomizationManagementEditor/Sessions/{Dark,Light} Sessions window variant

Adding a new tab fixture: Add a variant to the defineThemedFixtureGroup in aiCustomizationManagementEditor.fixture.ts:

MyNewTab: defineComponentFixture({
    labels: { kind: 'screenshot' },
    render: ctx => renderEditor(ctx, {
        harness: CustomizationHarness.VSCode,
        selectedSection: AICustomizationManagementSection.MySection,
    }),
}),

The selectedSection calls editor.selectSectionById() after setInput, which navigates to the specified tab and re-layouts.

Populating test data

Each customization type requires its own mock path in `createMoc

Полный SKILL.md на GitHub

Установить chat-customizations-editor в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл chat-customizations-editor?

Use when working on the Chat Customizations editor — the management UI for agents, skills, instructions, hooks, prompts, MCP servers, and plugins.

Как установить скилл chat-customizations-editor?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл chat-customizations-editor запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить chat-customizations-editor с