Logo Stitch Design Bridge

Stitch Design Bridge

Cộng đồng
sergekostenchuk
stitch-design-bridge

Use this skill when a UI/UX project should use Google Stitch or a Stitch MCP/API workflow for rapid AI UI exploration after `ui-ux-pro-max` has produced design intelligence and before Figma/code implementation. This skill turns UX, SEO/LLM, brand, accessibility, and Pro Max constraints into Stitch-ready prompts, evaluates Stitch outputs, prepares Figma/code handoff, checks Stitch API/MCP configuration without exposing secrets, and prevents Stitch from becoming a conflicting source of truth.

Tổng quan

Nhà phát hànhsergekostenchuk
Kho mãui-ux-agent-skill-system
Tên kỹ năngstitch-design-bridge
Sao
35
Bản fork
4
Tệp đi kèm
7
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 7 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được sergekostenchuk công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Stitch Design Bridge trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/sergekostenchuk/ui-ux-agent-skill-system/tree/main/core/skills/stitch-design-bridge
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/sergekostenchuk/ui-ux-agent-skill-system.git /tmp/ui-ux-agent-skill-system
mkdir -p .claude/skills
cp -r /tmp/ui-ux-agent-skill-system/core/skills/stitch-design-bridge .claude/skills/stitch-design-bridge
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Stitch Design Bridge trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Stitch Design Bridge ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Stitch Design Bridge với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Stitch Design Bridge

Use this skill as the Stitch layer in the UI/UX skill system. Stitch is an exploration accelerator, not the central architect, not the final design authority, and not the source of truth.

Role In The System

Default sequence for substantial UI projects:

text
task-plan-v2-orchestrator
-> ui-ux-llm-product-architect
-> seo-llm-site-architect when public discoverability matters
-> ui-ux-pro-max
-> stitch-design-bridge
-> senior-figma-orchestrator when Figma is involved
-> implementation specialist
-> validation
-> obsidian/wiki context capture for large projects

Stitch belongs after ui-ux-pro-max because Pro Max should define the design intelligence inputs: product type, style candidates, color/typography direction, UX risks, accessibility priorities, and stack guidance. Stitch then explores visual/screen variants under those constraints.

Operating Modes

  • brief: create a Stitch-ready prompt from project constraints.
  • variant-plan: define several Stitch exploration directions and success criteria.
  • review-output: critique Stitch outputs against UX, SEO/LLM, accessibility, brand, and implementation constraints.
  • figma-handoff: prepare Stitch output for senior-figma-orchestrator.
  • code-handoff: prepare Stitch output for local implementation.
  • config-check: check local Stitch API/MCP readiness without printing secrets.
  • council: run or prepare a senior UI/UX/SEO/LLM council decision when recommendations conflict.

Required Workflow

  1. Read references/orchestration-contract.md before routing Stitch inside the broader system.
  2. For prompt generation or output review, read references/prompt-quality-rubric.md.
  3. For API, MCP, credentials, or external upload decisions, read references/safety-and-api.md.
  4. Confirm inputs available:
    • product/UX brief;
    • SEO/LLM constraints when public pages are involved;
    • ui-ux-pro-max recommendations;
    • brand constraints and forbidden directions;
    • target output: Stitch prompt, variants, Figma handoff, code handoff, or review.
  5. If using an external Stitch service, record what data will be sent and require explicit approval for private project data.
  6. Never include API keys, tokens, cookies, private URLs, private screenshots, or .env contents in prompts, reports, wiki pages, or task plans.
  7. Treat Stitch output as a candidate artifact. It must be reviewed before Figma, code, or production use.

API And MCP Credentials

Use environment variables. Do not store credentials in this skill.

Expected variable:

bash
STITCH_API_KEY

Run the config checker when needed:

bash
python3 $CODEX_SKILLS_DIR/stitch-design-bridge/scripts/check_stitch_config.py

The checker reports only presence, likely shape, and redacted metadata. It must not print the full key.

Decision Rules

Stitch may propose:

  • visual directions;
  • layout variants;
  • component arrangements;
  • screen-level concepts;
  • first-pass code or canvas ideas when available.

Stitch must not override:

  • visible facts and business constraints;
  • SEO/LLM content architecture;
  • accessibility requirements;
  • semantic HTML and deterministic action labels;
  • security/privacy boundaries;
  • Figma design-system tokens without review;
  • final implementation validation.

Senior Council Trigger

Use council mode when any of these are true:

  • UX wants to simplify content but SEO/LLM needs visible semantic content.
  • SEO/LLM wants content density that harms comprehension or conversion.
  • Stitch output is visually strong but weak on accessibility, facts, or implementation feasibility.
  • Figma design-system constraints conflict with Stitch output.
  • A large project changes public pages, Figma, code, and SEO/LLM artifacts in one workflow.

Council roles:

  • UI/UX lead: journeys, IA, hierarchy, accessibility, interaction quality.
  • SEO/LLM lead: crawlability, schema, metadata, llms.txt, visible factual content.
  • Figma lead: design-system fit, variables, components, asset workflow.
  • Implementation lead: framework feasibility, responsive behavior, validation evidence.
  • Planning lead: task-plan gates, blockers, alarms, evidence, rollback.

Decision order:

  1. Security, privacy, legal accuracy, and user safety.
  2. Accessibility and primary task completion.
  3. Truthful visible content and product facts.
  4. Semantic HTML, crawlability, and LLM-readable structure.
  5. Conversion UX and user comprehension.
  6. Design-system consistency and implementation maintainability.
  7. Visual novelty, trend alignment, and Stitch aesthetics.

Output Shapes

Brief Mode

Use assets/stitch-brief.template.md.

Return:

  • Stitch prompt;
  • input constraints used;
  • private data excluded;
  • variants requested;
  • acceptance criteria;
  • required review owners.

Review Mode

Return:

  • output reviewed;
  • pass/fail against the prompt;
  • UX findings;
  • SEO/LLM findings;
  • accessibility findings;
  • design-system/Figma findings;
  • implementation risks;
  • recommendation: accept, iterate, send to Figma, implement locally, or reject.

Handoff Mode

Return:

  • chosen Stitch variant;
  • rationale;
  • required Figma/code next owner;
  • assets or screenshots needed;
  • tokens/components to preserve;
  • checks before marking done.

Validation

When editing this skill, run:

bash
python3 $CODEX_SKILLS_DIR/.system/skill-creator/scripts/quick_validate.py $CODEX_SKILLS_DIR/stitch-design-bridge
python3 $CODEX_SKILLS_DIR/senior-skill-architect/scripts/lint_production_skill.py $CODEX_SKILLS_DIR/stitch-design-bridge
python3 $CODEX_SKILLS_DIR/stitch-design-bridge/scripts/check_stitch_config.py
python3 -m json.tool $CODEX_SKILLS_DIR/stitch-design-bridge/evals/evals.json >/dev/null

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Stitch Design Bridge làm được gì?

Use this skill when a UI/UX project should use Google Stitch or a Stitch MCP/API workflow for rapid AI UI exploration after `ui-ux-pro-max` has produced design intelligence and before Figma/code implementation. This skill turns UX, SEO/LLM, brand, accessibility, and Pro Max constraints into Stitch-ready prompts, evaluates Stitch outputs, prepares Figma/code handoff, checks Stitch API/MCP configuration without exposing secrets, and prevents Stitch from becoming a conflicting source of truth.

Vì sao nên dùng Stitch Design Bridge trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Stitch Design Bridge là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Stitch Design Bridge trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/sergekostenchuk/ui-ux-agent-skill-system/tree/main/core/skills/stitch-design-bridge. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Stitch Design Bridge?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Stitch Design Bridge với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Stitch Design Bridge với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Stitch Design Bridge có miễn phí không?

Có. Kỹ năng này được sergekostenchuk phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇