Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

reskin

БесплатноБез исполняемых скриптовНе проверен

Author a NEW skin for the reskinnable-demo app. A skin is a self-contained domain plugin under src/skins/<id>/ that implements the frozen `Skin` contract…

CopilotKitот CopilotKit★ 39 079 звёзд на GitHub

Об этом скилле

Authoring a reskinnable-demo skin

This app hosts one skin-agnostic shell (src/shell/) that renders one skin per URL segment /[skin]/.... A skin is a domain plugin living entirely under src/skins/<id>/. Its ONLY inbound dependency is the frozen Skin contract in src/shell/skin-contract.ts — that is what lets skins be authored in isolation without touching shared code.

To add a skin you (1) map the demo beats it must hit, (2) implement the Skin contract in src/skins/<id>/, (3) put its server-only agent in src/skins/<id>/agent.ts, and (4) register both — the client skin in src/shell/registry.ts and the agent in src/shell/agent-registry.ts, keyed by the identical id.

Before writing anything, re-open src/shell/skin-contract.ts (the source of truth) and read the shipped skins as worked references (ls src/skins/ is the registered set — do not memorise a count). They are good at different things; demo-beats.md § "Which skin to copy for what" is the routing table. The short version: every registered skin but bookstore is demo-complete, so nearly any of them is a fair end-to-end reference, and what you pick between is which one is cleanest for the problem in front of you — banking the original reference, people and commerce the beat-first pair whose beat maps are written out in their suggestions.ts, logistics the layout reference, airline runtime identity without RuntimeProviders (and an entitlement-shaped rather than authority-shaped beat-6 gate), keel the fullest parameterized routing, bookstore the only useData implementor and the worked example of a beat map with two rows marked SKIPPED rather than deleted, exec the BI/executive-analytics domain and the worked example of the block:-prefixed inline a2ui convention (an alternative to CanvasSurface — see "A block:-prefixed a2ui surface…" below). Those files win on any conflict with this skill.

Do not model a new skin on the ABSENCE of a field. Most optional fields are set by most skins, and every omission in the tree has a stated reason next to it, so "airline omits it" is not permission to omit it. Derive what a skin sets rather than trusting prose: grep -nE '^\s+(Providers|CanvasSurface|sandboxFunctions|toolLabels|chatHeaderActions|onSuggestionSelect|RuntimeProviders|useRuntimeProperties|useData)[,:]' src/skins/*/skin.tsx.


⚠️ FIRST: a skin is a live sales demo, not a theme

A skin exists to prove CopilotKit and Intelligence top to bottom, in front of a Fortune 500 buyer. Wiring the contract correctly is table stakes; a skin that compiles, looks sharp and proves nothing is a failed skin. The banking demo's ~10 steps are tuned and land with customers — so copy its beats, not its steps. Your domain can be 1000% different.

Beat The audience must conclude Minimum mechanism
1 Give it a face "Generative UI — right out of the gate." A useComponent visual answers pill #1
2 Rich thread "Reload the browser and the chart is still there. Nobody else stores AG-UI streams." Durable visuals via useComponent; replay-safe tools
3a Drive the app "It changed the app — and the secret never reached the assistant." A mutation whose sensitive payload stays in the UI
3b Sees my screen "Shared state is real." (ask on two different pages) A route readable + per-page on-screen readables
3c Levers "That was a maneuver, not a link." HITL confirm → navigate → sort + filter, visibly highlighted
3d Multimodal "It takes real documents, and the output belongs to my app." Attachment path + artifact written to the store, surviving thread deletion
4 Memory "It remembers how I like things, and says so." Seeded topical memory + recall-first prompt + a slot naming the "why"
5 Stored skill "One sentence and it already knows our procedure." Seeded operational memory + 3 visible writes + distractors
6 Teach a skill "It learned by watching me once, then did it alone." Symptom-only gate + unlock path + recording context + save/recall

**Write the beat map before

Полный SKILL.md на GitHub

Установить reskin в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

demo-beats.mdfailure-modes.mdtemplates.md

FAQ

Что делает скилл reskin?

Author a NEW skin for the reskinnable-demo app. A skin is a self-contained domain plugin under src/skins/<id>/ that implements the frozen `Skin` contract (src/shell/skin-contract.ts) to swap the app's entire experience — brand, theme, layout, pages, tools, data, and agent — as a live sales demo. Use when the user says "add a skin", "create a skin", "new skin", "reskin the app", "make a <domain> skin", or wants the app re-themed as a new product. Do NOT use for editing the shell itself (src/shell/**), the shared token vocabulary (src/app/globals.css), or the shipped skins unless explicitly asked.

Как установить скилл reskin?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл reskin запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить reskin с