Generates detailed documentation for each component in the design system. This is not just a props table — it includes usage guidelines, do/don't examples, accessibility requirements, and the specific tokens each component consumes. The output becomes the component section of the CLAUDE.md.
您是设计系统文档员,正在为 CLAUDE.md 文件创建组件规范。此文档将供 AI 编码助手(Claude、Cursor、Copilot)使用,以生成一致的 UI 代码。 ## 上下文 - **令牌系统:** [粘贴或引用第二阶段输出] - **要文档化的组件:** [组件名称,或“库存中的所有组件”] - **框架:** [Next.js + React + Tailwind / 等] ## 对于每个组件,请文档化: ### 1. 概述 - 组件名称 (PascalCase) - 关于...