Langsung ke konten
Skillpedia
Website & UI (frontend)91k · #1328

ui-workflow

Fungsinya

Skill ini memandu AI membuat perubahan antarmuka pengguna dalam proyek yang memakai Storybook. Skill ini mencakup pemakaian ulang komponen, penulisan dan pembaruan cerita, menjalankan tes cerita, serta menyiapkan tinjauan. Skill ini ditujukan bagi tim frontend yang bekerja dengan Storybook.

Kapan dipakai

  • ✓Saat Anda ingin perubahan UI dibuat dan diperiksa melalui cerita Storybook.
  • ✓Saat Anda membuat, mengubah, atau menghapus komponen frontend dan ceritanya perlu tetap sinkron.
  • ✓Saat Anda ingin tinjauan visual atas perubahan UI dibagikan kepada tim.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/storybookjs/storybook/blob/next/code/lib/claude-plugin/skills/ui-workflow/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Tambahkan status loading pada kartu produk kami, perbarui ceritanya, dan siapkan tinjauan yang bisa saya lihat.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

AI mengikuti urutan tetap: mencari komponen yang ada, menulis atau memperbarui cerita, menjalankan tes cerita, lalu menyiapkan tinjauan. Beberapa langkah memerlukan server dev Storybook yang berjalan dari folder paket yang benar.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Prerequisites:

  1. Storybook must be installed in the project. Invoke the /storybook-init skill to set up Storybook, but only if the user explicitly invoked this skill and approves a Storybook installation.
  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. Treat a request to set up or install Storybook as approval to perform any required Storybook upgrade. For other requests, invoke the /storybook-upgrade skill only after the user explicitly approves an upgrade.

Run the Storybook dev server and every Storybook CLI command from the same working directory: the package where Storybook is installed (in a monorepo often a leaf package such as packages/ui).

If the sandbox blocks network access or ports, request escalated permissions for Storybook CLI commands; otherwise the dev server can fail in confusing ways (for example, it finds no free port to bind to).

Run npx storybook skills ui-workflow and read the output in its entirety to get the mandatory, ordered workflow for working on UI changes, writing stories, and keeping stories in sync with every frontend component you create, modify, or delete. This workflow explains how to write stories, preview stories, and display a curated Storybook review.

Some commands require a running Storybook dev server:

  1. Reuse a dev server that already serves this project's Storybook (probe the URL, usually http://localhost:6006) instead of starting a second one. Otherwise start one in the background, using the project's preferred package manager and existing package.json Storybook script (e.g. npm run storybook) instead of inventing a new command whenever possible. Wait until the URL responds before running commands that need it.
  2. The dev server is part of the deliverable, not a temporary verification tool: leave it running when your work is done so the user can keep browsing stories. Never kill it after verification.
Pertanyaan umum

Apakah perlu server Storybook yang sedang berjalan?

Sebagian langkah memerlukannya. Skill menyebutkan server dev harus berjalan dari folder yang sama dengan perintah Storybook.

Bagaimana jika sandbox memblokir port?

Skill menyebutkan untuk meminta izin yang ditingkatkan atas perintah Storybook, karena server dev bisa gagal dengan cara yang membingungkan.

Apakah ia memasang Storybook?

Hanya jika Anda secara eksplisit memanggil skill ini dan menyetujui pemasangan.

Detail

Deskripsi asli dari pembuat

Storybook's workflow for UI changes in a project with Storybook - look up the components to reuse, write and update stories, run story tests, and publish a review of the result. Also shows existing components or stories in a review. Use when the project's agent instructions (such as AGENTS.md) or the user ask for it.

repo: storybookjs/storybook

Popularitas

Bintang GitHub
91k
Peringkat
#1328
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa