Skip to main content
在 Manus 中运行任何 Skill
一键导入

canvas-storybook-test

星标3
分支0
更新时间2026年7月1日 10:01

CANVAS Storybook-gate validation toolkit (RFC-021 FR-4) — the knowledge base read by canvas-storybook-validator (the C4 Storybook-gate, a SUB Task agent) when it certifies the BUILT Storybook against the Pencil source ONLY. Covers the six certifications: (1) story coverage vs the port-manifest variant matrix, (2) visual parity vs the Pencil reference screenshots (visual-regression — Playwright / Chromatic), (3) interaction/play tests (play functions + storybook/test userEvent + expect), (4) structural accessibility via the a11y/axe addon (WCAG), (5) token fidelity (computed styles resolve to the token tool's CSS custom properties, no hardcoded values), (6) coverage thresholds. Documents the Vitest addon (primary, Vite) vs the legacy test-runner (Jest+Playwright fallback), composeStories().run() portable stories, and where this gate sits (generator!=verifier vs canvas-coder — a fresh isolated context). Use when running or reviewing Storybook tests, wiring the validator gate, or writing *.stories.ts test code.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
7 个文件
SKILL.md
readonly