Toolverse
All skills

material-component-doc

by bytedance

用于 FlowGram 物料库组件文档撰写的专用技能,提供组件文档生成、Story 创建、翻译等功能的指导和自动化支持

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
bytedance
Category
Frontend

About this skill

用于 FlowGram 物料库组件文档撰写的专用技能,提供组件文档生成、Story 创建、翻译等功能的指导和自动化支持

How to use

  1. Zlokalizuj kod źródłowy komponentu w katalogu packages/materials/form-materials/src/components, używając narzędzia Glob do wyszukania pliku i potwierdzenia struktury katalogów (hooks.ts, context.tsx itp.).
  2. Zbierz informacje o komponencie od użytkownika: główne scenariusze użycia, 1-2 przykłady kodu, specjalne konfiguracje i czy potrzebne są ilustracje.
  3. Przeanalizuj kod źródłowy, aby zrozumieć interfejsy Props (typy, wartości domyślne, opisy), funkcjonalność, zależności od API FlowGram, Hooks i Context, oraz specjalną logikę (warunkowe renderowanie, efekty uboczne).
  4. Utwórz komponent Story w katalogu apps/docs/components/form-materials/components zgodnie z konwencją kebab-case dla nazwy pliku i PascalCase + "Story" dla eksportów (np. BasicStory, WithSchemaStory).
  5. Napisz dokumentację w formacie MDX na podstawie szablonu ./templates/material.mdx i umieść ją w apps/docs/src/zh/materials/components/{nazwa-komponentu}.mdx dla wersji chińskiej.
  6. Przeprowadź kontrolę jakości: sprawdź czy Story działa, kody są dokładne, tabela API kompletna, linki działają, ścieżki obrazów prawidłowe, składnia Mermaid poprawna. Po zatwierdzeniu dokumentacji chińskiej przystąp do tłumaczenia na angielski do katalogu apps/docs/src/en/materials/components/.

Related skills

brainstorming

by obra

Use when creating or developing, before writing code or implementation plans - refines rough ideas into fully-formed designs through collaborative questioning, alternative exploration, and incremental validation. Don't use during clear 'mechanical' processes

Frontend
49170

theme-factory

by anthropics

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

Frontend
40139

zustand

by lobehub

Zustand state management guide. Use when working with store code (src/store/**), implementing actions, managing state, or creating slices. Triggers on Zustand store development, state management questions, or action implementation.

Frontend
36126

shadcn-ui-setup

by maneeshanif

Install and configure Shadcn/ui component library with Radix UI primitives, Aceternity UI effects, set up components, and manage the component registry. Use when adding Shadcn/ui to a Next.js project or installing specific UI components for Phase 2.

Frontend
23167

angular

by sickn33

Modern Angular (v20+) expert with deep knowledge of Signals, Standalone Components, Zoneless applications, SSR/Hydration, and reactive patterns. Use PROACTIVELY for Angular development, component architecture, state management, performance optimization, and migration to modern

Frontend
2656

screenshot-to-code

by OneWave-AI

Convert UI screenshots into working HTML/CSS/React/Vue code. Detects design patterns, components, and generates responsive layouts. Use this when users provide screenshots of websites, apps, or UI designs and want code implementation.

Frontend
94209