Favicon of use-component-explorer

use-component-explorer Skill

AI Agent SkillTypeScriptOpen source

Read this skill when the project uses the component explorer and you deal with UI (fixtures, screenshots, visual testing, read when adding/changing UI). Published by microsoft in vscode-team-kit.

What is use-component-explorer Skill?

Read this skill when the project uses the component explorer and you deal with UI (fixtures, screenshots, visual testing, read when adding/changing UI). Published by microsoft in vscode-team-kit. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
35/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Testing
  • Data analysis
  • Design and media
  • Writing
  • Testing use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use use-component-explorer Skill

  • Use it for testing.
  • Use it for data analysis.
  • Use it for design and media.
  • Use it for writing.

Built with

TypeScriptCopy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/vscode-team-kit
  • Skill file: component-explorer/skills/use-component-explorer/SKILL.md

What it does

Read this skill when the project uses the component explorer and you deal with UI (fixtures, screenshots, visual testing, read when adding/changing UI).

Skill instructions

Skill: Use Component Explorer Writing Fixtures Fixture files end in .fixture.ts or .fixture.tsx and are auto-discovered by the Vite plugin. Core Pattern Every fixture has a render function that receives a container DOM element and a RenderContext: ts import { defineFixture } from '@vscode/component-explorer'; export default defineFixture({ render: (container) = { // Render your component into container return { dispose: () = { / cleanup / } }; }, }); Render Context The second argument to render provides: - signal — AbortSignal for cancellation (check signal.aborted or listen to 'abort') ts defineFixture({ render: async (container, { signal }) = { const data = await fetch('/api/data', { signal }); container.textContent = await data.text(); }, }); React Fixtures tsx import { createRoot } from 'react-dom/client'; import { defineFixture } from '@vscode/component-explorer'; import { MyComponent } from './MyComponent'; export default defineFixture({ render: (container) = { const root = creat

Explore related resources

Frequently asked questions

What is use-component-explorer?

use-component-explorer is a open-source AI agent skill with Copy skill directory. Read this skill when the project uses the component explorer and you deal with UI (fixtures, screenshots, visual testing, read when adding/changing UI).

Who is use-component-explorer best for?

use-component-explorer is best for reusing agent instructions, scripts, and references, testing workflows, data analysis workflows, design and media workflows.

How do I install use-component-explorer?

Install or run use-component-explorer using Copy skill directory. Check use-component-explorer for the latest setup command.

Is use-component-explorer actively maintained?

use-component-explorer may need a closer maintenance check before production use.

Share:

Stars
25
Forks
5
Last commit
15 days ago
Repository age
4 months
License
MIT

Auto-fetched from GitHub.

Similar to use-component-explorer