Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

canvas-port

Sterne3
Forks0
Aktualisiert1. Juli 2026 um 10:01

CANVAS porting playbook — Pencil design system -> Storybook -> native framework code. Shared contract read by canvas-porter-storybook (Vectorize) and canvas-coder (Assemble); the optional canvas-porter-framework (multi-target port) is dispatched only on an explicit multi-framework request, out of the default pipeline. Step 0 resolves the consuming project's framework as an INPUT — detected from AGENTS.md / CLAUDE.md / package.json, else force-asked — and CANVAS generates natively in that one framework. Lit / Web Components / Shadow DOM are ONE selectable target, used only when the declared stack IS Web Components, not the canon. Covers the token contract (single tokens.json -> CSS custom properties, compiled by the project's token tool — Style-Dictionary is one option), the per-component story spec (variant matrix + slot map + descendant-override points), and the visual oracle (reference screenshots -> visual-regression via Playwright / Storybook test-runner). Use when porting a Pencil DS to tokens/Storybook/

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

Datei-Explorer
6 Dateien
SKILL.md
readonly