Design Continuity Guard 标志

Design Continuity Guard

社区
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.

概览

发布者demiurg92
代码仓库design-continuity-guard
技能名称design-continuity-guard
星标数
12
复刻数
0
附带文件
5
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 5 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 demiurg92 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Design Continuity Guard AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/demiurg92/design-continuity-guard/tree/main/design-continuity-guard
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Design Continuity Guard,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Design Continuity Guard。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Design Continuity Guard 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Design Continuity Guard AI 技能有什么作用?

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.

为什么在 TypingMind 中使用 Design Continuity Guard?

因为您只需安装一次,就能搭配任何模型使用。Design Continuity Guard 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Design Continuity Guard?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/demiurg92/design-continuity-guard/tree/main/design-continuity-guard。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Design Continuity Guard?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Design Continuity Guard 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Design Continuity Guard 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Design Continuity Guard AI 技能免费吗?

是的。demiurg92 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇