open-design/design-systems
code-Y 84f768d4a2
feat: add WeChat design system, login-flow skill, and fix API mode tool_calls bug (#1083)
* feat: add WeChat design system, login-flow skill, and fix API mode tool_calls bug

- Add WeChat design system (design-systems/wechat/) with full brand spec
  including color palette, typography, and component rules for chat UI
- Add login-flow skill (skills/login-flow/) for mobile authentication flows
  with P0 checklist, example HTML, and i18n registration across 3 locales
- Fix DeepSeek V4 bug: API/BYOK mode (streamFormat=plain) models now receive
  a directive to emit only <artifact> HTML blocks and suppress tool_calls,
  since plain adapters proxy to external providers that cannot execute tools

* fix: restore full server.ts and WeChat DESIGN.md from ad46d8cd commit

Restore files that were corrupted in PR #1083 head branch.
The WeChat DESIGN.md was reduced to a single line (filename only)
and server.ts was reduced to ~1 line. Both are restored to their
original ad46d8cd state with full content.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix: restore full server.ts and WeChat DESIGN.md from ad46d8cd

Restore files corrupted in PR #1083:
- apps/daemon/src/server.ts: restored 7106-line file
- design-systems/wechat/DESIGN.md: restored 301-line WeChat design spec
- skills/login-flow/SKILL.md: restored from local working state
- skills/login-flow/example.html: restored 351-line example HTML

* fix: only suppress tool_calls when streamFormat='plain' explicitly, remove nonexistent assets/template.html

1. streamFormat check now requires explicit 'plain' value instead of defaulting
   to 'plain' when undefined. This prevents normal tool-using chat runs from
   incorrectly inheriting the API/BYOK tool_calls suppression rule.

2. login-flow SKILL.md: removed reference to assets/template.html since that file
   does not exist in the skill bundle and derivePreflight() would inject a hard
   instruction to read it before any other tool, causing pre-flight to fail.

* fix: thread streamFormat to composeSystemPrompt in server.ts call

Previously the composeSystemPrompt call at line ~4940 omitted streamFormat,
causing the composer to default to 'plain' and suppress tool_calls even
for tool-using chat runs. Now streamFormat is passed through from the
adapter definition so the API mode rule only fires when streamFormat='plain'
is explicitly set.

* fix: WeChat category metadata, font-family, and login-flow example interactivity

WeChat DESIGN.md:
- Add Category: Social & Messaging metadata so it appears correctly in picker
- Fix font-family declaration: remove invalid -webkit-font-family prefix,
  use standard font-family so downstream CSS generation works correctly

skills/login-flow/example.html:
- Add password toggle click handler so show/hide actually works
- Change Apple icon fill from hardcoded #fff to currentColor so it is
  visible on light backgrounds

* fix: mirror streamFormat suppression in contracts composer and add WeChat i18n

1. packages/contracts/src/prompts/system.ts: Add streamFormat parameter to
   ComposeInput and ComposeInput interface, mirroring the same suppression
   rule from daemon prompts/system.ts. When streamFormat='plain' is passed,
   a directive is appended telling models not to emit tool_calls and to only
   output <artifact> HTML blocks.

2. apps/web/src/i18n/content.{ts,fr,ru}.ts: Add WeChat design system entries:
   - Add 'wechat' to DE/FR/RU_DESIGN_SYSTEM_IDS_WITH_EN_FALLBACK arrays
   - Add 'wechat' summary to DE/FR/RU_DESIGN_SYSTEM_SUMMARIES
   - Add 'Social & Messaging' category to DE/FR/RU_DESIGN_SYSTEM_CATEGORIES
     (matching the Category: Social & Messaging metadata in WeChat DESIGN.md)

* fix: thread streamFormat='plain' into web composeSystemPrompt for api mode

* test: focus localized content coverage on missing resources

---------

Co-authored-by: Open Design Contributor <z@open-design.dev>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: mrcfps <mrc@powerformer.com>
2026-05-10 20:38:33 +08:00
..
agentic update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
airbnb Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
airtable Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
ant update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
apple Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
application update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
arc feat(web): add brand design systems, card thumbnails, and DESIGN.md side-by-side preview (#289) 2026-05-02 23:19:00 +08:00
artistic update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
atelier-zero feat(skills): open-design-landing rename, kami skills, landing OG (#428) 2026-05-04 19:22:46 +08:00
bento update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
binance Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
bmw Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
bmw-m Add BMW M design system (#579) 2026-05-08 12:49:32 +08:00
bold update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
brutalism update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
bugatti Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
cafe update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
cal Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
canva feat(web): add brand design systems, card thumbnails, and DESIGN.md side-by-side preview (#289) 2026-05-02 23:19:00 +08:00
cisco Add Cisco and Webex design systems (#991) 2026-05-09 09:02:19 +08:00
claude Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
clay Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
claymorphism update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
clean update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
clickhouse Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
cohere Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
coinbase Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
colorful update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
composio Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
contemporary update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
corporate update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
cosmic update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
creative update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
cursor Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
dashboard update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
default Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
discord feat(web): add brand design systems, card thumbnails, and DESIGN.md side-by-side preview (#289) 2026-05-02 23:19:00 +08:00
dithered update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
doodle update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
dramatic update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
duolingo feat(web): add brand design systems, card thumbnails, and DESIGN.md side-by-side preview (#289) 2026-05-02 23:19:00 +08:00
editorial update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
elegant update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
elevenlabs Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
energetic update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
enterprise update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
expo Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
expressive update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
fantasy update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
ferrari Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
figma Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
flat update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
framer Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
friendly update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
futuristic update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
github feat(web): add brand design systems, card thumbnails, and DESIGN.md side-by-side preview (#289) 2026-05-02 23:19:00 +08:00
glassmorphism update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
gradient update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
hashicorp Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
hud feat(design-systems): add hud, loom, trading-terminal with locale coverage (#1069) 2026-05-09 19:28:19 +08:00
huggingface feat(web): add brand design systems, card thumbnails, and DESIGN.md side-by-side preview (#289) 2026-05-02 23:19:00 +08:00
ibm Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
intercom Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
kami feat(design-systems): integrate kami as editorial paper system + deck starter (#226) 2026-05-02 11:00:56 +08:00
kraken Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
lamborghini Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
levels update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
linear-app Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
lingo update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
loom feat(design-systems): add hud, loom, trading-terminal with locale coverage (#1069) 2026-05-09 19:28:19 +08:00
lovable Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
luxury update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
mastercard Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
material update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
meta Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
minimal update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
minimax Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
mintlify Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
miro Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
mission-control feat(design-systems): add Mission Control design system (#858) 2026-05-08 12:32:51 +08:00
mistral-ai Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
modern update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
mongodb Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
mono update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
neobrutalism update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
neon update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
neumorphism update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
nike Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
notion Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
nvidia Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
ollama Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
openai feat(web): add brand design systems, card thumbnails, and DESIGN.md side-by-side preview (#289) 2026-05-02 23:19:00 +08:00
opencode-ai Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
pacman update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
paper update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
perspective update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
pinterest Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
playstation Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
posthog Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
premium update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
professional update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
publication update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
raycast Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
refined update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
renault Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
replicate Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
resend Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
retro update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
revolut Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
runwayml Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
sanity Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
sentry Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
shadcn update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
shopify Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
simple update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
skeumorphism update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
slack feat(design-systems): add Slack design system (#899) 2026-05-09 09:02:27 +08:00
sleek update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
spacex Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
spacious update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
spotify Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
starbucks Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
storytelling update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
stripe Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
supabase Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
superhuman Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
tesla Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
tetris update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
theverge Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
together-ai Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
totality-festival feat(skills): add social-media-dashboard skill + Totality Festival design system (#678) 2026-05-06 21:50:23 +08:00
trading-terminal feat(design-systems): add hud, loom, trading-terminal with locale coverage (#1069) 2026-05-09 19:28:19 +08:00
uber Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
urdu feat(design-systems): add Urdu Modern (Indus Script) system (#714) 2026-05-08 13:05:55 +08:00
vercel Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
vibrant update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
vintage update: add 57 DESIGN.md files from awesome-design-skills (#92) 2026-05-01 16:57:25 +08:00
vodafone Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
voltagent Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
warm-editorial Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
warp Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
webex Add Cisco and Webex design systems (#991) 2026-05-09 09:02:19 +08:00
webflow Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
wechat feat: add WeChat design system, login-flow skill, and fix API mode tool_calls bug (#1083) 2026-05-10 20:38:33 +08:00
wired Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
wise Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
x-ai Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
xiaohongshu docs(xiaohongshu): address review feedback from #24 (#54) 2026-05-01 10:38:19 +08:00
zapier Add initial project structure with essential files 2026-04-28 12:25:59 +08:00
README.md Add Cisco and Webex design systems (#991) 2026-05-09 09:02:19 +08:00

Design Systems

Each subfolder is a portable design system in DESIGN.md format. Pick one in the top-bar Design system dropdown and every skill will read it as part of its system prompt.

What's bundled

  • default/ — Neutral Modern. Hand-authored starter for the OD spec.
  • warm-editorial/ — Warm Editorial. Hand-authored serif starter.
  • atelier-zero/ — Atelier Zero. Hand-authored magazine-grade collage system: warm paper canvas, plaster-and-architecture imagery, oversized italic-mixed display type, Roman-numeral section markers, side rails of rotated micro-text, coordinate annotations, single coral accent. Pairs with skills/open-design-landing/ and skills/open-design-landing-deck/ for the canonical landing-page and slide-deck renderings.
  • kami/ — 紙 / 纸. Editorial paper system distilled from tw93/kami (MIT). Warm parchment canvas, ink-blue accent, serif at one weight, no italic, no cool grays. Pairs with the templates/kami-deck.html starter for slide work.
  • 57 design skills, sourced from bergside/awesome-design-skills and added directly as normalized 9-section DESIGN.md files.
  • 72 product systems, including 70 imported from VoltAgent/awesome-design-md (the getdesign@latest npm package, MIT-licensed), plus two hand-authored additions (cisco, webex). This table covers that imported product-system subset only; the full bundled catalog is larger once you include the hand-authored starters and the separate design-skill systems listed above. One folder per brand:
    Category Systems
    AI & LLM claude · cohere · elevenlabs · minimax · mistral-ai · ollama · opencode-ai · replicate · runwayml · together-ai · voltagent · x-ai
    Developer Tools cursor · expo · lovable · raycast · superhuman · vercel · warp
    Productivity & SaaS cal · intercom · linear-app · mintlify · notion · resend · webex · zapier
    Backend & Data cisco · clickhouse · composio · hashicorp · mongodb · posthog · sanity · sentry · supabase
    Design & Creative airtable · clay · figma · framer · miro · webflow
    Fintech & Crypto binance · coinbase · kraken · mastercard · revolut · stripe · wise
    E-Commerce & Retail airbnb · meta · nike · shopify · starbucks
    Media & Consumer apple · ibm · nvidia · pinterest · playstation · spacex · spotify · theverge · uber · vodafone · wired · xiaohongshu
    Automotive bmw · bugatti · ferrari · lamborghini · renault · tesla

Folders use ASCII slugs — dotted brands are normalized (linear.applinear-app, x.aix-ai, etc.).

File shape

The first H1 is the title shown in the picker. The line immediately after the H1 is parsed for > Category: <name> and used to group the dropdown:

# Design System Inspired by Cohere

> Category: AI & LLM
> Enterprise AI platform. Vibrant gradients, data-rich dashboard aesthetic.

## 1. Visual Theme & Atmosphere
...

Both the boilerplate prefix Design System Inspired by and the > Category: ... line are stripped from the dropdown label and the summary preview at runtime — they're only metadata.

Adding your own

Drop a new folder containing a DESIGN.md and it shows up on next refresh. Add a > Category: <Group> line to slot it under an existing group, or use any new label and it lands at the bottom of the dropdown.

Refreshing the bundled set

The 70 imported product systems are pulled from the upstream npm package. To re-sync to the latest hashes:

curl -sL $(npm view getdesign dist.tarball) -o /tmp/getdesign.tgz
tar -xzf /tmp/getdesign.tgz -C /tmp
node --experimental-strip-types scripts/sync-design-systems.ts

For now, the original importer lives at the top of the excessive-climb branch — re-run it against a fresh tarball.

Attribution

The 70 imported product systems are sourced from VoltAgent/awesome-design-md (MIT, © VoltAgent contributors). They are aesthetic inspirations — none of them are official assets of the brands they reference.

The cisco/ and webex/ systems are hand-authored additions based on the current public Cisco and Webex / Momentum visual languages.

The kami/ system adapts tokens, type rules, and the "ten invariants" from tw93/kami (MIT, © Tw93 and contributors), a Claude skill for typesetting professional documents and slide decks.

The 57 design skills are sourced from bergside/awesome-design-skills.