Logo Design Continuity Guard

Design Continuity Guard

Cộng đồng
demiurg92
design-continuity-guard

Preserve an existing website or app design system when adding, moving, or restyling sections, cards, headings, backgrounds, CTAs, forms, and other UI blocks. Use before frontend changes that affect colors, gradients, section backgrounds, typography colors, spacing rhythm, visual hierarchy, component grammar, or the order of page sections; use when Codex must infer brand rules from CSS/DESIGN.md/AGENTS.md and neighboring sections instead of inventing new styles.

Tổng quan

Nhà phát hànhdemiurg92
Kho mãdesign-continuity-guard
Tên kỹ năngdesign-continuity-guard
Sao
12
Bản fork
0
Tệp đi kèm
5
Giấy phépMIT
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ộ.

  • 5 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 demiurg92 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 Design Continuity Guard 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/demiurg92/design-continuity-guard/tree/main/design-continuity-guard
  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/demiurg92/design-continuity-guard.git /tmp/design-continuity-guard
mkdir -p .claude/skills
cp -r /tmp/design-continuity-guard/design-continuity-guard .claude/skills/design-continuity-guard
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 Design Continuity Guard 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 Design Continuity Guard 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 Design Continuity Guard 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.

Design Continuity Guard

Purpose

Keep new UI work native to the current page. Before changing styles, recover the site's existing color language, section rhythm, component grammar, and brand constraints; then reuse or extend them conservatively.

This skill is a guardrail, not a generic design generator. It should reduce random new colors, one-off gradients, mismatched components, and section backgrounds that break the page.

Fast Path

For a small style or content change:

  1. Read local memory and design notes if present: AGENTS.md, agents.md, DESIGN.md, design.md.
  2. Inspect the target section plus the previous and next visible sections.
  3. Inspect the CSS/SCSS/Tailwind tokens that already style those sections.
  4. Reuse existing variables, classes, gradients, and text colors whenever they fit.
  5. Verify the changed area in desktop and mobile if layout or contrast could change.

Do not invent a new palette for a localized change.

Visual Audit

Before adding a new section or changing a background:

  • Identify the page sequence: hero, proof, features, catalog, cases, FAQ, CTA, contacts, footer, etc.
  • Record each nearby section's background, heading color, text color, card surface, CTA style, and visual weight.
  • Determine the page rhythm: light/dark alternation, neutral/accent cadence, gradient placement, image-led sections, card density.
  • Find brand tokens: CSS custom properties, Tailwind theme values, repeated hex/rgb/hsl colors, named utility classes, button classes.
  • Check whether the target slot needs contrast, rest, or emphasis.

If the system is unclear, run the palette extractor:

bash
python3 /path/to/design-continuity-guard/scripts/extract_visual_palette.py --root .

Use its output as evidence, not as the only source of truth.

Decision Rules

  • Prefer existing CSS variables and reusable classes over new raw color values.
  • Add a new color only when no existing token covers the needed role and the user asked for a new visual direction.
  • Do not add a new gradient if the page already has a recognizable gradient language; reuse or adapt the existing gradient.
  • Do not make every new section accent-heavy. Preserve alternation between high-emphasis, neutral, and rest sections.
  • Avoid placing two visually heavy sections next to each other unless the current page already uses that pattern.
  • If a new section sits between two similar backgrounds, choose a compatible contrast layer or a subtle divider rather than a random accent.
  • If it sits between a neutral section and a CTA/accent section, usually keep the new section calmer than the CTA.
  • Maintain heading hierarchy: use existing heading colors, accent spans, eyebrow labels, and max-width patterns.
  • Maintain card grammar: border radius, border color, shadow, surface, icon background, and hover states should match nearby cards.
  • Check contrast when changing foreground/background. If contrast is uncertain, choose the more conservative existing pair.

Section Recommendation

When proposing or implementing a new section, decide these fields before editing:

text
Position:
Neighboring sections:
Section role: neutral / proof / feature / CTA / transition / content-heavy
Background:
Heading color:
Text color:
Accent:
Cards:
CTA:
Reusable classes/tokens:
What not to add:
Verification:

Keep this internal for implementation tasks unless the user asks for a recommendation first.

When To Read References

  • Read references/section-rhythm.md when adding, reordering, or moving a section.
  • Read references/color-audit.md when brand colors/tokens are unclear or CSS is large.
  • Read references/decision-rules.md when choosing between several plausible backgrounds or accent styles.

Verification

For visual changes:

  • Run the project's build or syntax check when available.
  • Use browser screenshots or inspection for desktop and mobile when section layout, background, heading color, or CTA changes.
  • Check the target section together with its previous and next sections, not in isolation.
  • If screenshots show a new block looking detached from the page, revise colors/classes before finalizing.

Memory Boundary

Follow the project's own AGENTS.md/agents.md rules for memory updates. Add or update design memory only when a stable visual rule was discovered, such as a canonical brand token, section rhythm rule, or deprecated color pattern. Do not save one-off experiments.

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 Design Continuity Guard làm được gì?

Preserve an existing website or app design system when adding, moving, or restyling sections, cards, headings, backgrounds, CTAs, forms, and other UI blocks. Use before frontend changes that affect colors, gradients, section backgrounds, typography colors, spacing rhythm, visual hierarchy, component grammar, or the order of page sections; use when Codex must infer brand rules from CSS/DESIGN.md/AGENTS.md and neighboring sections instead of inventing new styles.

Vì sao nên dùng Design Continuity Guard 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. Design Continuity Guard 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 Design Continuity Guard trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/demiurg92/design-continuity-guard/tree/main/design-continuity-guard. 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 Design Continuity Guard?

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 Design Continuity Guard 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 Design Continuity Guard 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 Design Continuity Guard có miễn phí không?

Có. Kỹ năng này được demiurg92 phát hành trên GitHub theo giấy phép MIT. 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 👇