Skip to content

Conversation

@toothlessdev
Copy link
Owner

No description provided.

@gemini-code-assist
Copy link

Summary of Changes

Hello @toothlessdev, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 Pull Request는 Storybook과 AI 코딩 도구 간의 통합을 탐구하는 새로운 블로그 게시물을 도입합니다. 이 게시물은 개발자들이 Storybook MCP를 활용하여 컴포넌트 문서화를 자동화하고 AI가 UI 컴포넌트를 구조적으로 이해하도록 돕는 방법을 안내하여, AI 지원 개발 워크플로우를 향상시키는 것을 목표로 합니다.

Highlights

  • 새로운 블로그 게시물 추가: Storybook MCP(Model Context Protocol)를 활용하여 컴포넌트 문서화를 자동화하고 AI 코딩 도구의 컨텍스트로 활용하는 방법에 대한 새로운 블로그 게시물이 추가되었습니다.
  • Storybook MCP 소개 및 기능: 게시물은 Storybook MCP의 개념을 소개하고, 전체 컴포넌트/문서 목록 조회, 특정 컴포넌트 상세 문서 조회, 스토리 미리보기 렌더링, 스토리 작성 규칙 강제 등 네 가지 주요 기능을 자세히 설명합니다.
  • Storybook MCP 설정 가이드: MCP 애드온 설치, Storybook 설정 파일(main.ts) 업데이트, 그리고 Antigravity, Claude Code, Cursor와 같은 다양한 AI 클라이언트와 MCP 서버를 연결하는 방법을 포함한 단계별 설정 가이드가 제공됩니다.
  • 게시물 메타데이터 업데이트: 새로운 블로그 게시물의 메타데이터가 data/posts.json 파일에 추가되었으며, 기존 게시물의 createdAt 날짜가 업데이트되고 일부 게시물의 순서가 조정되었습니다.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

안녕하세요. Storybook MCP를 활용한 컴포넌트 문서화 자동화에 대한 PR 잘 보았습니다. 새로운 블로그 포스트를 통해 유용한 정보를 공유해주셔서 감사합니다. 코드 변경 사항에 대해 몇 가지 개선점을 제안 드립니다. 마크다운 파일에서는 시맨틱 마크업 개선을 위해 <br> 태그를 이용한 공백 추가와 인라인 스타일 사용을 지양하는 방향을 제안했습니다. 또한, data/posts.json 파일에서 포스트 순서가 변경된 점을 바탕으로, 생성 스크립트의 정렬 로직을 보다 안정적으로 개선할 수 있는 방법을 제시했습니다. 자세한 내용은 각 파일에 남긴 주석을 참고해주세요.

Storybook MCP 설정법에 대해서만 빠르게 읽고 싶다면<br>하단 ["Storybook MCP 설정하기" 섹션](#storybook-mcp-설정하기) 로 바로 이동하세요.
:::

<br><br>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

<br><br> 태그를 사용하여 수직 간격을 추가하는 것은 시맨틱 마크업 원칙에 어긋날 수 있습니다. 여백은 CSS로 관리하는 것이 가장 좋습니다. 이 태그들을 제거하고, 필요한 경우 CSS를 통해 문단 간의 간격을 조정하는 것을 고려해보세요. 이렇게 하면 마크다운의 가독성을 높이고 스타일과 콘텐츠를 분리할 수 있습니다. 이 문제는 40, 107, 219번째 줄에서도 발견됩니다.

Comment on lines +186 to +189
<div style="display: flex; gap: 12px; margin-top: 10px; margin-bottom: 10px;">
<img src="./img/storybook-mcp/1.png" style="width:50%; object-fit:cover; display:block;"/>
<img src="./img/storybook-mcp/2.png" style="width:50%; object-fit:cover; display:block;"/>
</div>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

마크다운 파일 내에 인라인 스타일을 직접 사용하는 것은 유지보수를 어렵게 만들 수 있습니다. 스타일과 콘텐츠를 분리하기 위해, 관련 스타일을 별도의 CSS 파일에 클래스로 정의하고 마크다운에서는 해당 클래스를 div에 적용하는 것을 권장합니다. 예를 들어, .image-gallery { display: flex; gap: 12px; ... } 와 같은 클래스를 정의하여 사용할 수 있습니다. 이렇게 하면 스타일 재사용이 용이해지고, 마크다운 파일이 더 깔끔해집니다.

Comment on lines 182 to 199
{
"url": "/posts/React/build-react-1",
"url": "/posts/Web/indexed-db",
"frontmatter": {
"title": "DIY React 1 - JSX 마크업을 Virtual DOM 객체로 변환하기",
"title": "IndexedDB 를 TypeOrm 처럼 사용하기",
"createdAt": "2025-10-07T00:00:00.000Z",
"category": "React",
"description": "React의 핵심 개념과 동작 원리를 이해하기 위해, React를 직접 구현해보는 시리즈의 첫 번째 글입니다. 이번 글에서는 JSX 마크업을 Virtual DOM 객체로 변환하는 과정을 다룹니다."
"category": "Web",
"description": "IndexedDB 는 브라우저 내장 데이터베이스로, 대용량 데이터를 클라이언트에 저장할 수 있습니다. 이 글에서는 TypeOrm 스타일의 추상화를 통해 IndexedDB 를 더 쉽게 사용하는 방법을 소개합니다."
}
},
{
"url": "/posts/Web/indexed-db",
"url": "/posts/React/build-react-1",
"frontmatter": {
"title": "IndexedDB 를 TypeOrm 처럼 사용하기",
"title": "DIY React 1 - JSX 마크업을 Virtual DOM 객체로 변환하기",
"createdAt": "2025-10-07T00:00:00.000Z",
"category": "Web",
"description": "IndexedDB 는 브라우저 내장 데이터베이스로, 대용량 데이터를 클라이언트에 저장할 수 있습니다. 이 글에서는 TypeOrm 스타일의 추상화를 통해 IndexedDB 를 더 쉽게 사용하는 방법을 소개합니다."
"category": "React",
"description": "React의 핵심 개념과 동작 원리를 이해하기 위해, React를 직접 구현해보는 시리즈의 첫 번째 글입니다. 이번 글에서는 JSX 마크업을 Virtual DOM 객체로 변환하는 과정을 다룹니다."
}
},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

이 JSON 파일은 스크립트로 자동 생성되는 것으로 보입니다. createdAt이 동일한 포스트("IndexedDB 를 TypeOrm 처럼 사용하기"와 "DIY React 1...")의 순서가 변경된 것을 확인했습니다. 이는 JavaScript의 sort() 메서드가 불안정(unstable)하기 때문일 수 있습니다. 생성 날짜가 같은 포스트의 순서가 의도치 않게 변경되는 것을 방지하려면, scripts/generate-posts.mjs 파일의 정렬 로직에 제목(title)과 같은 2차 정렬 기준을 추가하여 안정적인 정렬을 구현하는 것이 좋습니다.

@toothlessdev toothlessdev merged commit 983ecd1 into main Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants