Create Component Doc banner
equinor equinor

Create Component Doc

Documentation community

Description

# Create Component Documentation Restructure the raw content in **$ARGUMENTS** into a properly formatted component doc for the Equinor Design System. > **Canonical reference:** [`documentation/agent-instructions/COMPONENT_DOC_STYLE.md`](../../documentation/agent-instructions/COMPONENT_DOC_STYLE.md) — tone of voice, formatting conventions (British English, no em-dashes, admonitions), section order, output template, Storybook iframes workflow, sidebar registration, and the verification checklist

Installation

Installs to ~/.claude/commands/equinor-design-system-create-component-doc.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/equinor/design-system/HEAD/.claude/commands/create-component-doc.md -o ~/.claude/commands/equinor-design-system-create-component-doc.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository