check-doc-component-consistency

Compare component source APIs against documentation and generate minimal diff reports.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill verifies that component documentation matches the actual source implementation, flagging discrepancies in props, events, slots, methods, default values, and naming while avoiding large-scale migrations or structure changes.

Core Features & Use Cases

  • Source-driven comparison: uses component source as truth and aligns docs to code.
  • Fine-grained diff reporting: highlights missing or mismatched API details, with minimal corrective suggestions.
  • Safe, targeted fixes: proposes small, non-invasive changes to doc tables and parameter names.

Quick Start

Inspect the component API in source and generate a minimal, actionable diff to align documentation with implementation.

Frequently Asked Questions about check-doc-component-consistency

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

FAQPage Schema
How do I check if my component documentation matches the source code?

To check if component documentation matches the source code, analyze the component API in source and generate a minimal, actionable diff to align documentation with implementation.

How do I fix mismatches between component props and their documented default values?

To fix mismatches between component props and their documented default values, generate minimal, non-invasive corrective suggestions that update documentation tables to stay within the existing structure.

What is the best way to keep frontend component docs in sync with code changes?

Keeping frontend component docs in sync with code changes is best handled by using the component source as the source of truth and aligning docs to code through fine-grained diff reporting of missing or mismatched API details.

Does component documentation linting support events, slots, and methods?

Yes, component documentation linting supports events, slots, and methods by analyzing these specific API details alongside props and default values to identify gaps and resolve inconsistencies.

Can I automatically update component API docs without changing the file structure?

Yes, you can automatically update component API docs without changing the file structure because the process proposes safe, targeted fixes with small, non-invasive changes to doc tables and parameter names only.

When should I avoid using automated documentation consistency checks?

You should avoid using automated documentation consistency checks when performing large-scale migrations or requiring structural changes, as the tool specifically targets typical component API doc issues with minimal, targeted remedies.