Back to Skills

component-guidelines-docs

Generate comprehensive component guideline documentation for SEED Design System. Use when creating or updating design guideline documentation in ./docs/content/docs/components directory. This skill helps create high-quality documentation similar to action-button.mdx.

825stars41forksUpdated 2/10/2026

Security Assessment

Safe(100/100)
Security Score100/100

About component-guidelines-docs

The 'component-guidelines-docs' skill is designed to generate comprehensive component guideline documentation for the SEED Design System. It simplifies the process of creating or updating design guidelines for various components, ensuring consistency and quality. By automating the extraction of props information from Rootage YAML files, this skill saves time and minimizes errors when writing detailed design documents. It is especially useful for ensuring that design documentation stays up-to-date with system specifications.

This skill features multiple capabilities including the automatic generation of component documentation based on predefined templates, which can be either simple or comprehensive. The tool extracts necessary details such as component ID, props, available variants, sizes, and layout configurations from YAML files, and then uses this data to fill out structured documentation in markdown format. For more in-depth documents, the user can include sections like Anatomy, Guidelines, Comparison with other components, and V2 differences.

The main use cases for this skill are during the initial creation of a component's guidelines, updating existing documentation, or adding migration guides between versions. This is particularly targeted at design and documentation teams within organizations that rely on standardized and structured component documentation to maintain consistency across their design systems.

FAQ

What is the purpose of this skill?

This skill helps generate consistent, high-quality component guideline documentation for the SEED Design System by automating the extraction of relevant information from Rootage YAML files.

What are the main features of this skill?

The skill automatically extracts component details like props, variants, sizes, and layout from YAML files and generates structured markdown documentation. It supports both simple and comprehensive documentation formats, and can include sections such as Anatomy, Guidelines, and Comparison.

How does the skill handle YAML files?

The skill reads Rootage YAML files located in the specified directory, extracting necessary component details like available props, variants, sizes, and states, and then uses this data to create the documentation.

Can I customize the documentation sections?

Yes, if you choose the 'comprehensive' documentation type, you can specify custom sections like Anatomy, Guidelines Topics, Comparison, and V2 Differences to be included in the generated documentation.

Are there any prerequisites for using this skill?

The required prerequisite is that the component's Rootage YAML file must exist in the correct directory (/packages/rootage/components/{component-id}.yaml).

Install component-guidelines-docs

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill