Generate Component Documentation

Based on existing docs styles and specific API implementations, and referencing same name stories, generate comprehensive documentation for the new component.

$ インストール

git clone https://github.com/longbridge/gpui-component /tmp/gpui-component && cp -r /tmp/gpui-component/.claude/skills/generate-docs ~/.claude/skills/gpui-component

// tip: Run this command in your terminal to install the skill


name: Generate Component Documentation description: Based on existing docs styles and specific API implementations, and referencing same name stories, generate comprehensive documentation for the new component.

Rules

  • Based on existing documentation styles in the docs folder, examples: button.md, accordion.md, etc.
  • Based on same name story implementation in crates/story/src/stories, and refer the component API accurately.
  • Use markdown code with link to reference the component API to docs.rs if applicable.