Based on existing docs styles and specific API implementations, and referencing same name stories, generate comprehensive documentation for the new component.
Installation
$skills install @longbridge/generate-component-documentation
Claude Code
Cursor
Copilot
Codex
Antigravity
Details
Repositorylongbridge/gpui-component
Path.claude/skills/generate-docs/SKILL.md
Branchmain
Scoped Name@longbridge/generate-component-documentation
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
skills listSkill Instructions
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
docsfolder, 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
codewith link to reference the component API to docs.rs if applicable.