Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

write-component-docs

Skill by digital-go-jp

Writes Japanese component documentation for Storybook projects as standalone MDX files. Covers a React-first section structure, Props tables, and migrating content from the HTML reference's MDX. Aimed at developers maintaining component docs in this project.

  • Score 73
  • 695 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install write-component-docs

Built from the published package, never by AI.

git clone --depth 1 https://github.com/digital-go-jp/design-system-example-components-react /tmp/design-system-example-components-react && mkdir -p ~/.claude/skills && cp -r /tmp/design-system-example-components-react/.agents/skills/write-component-docs ~/.claude/skills/write-component-docs

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install write-component-docs in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The write-component-docs skill tells an AI assistant how to author component documentation in a Storybook project. Docs go in a standalone <Name>.mdx file next to the component's stories file, and the prose is written in Japanese. The skill sets a React-first section order: a leading Canvas and Controls block, remaining Stories, a specification section with Props tables, a usage section, and references. It also explains how to attach the MDX file with Meta, remove the autodocs tag, and wrap content in Unstyled.

It includes a short addendum on moving content from the HTML reference's MDX into this structure without copying its layout. A pre-flight checklist covers blank lines, heading levels, table formatting, and running lint and Storybook checks. It is aimed at developers who maintain component docs in a React Storybook project that draws on the digital-go-jp HTML reference.

Written from the project's SKILL.md and checked against it.

What it can do

  • Standalone MDX docsPlaces component docs in a <Name>.mdx file next to the component's stories, attached with Meta.
  • React-first structureProvides a fixed section order for writing docs for any component.
  • Props tablesWrites raw JSX tables with Props, 説明 and デフォルト columns, marking required props as (必須).
  • Canvas and Controls usageUses Canvas and Controls pointed at the Playground story instead of Primary.
  • Usage recipesStructures 使い方 with a basic snippet and recipe-style subsections.
  • HTML reference migrationExplains how to carry content from the HTML reference's MDX into the React structure.
  • Pre-flight checklistLists checks for file placement, wrappers, headings, tables, code samples and Storybook rendering.

What you need

  • Storybook with @storybook/addon-docs
  • npm scripts for lint:markup and storybook
  • Markuplint

Try asking

  • Write the MDX docs for my Button component in Japanese using the React-first structure.
  • Convert the HTML reference MDX for this component into the React docs layout.
  • Add a Props table with required props marked (必須) to the Alert component docs.

Good to know

  • Docs must be written in Japanese, with identifiers kept in English.
  • Pipe-style Markdown tables do not render because the GFM plugin is not enabled.
  • Bare Primary or Controls blocks render nothing in this project's setup.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/write-component-docs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to write-component-docs

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

write-component-docs: common questions

Where should component docs live in this project?

Docs go in src/components/<Name>/<Name>.mdx, next to <Name>.stories.tsx. The stories file only defines Meta, Stories and args.

Why remove tags autodocs from the stories file?

Keeping the autodocs tag creates a duplicate, conflicting Docs entry once a docs page is manually attached through the MDX file.

Should I copy the HTML reference's MDX layout?

No. The skill says to use the HTML MDX only for content such as variant tables and usage recipes, and to fit it into the React-first section order.

How do I install write-component-docs?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is write-component-docs free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is write-component-docs safe to use?

It scores 73 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to write-component-docs?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

write-component-docs Install

Add to stack

Loading.