返回 Skill 列表
extension
分类: 开发与工程无需 API Key

generate-component-documentation

为新组件生成文档。在编写文档、记录组件或创建组件文档时使用。

person作者: jakexiaohubgithub

Instructions

When generating documentation for a new component:

  1. Follow existing patterns: Use the documentation styles found in the docs folder (examples: button.md, accordion.md, etc.)
  2. Reference implementations: Base the documentation on the same-named story implementation in crates/story/src/stories
  3. API references: Use markdown code blocks 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)