什麼是 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