pattern-library
Define reusable interaction and composition patterns with anatomy, behavior, states, accessibility, variants, content guidance, and selection criteria beyond…
от Dadmin88★ 52 звезды на GitHub
Установить pattern-library в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Pattern Library
Use when teams repeatedly solve the same multi-component interaction or layout problem.
Procedure
- Identify repeated user problems such as forms, search or filter, tables, navigation, empty states, onboarding, confirmation, or other recurring compositions.
- Document the problem and when the pattern should or should not be used before showing its visual form.
- Define anatomy and component relationships, including optional and required regions and content responsibilities.
- Specify interaction behavior, keyboard and focus expectations, responsive changes, loading, error, empty, and success states, and accessibility considerations.
- Define variants only for recurring legitimate differences rather than every one-off customization request.
- Provide realistic examples with content and edge cases that reveal how the pattern behaves under stress.
- Map the pattern to implementation components and tokens and identify extension points or escape hatches.
- Validate adoption through real product use and revise patterns that teams routinely bypass for good reasons.
Decision rules
- A pattern library solves recurring user and design problems, not merely catalogs screenshots.
- Patterns need selection criteria and anti-pattern guidance.
- Realistic content and edge states are part of the pattern.
- Repeated escape hatches may indicate the pattern is too rigid or scoped incorrectly.
Quality gate
The pattern is ready when teams know when to use it, anatomy and behavior are complete across important states, accessibility and responsive behavior are specified, implementation mapping is clear, and real product use demonstrates that it reduces reinvention without suppressing legitimate variation.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл pattern-library?
Define reusable interaction and composition patterns with anatomy, behavior, states, accessibility, variants, content guidance, and selection criteria beyond individual components.
Как установить скилл pattern-library?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pattern-library запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop 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…
internal-comms
AnthropicA 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…
skill-development
AnthropicThis 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…