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★ 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 butbookstoreis 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 —bankingthe original reference,peopleandcommercethe beat-first pair whose beat maps are written out in theirsuggestions.ts,logisticsthe layout reference,airlineruntime identity withoutRuntimeProviders(and an entitlement-shaped rather than authority-shaped beat-6 gate),keelthe fullest parameterized routing,bookstorethe onlyuseDataimplementor and the worked example of a beat map with two rows markedSKIPPEDrather than deleted,execthe BI/executive-analytics domain and the worked example of theblock:-prefixed inline a2ui convention (an alternative toCanvasSurface— see "Ablock:-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
Установить reskin в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic