什么是 component-fixtures?
在创建或更新用于屏幕截图测试的组件固定装置时,或者在设计适合固定装置的 UI 组件时使用。涵盖固定文件结构、主题、服务设置、CSS 范围、异步渲染和常见陷阱。 来源:microsoft/vscode。
在创建或更新用于屏幕截图测试的组件固定装置时,或者在设计适合固定装置的 UI 组件时使用。涵盖固定文件结构、主题、服务设置、CSS 范围、异步渲染和常见陷阱。
通过命令行快速安装 component-fixtures AI 技能到你的开发环境
来源:microsoft/vscode。
Component fixtures render isolated UI components for visual screenshot testing via the component explorer. Fixtures live in src/vs/workbench/test/browser/componentFixtures/ and are auto-discovered by the Vite dev server using the glob src//.fixture.ts.
Use tools mcpcomponent-exp to list and screenshot fixtures. If you cannot see these tools, inform the user to them on.
Each fixture file exports a default defineThemedFixtureGroup(...). The file must end with .fixture.ts.
在创建或更新用于屏幕截图测试的组件固定装置时,或者在设计适合固定装置的 UI 组件时使用。涵盖固定文件结构、主题、服务设置、CSS 范围、异步渲染和常见陷阱。 来源:microsoft/vscode。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/microsoft/vscode --skill component-fixtures在创建或更新用于屏幕截图测试的组件固定装置时,或者在设计适合固定装置的 UI 组件时使用。涵盖固定文件结构、主题、服务设置、CSS 范围、异步渲染和常见陷阱。 来源:microsoft/vscode。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/microsoft/vscode --skill component-fixtures 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/microsoft/vscode