Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.
npx skills add longbridge/gpui-component --skill "generate-component-documentation"
Install specific skill from multi-skill repository
# Description
Generate documentation for new components. Use when writing docs, documenting components, or creating component documentation.
# SKILL.md
name: generate-component-documentation
description: Generate documentation for new components. Use when writing docs, documenting components, or creating component documentation.
Instructions
When generating documentation for a new component:
- Follow existing patterns: Use the documentation styles found in the
docsfolder (examples:button.md,accordion.md, etc.) - Reference implementations: Base the documentation on the same-named story implementation in
crates/story/src/stories - API references: Use markdown
codeblocks with links to docs.rs for component API references when applicable
Examples
The generated documentation should include:
- Component description and purpose
- Props/API documentation
- Usage examples
- Visual examples (if applicable)
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.