본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)91k · #1324

component-docs

하는 일

이 스킬은 Storybook을 사용하는 프로젝트의 컴포넌트를 AI가 조회하도록 돕습니다. 속성과 사용 예제를 포함합니다. 다시 만드는 대신 기존 컴포넌트를 재사용하려는 개발자를 위한 것입니다.

사용하는 경우

  • ✓새 것을 만들기 전에 이미 어떤 컴포넌트가 있는지 알고 싶을 때.
  • ✓컴포넌트가 어떤 속성을 받고 어떻게 쓰이는지 확인해야 할 때.
  • ✓팀 지침이 AI에게 기존 컴포넌트를 재사용하라고 요구할 때.

스킬 링크

https://github.com/storybookjs/storybook/blob/next/code/lib/claude-plugin/skills/component-docs/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/storybookjs/storybook/blob/next/code/lib/claude-plugin/skills/component-docs/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“새 버튼을 만들기 전에, 우리에게 이미 있는 버튼 컴포넌트를 보여 주고 어떻게 쓰이는지 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 프로젝트에서 Storybook 명령을 실행해 컴포넌트, 속성, 사용 예제를 나열하는 정보를 얻고, 그것으로 답하거나 컴포넌트를 재사용합니다. Storybook 11.0 이상이 필요하며, 그렇지 않으면 AI는 소스 파일을 읽습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Prerequisites:

  1. Storybook must be installed in the project. If it is not, read the components' source files instead.
  2. Storybook must be 11.0 or later. An 11.0 prerelease (11.0.0-alpha.x) or a canary build (0.0.0-pr-*) also counts. If it is older, invoke the /storybook-upgrade skill only after the user explicitly approves an upgrade; until then, read the components' source files instead.

Run every Storybook CLI command from the package where Storybook is installed (in a monorepo often a leaf package such as packages/ui).

If the sandbox blocks network access, request escalated permissions for Storybook CLI commands.

Run npx storybook skills component-docs and follow its output: it lists the commands that show this project's components, props, and usage examples, and when to use them.

자주 묻는 질문

Storybook이 설치되어 있어야 하나요?

네. 설치되어 있지 않으면 스킬은 컴포넌트의 소스 파일을 읽으라고 말합니다.

어떤 Storybook 버전이 필요한가요?

11.0 이상이며, 11.0 프리릴리스 빌드도 포함합니다. 이전 버전은 먼저 승인받은 업그레이드가 필요합니다.

네트워크 접근이 필요한가요?

때때로 그렇습니다. 샌드박스가 네트워크 접근을 막으면 스킬은 Storybook 명령에 대한 권한을 요청하라고 말합니다.

상세 정보

작성자의 원본 설명

Look up the components of a project with Storybook, with their props and usage examples, to answer questions about them or to reuse them instead of building duplicates. Use when the project's agent instructions (such as AGENTS.md) or the user ask for it. For a UI change, use ui-workflow, which includes the same component lookup.

repo: storybookjs/storybook

인기도

GitHub 스타
91k
순위
#1324
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬