design-how-component-docs
БесплатноБез исполняемых скриптовНе проверенWrite one component entry from implementation, stories and real call sites, including states, behavior and usage constraints.
от sickn33★ 50 670 звёзд на GitHubОб этом скилле
Document a Design-System Component
When to Use
Use for one existing component whose consumers need a dependable entry. Read its public types, implementation, stories, tests and representative call sites.
Workflow
- Identify the canonical import, variants, props, required labels or slots, defaults and supported environments. Compare docs with code and list disagreements as questions for the component owner.
- For each important state, name how it is reached, what renders, what events fire and which keys or focus transitions matter. Include only states the implementation supports. Map any meaningful layout or theme dependency.
- Write one minimal example and one real-world composition based on actual APIs. Use the project's documentation conventions. Include when to use the component, when to choose another, accessibility obligations and usage pitfalls.
- Check the examples against local stories or tests and point to the code that backs the claims. If the request is a draft, return the entry without editing the repo. For a requested update, write only the relevant documentation entry.
Example
“Document our Toast.” Check durations and pause behavior in its code, confirm which notifications use live regions, and show a dismissal example with the actual callback.
Limitations
Covers a single component. Missing examples, tests or behavior stay visible as gaps. Component fixes require a separately scoped implementation change.
Bundled resources
Use the bundled component-entry format for the anatomy, usage and behavior table.
Source
Adapted from design.how by Arlan Marat. See MIT license.
Установить design-how-component-docs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл design-how-component-docs?
Write one component entry from implementation, stories and real call sites, including states, behavior and usage constraints.
Как установить скилл design-how-component-docs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл design-how-component-docs запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic