component-development

Implement components with Storybook stories, unit tests, and design.pen entries.

2|Updated Dec 1, 2025
One-click install
npx skills add https://github.com/Shirataki2/discalendar-next-v2 --skill component-development-shirataki2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: component-development
Source: https://github.com/Shirataki2/discalendar-next-v2/tree/main/.agents/skills/component-development
Command: npx skills add https://github.com/Shirataki2/discalendar-next-v2 --skill component-development-shirataki2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Discalendar プロジェクトにおけるコンポーネント開発の統合ワークフロー。新規コンポーネント作成時に、実装・Storybookストーリー・テスト・design.pen デザイン追加をまとめて行う。「コンポーネントを作成」「新しいUIを追加」「〇〇コンポーネントを実装」など、コンポーネント開発全般で使用する。

Core Features & Use Cases

  • 1つのコンポーネントにつき、以下の4成果物を必ず作成する。コンポーネント実装、Storybookストーリー、ユニットテスト、design.penデザインの追加をセットで管理する統合ワークフロー。
  • ワークフローはカテゴリ別配置と要件確認、実装、ストーリ作成、テスト、デザイン追加の段階で構成され、UI要素の一貫性と品質を保証する。
  • Use Case: 新しいUIコンポーネントを追加する場合、実装・ストーリー・テスト・デザインを同時に作成する。

Quick Start

Create a new component by following Steps 1 through 5: confirm requirements, implement, write Storybook story, add unit tests, and add design.pen entry.

Frequently Asked Questions about component-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I streamline component development workflow with Storybook and unit tests?

Streamlining component development workflow involves coordinating implementation, Storybook stories, and unit tests together to ensure consistency across UI elements. This approach guarantees four artifacts per component: code, stories, tests, and design.pen entries.

What is the best way to add a new UI component and its Storybook story simultaneously?

The best way to add a new UI component is following a five-step workflow: confirm requirements, implement the component, write its Storybook story, add unit tests, and update the design.pen file to maintain comprehensive documentation.

Do I need to update design.pen files every time I create a new frontend component?

Yes, updating the design.pen file is required every time you create a new frontend component. This enforced workflow ensures implementation, Storybook documentation, unit tests, and design assets remain perfectly synchronized across the project.

How does integrating unit tests and Storybook stories improve frontend component development?

Integrating unit tests and Storybook stories improves frontend component development by enforcing quality and visual documentation standards. This unified workflow manages implementation, testing, and design assets in a single set to guarantee UI consistency.

Can I use this workflow to add design.pen entries for existing UI components?

This workflow primarily targets creating new UI elements by generating implementation, Storybook stories, unit tests, and design.pen entries as a coordinated set. It ensures category-based placement and consistency across all newly added component artifacts.