Logo di Phoenix Storybook

Phoenix Storybook

OrganizzazionePopolare
Arize-ai
phoenix-storybook

Convenzioni per creare, modificare e rivedere storie Storybook fedeli alla produzione nel frontend Phoenix (js/app/stories, js/app/.storybook). Include tassonomia e titoli della barra laterale, vocabolario dei tag, struttura delle voci, griglie di opzioni, verifiche dei componenti, overlay, toast, temi, storie di dominio e configurazione di Storybook. Usalo ogni volta che intervieni su file `.stories.*` o `.mdx` di storie, fixture delle storie, decorator, helper in `stories/utils`, miniature, configurazione `.storybook/` o modifiche al frontend che aggiungono, modificano, spostano o rimuovono storie, incluse modifiche minori o meccaniche e revisioni di PR che riguardano le storie.

Panoramica

Pubblicato daArize-ai
Repositoryphoenix
Nome della skillphoenix-storybook
Stelle
11.8K
Fork
1.2K
File inclusi
16
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 16

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da Arize-ai su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Phoenix Storybook in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/Arize-ai/phoenix/tree/main/.agents/skills/phoenix-storybook
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Arize-ai/phoenix.git /tmp/phoenix
mkdir -p .claude/skills
cp -r /tmp/phoenix/.agents/skills/phoenix-storybook .claude/skills/phoenix-storybook
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Phoenix Storybook in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Phoenix Storybook non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Phoenix Storybook non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Phoenix Storybook

Stories exist to show how production components look and behave. This file holds the rules that apply to every story change and routes to focused references for the rest. Read only the references your task needs; each one is self-contained.

Apply it alongside phoenix-frontend, phoenix-design, and phoenix-typescript when those are relevant.

Core rules (always apply)

  1. Render production truth. Render the shipped component with its real types, providers, and behavior. Never write a lookalike inside a story file, and never invent content, states, controls, or behavior production does not support. If the production component cannot be rendered, delete the story rather than fake it. Mock only the narrow external boundary (network, Relay environment) that places the component in a real state.
  2. Three roots, grouped by subject. Every title starts with Design System/<Subject>/…, Domains/<Surface>/…, or Storybook/…. Subjects are what a reader is thinking about (Tables, Overlays, Feedback), never abstraction tiers (foundations / core / patterns). The subject and surface lists live in js/app/stories/_meta/taxonomy.ts. Adding a root or subject is a taxonomy decision: raise it, do not invent one.
  3. Titles match paths. Design System/Overlays/Popover lives at js/app/stories/design-system/overlays/Popover.stories.tsx. Leaves are spaced words; no & anywhere in a title.
  4. Tag every story on three axes, as plain string literals: provenance (legacy | updated), completeness (complete | incomplete, required on updated), human review (reviewed | unreviewed). New or rewritten stories are updated + unreviewed. Only a human reviewer sets reviewed — never an agent, however confident.
  5. One entry per piece of content. A file with one sidebar story tags it !dev. When all of a file's stories read well together on the Docs page, tag every one !dev so the Docs page is the component's only entry.
  6. Open on a compact Default, then the option grids. A foundational component shows its whole accepted option space, including options that have no styling.
  7. States are their own axis, crossed with other options in small pairwise OptionGrids — never appended as one more column beside content or variant options. pnpm lint:storybook rejects the mixed form.
  8. Layers are shown open. A menu, popover, tooltip, or dialog story shows the opened content, held open and non-dismissible; launch behavior gets exactly one separate Interaction story.
  9. Both themes, no horizontal scroll. Choose themeLayout deliberately; any grid with more than one cell column takes themeLayout: "column".
  10. No superfluous comments or docblocks. A story docblock renders on the Docs page; most stories need none, and a grid's labels are its description. A // comment must say something the file cannot.
  11. Removal goes through review. Propose each deletion or consolidation in writing and get an explicit ruling first; no bulk pruning.
  12. Run pnpm lint:storybook (from js/app) after any story change. It enforces titles, paths, tags, !dev, unused, Overview naming, and the state-axis rule. Passing it is necessary, not sufficient.

Route to the references

Read every row that matches the task. Paths are relative to this file.

TaskRead
Authoring or rewriting a design-system component's storiescomponent-audit, option-grids, entry-shape
Component with variable text or a list of itemscontent-length
Menus, popovers, tooltips, dialogs, submenus, or anything held openoverlays
Toasts or toast regionstoasts
Choosing themeLayout, fixing a story in Both mode, portaled-layer themingthemes
A story for one product surface (Domains/…), fixtures, mocks, many-state domain componentsdomain-stories
Choosing where an entry goes, adding a subject or subfoldertaxonomy
Creating, moving, or renaming a file or title; Overview pages; storySortfiles-and-titles
Writing or checking tags, !dev, unused, autodocstags
Writing a docblock or code comment in a story filedocblocks-and-comments
Merging entries, deleting stories, regenerating thumbnailsmerging-and-removal
Editing .storybook/ (manager, sidebar, preview, Docs page)storybook-config
Reviewing a PR or auditing a set of storiesreview, then the rows above for what it touches
Checking a story in a real browserverification

A design-system story does not need the domain reference, and a domain story does not need the Storybook configuration reference. Load what the change touches.

Workflow: authoring or rewriting a component entry

Copy this checklist and work through it:

- [ ] Read the component source; list what it accepts (component-audit)
- [ ] Place and title the file (taxonomy, files-and-titles)
- [ ] Compact `Default` first, then pairwise option grids (option-grids)
- [ ] Content-length and layer stories if the component has them
- [ ] Tags on all three axes; `!dev` per entry-shape
- [ ] Reread every docblock and comment you wrote; delete restatements
- [ ] `pnpm lint:storybook` passes
- [ ] Check `Both` mode for horizontal scroll and layer themes (verification)

The completeness tag records the audit: complete only when every item the audit listed appears or is explicitly excluded with a reason.

Keep this skill current

This skill is the durable home for Storybook conventions. When a maintainer settles how content is grouped, named, ordered, or sized, rejects a story shape, or names a failure mode — or when you find a rule here underspecified for the case in front of you — update the matching reference in the same change.

  • Write the principle, not the incident: state the rule so the next author can apply it without the conversation that produced it, and say what it rules out. A short concrete example from the codebase helps; dates and names do not.
  • Put a rule in the one reference a reader of that task would open. Promote it to Core rules only if nearly every story change needs it.
  • Keep references one level deep from this file, and add new ones to the routing table.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Phoenix Storybook?

Convenzioni per creare, modificare e rivedere storie Storybook fedeli alla produzione nel frontend Phoenix (js/app/stories, js/app/.storybook). Include tassonomia e titoli della barra laterale, vocabolario dei tag, struttura delle voci, griglie di opzioni, verifiche dei componenti, overlay, toast, temi, storie di dominio e configurazione di Storybook. Usalo ogni volta che intervieni su file `.stories.*` o `.mdx` di storie, fixture delle storie, decorator, helper in `stories/utils`, miniature, configurazione `.storybook/` o modifiche al frontend che aggiungono, modificano, spostano o rimuovo...

Perché usare Phoenix Storybook su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Phoenix Storybook è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Phoenix Storybook in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/Arize-ai/phoenix/tree/main/.agents/skills/phoenix-storybook. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Phoenix Storybook?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Phoenix Storybook?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Phoenix Storybook: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Phoenix Storybook è gratuita?

È pubblicata su GitHub da Arize-ai. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇