Skip to main content

validate-a-design-system-component

Validate a shared component across behavior, variants, accessibility, content, themes, and consumers. Use when a new or changed design-system component needs evidence before adoption or release.

来源信息

仓库
protosphinx/sphinxstack
最近来源活动
2026年7月29日 13:55
检测到的 SKILL.md 语言
英语
星标
3
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
validate-a-design-system-component
category
design
description
Validate a shared component across behavior, variants, accessibility, content, themes, and consumers. Use when a new or changed design-system component needs evidence before adoption or release.
# validate-a-design-system-component ## Procedure 1. Define component purpose, consumers, platforms, supported variants, non-goals, and owner. 2. Review semantics, API, states, content, tokens, dependencies, and design references. 3. Build representative stories for normal, disabled, loading, error, empty, long, localized, and permission states. 4. Test keyboard, focus, screen reader, zoom, contrast, motion, touch, and high-contrast behavior. 5. Test themes, responsive layout, nested use, composition, and consumer overrides. 6. Verify events, form behavior, errors, asynchronous updates, and server-rendered use where applicable. 7. Compare supported browsers, frameworks, and assistive technology defined by policy. 8. Run visual, interaction, unit, accessibility, and consumer integration tests. 9. Pilot with at least one real consumer and record migration friction. 10. Release only with docs, examples, versioning, known limits, and rollback. ## Guardrails - Automated accessibility checks do not replace human interaction tests. - Do not expose an unstable API as a silent breaking change. - Consumer overrides must not defeat required behavior. ## Done - A validation report covers states, semantics, access, visuals, and integration - Automated and human evidence passes the supported matrix - Consumer pilot, documentation, versioning, and rollback are verified
在 GitHub 查看