react-component-documentation

Generate MDX component documentation with live demos from TypeScript types.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/Harigithub11/sentry --skill react-component-documentation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-component-documentation
Source: https://github.com/Harigithub11/sentry/tree/main/.agents/skills/react-component-documentation
Command: npx skills add https://github.com/Harigithub11/sentry --skill react-component-documentation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates creation and maintenance of MDX-based documentation for Sentry components, ensuring consistent structure and live demos.

Core Features & Use Cases

  • Automated MDX file generation from component metadata.
  • Live demos generated from TypeScript types via type-loader.
  • Accessibility guidance and See Also references.
  • Doc generation for design-system components and stories.

Quick Start

Ask to document a component or add stories, and the tool will generate an MDX file with live demos and API docs.

Frequently Asked Questions about react-component-documentation

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

FAQPage Schema
How do I automate MDX component documentation with live demos?

Automate MDX component documentation by generating files from component metadata, creating live demos, and extracting API docs directly from TypeScript types. This ensures consistent structure and up-to-date design-system docs without manual writing.

What is the best way to generate MDX stories from TypeScript types?

Generate MDX stories by using a type-loader to parse TypeScript types and automatically produce API documentation. This approach creates live demos and satisfies frontmatter requirements like name and description for your design-system components.

Do I need TypeScript to generate component docs with live demos?

Yes, TypeScript is required to generate live demos and API docs automatically. The tool uses your TypeScript types via a type-loader to extract component metadata and build the corresponding MDX documentation pages.

Can I use this to document a design-system component and add stories?

Yes, you can document a design-system component and add stories. The tool generates an MDX file that includes frontmatter, optional resources, accessibility guidance, See Also references, and live demos for the component.

What is included in the generated MDX file for component documentation?

The generated MDX file includes required frontmatter (name, description), optional resources, accessibility guidance, See Also references, and live demos with API docs automatically extracted from TypeScript types.

Why manually write component docs when you can automate MDX generation?

Automating MDX generation eliminates manual writing errors and ensures consistent structure across design-system docs. It automatically extracts API docs from TypeScript types and generates live demos, saving time and maintaining documentation accuracy.