migrate-component-doc

Migrate component Markdown docs to a unified spec with diff and validation results.

284|31|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/wot-ui/wot-ui --skill migrate-component-doc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-component-doc
Source: https://github.com/wot-ui/wot-ui/tree/main/.agents/skills/migrate-component-doc
Command: npx skills add https://github.com/wot-ui/wot-ui --skill migrate-component-doc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill migrates Markdown documentation for components into a unified new specification, aligning API references, Demo structure, and versioning rules.

Core Features & Use Cases

  • Align API sections (Attributes/Events/Slots/Methods) with the component's real surface.
  • Reorganize Demo sections to match the create-demo-page baseline and component semantics.
  • Merge descriptions and optional values into concise, unified option columns, and migrate minimum version markings.
  • Produce a diff report and validation results to verify documentation accuracy against the component source.

Quick Start

Run migrate-component-doc on the target component's Markdown file to generate a migration-ready document aligned with the new spec.

Frequently Asked Questions about migrate-component-doc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate component documentation to a unified specification?

Migrating component documentation involves aligning API references, Demo structure, and versioning rules to a unified spec. The process covers Attributes, Events, Slots, Methods, Demo ordering, and minimum-version markings, producing a diff list and validation results for accuracy.

What is component doc API alignment and how does it work?

Component doc API alignment matches documentation sections such as Attributes, Events, Slots, and Methods with the component's actual source surface. It merges descriptions and optional values into concise unified option columns, ensuring the Markdown reflects the real implementation.

How do I reorganize demo pages in component Markdown files?

You reorganize demo pages by matching the create-demo-page baseline and component semantics. This migration step reorders Demo sections to align with the unified specification, ensuring structural consistency across all component documentation.

Can I validate Markdown documentation accuracy against the component source?

Yes, you can validate documentation accuracy by producing a diff report and validation results. The migration workflow compares the aligned Attributes, Events, Slots, and Methods sections against the component source to verify traceability and correctness.

What is the best way to update minimum version markings in component docs?

The best way to update minimum version markings is through an automated migration workflow that migrates versioning rules alongside API sections. This ensures traceability and produces a diff list to verify all version changes against the unified specification.

Why does my component Markdown documentation lack traceability after spec updates?

Documentation lacks traceability when API sections and Demo structure are not aligned with the component's real surface. Applying a unified migration workflow generates a diff list and validation results to verify accuracy and restore traceability against the source.