Token导航 LogoToken导航

Agent Skill · 研究检索

design-integration(设计整合)

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

design-integration 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 65,745。

总安装 275周安装 11GitHub Stars 24下载 89核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:design-integration(设计整合)
来源仓库:https://github.com/noobygains/godmode
仓库路径:skills/design-integration
安装命令:
npx skills add https://github.com/noobygains/godmode --skill design-integration
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/noobygains/godmode --skill design-integration

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于辅助界面设计、视觉规范和交互体验优化,适合生成 UI 方案和改进组件层级。适用于 Codex、Claude、Cursor 和 Gemini CLI,可结合产品场景整理页面结构。使用时需参考现有品牌和设计系统,避免仅堆砌装饰元素。涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出和对齐问题。

建议在团队协作流程中配合评审机制使用,确保设计一致性。

来源仓库内路径:skills/design-integration

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/noobygains/godmode --skill design-integration;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

design-integration 怎么安装?

在终端执行 npx skills add https://github.com/noobygains/godmode --skill design-integration。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

design-integration 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

design-integration 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

design-integration 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

design-integration 用的人多吗?

公开数据是累计安装 275 次,近一周安装 11 次,下载 89 次,GitHub 24 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

design-integration 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
design-integration

设计整合 · 本页

27524需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Design Integration

Overview

Detect the project's design system, embrace it fully, and extend it only through sanctioned channels. Never resist it, never overlook it, never rebuild what it already offers.

Core principle: When a project has a design system, every component you create must consume that system's primitives, tokens, and patterns. When no system exists, establish one before writing components.

No exceptions. No workarounds. No shortcuts.

The Prime Directive

NEVER REBUILD WHAT THE DESIGN SYSTEM ALREADY PROVIDES

If the system ships a <Dialog> component, use it. Do not fabricate your own. Do not wrap it in a container with overriding styles. Consume its variant API and extend only through its documented extension points.

When to Use

Mandatory when:

  • Entering any existing codebase with a user interface
  • Introducing new UI elements to an established application
  • Growing a project's component library
  • Initializing a new project that will have a UI layer

Specifically triggered by:

  • Imports from @shadcn/ui, @mui/material, antd, @chakra-ui, or equivalents
  • A components/ui directory containing base-level primitives
  • Configuration files such as tailwind.config, theme.ts, or a design token file
  • The need to add UI to a project with no system in place

The Entry Protocol

BEFORE authoring any UI component:

1. DETECT: What design system governs this project? (see Detection below)
2. STUDY: Read the system's component API for the element you are building
3. ASSESS: Does the system already provide this component?
   - Yes -> Consume it directly. Do NOT recreate it.
   - Partially -> Compose from existing primitives
   - No -> Build it adhering to the system's conventions
4. VALIDATE: Does your component feel native to the system?

Omit any step = fighting the system

Detection Sequence

digraph detect_system {
    rankdir=TB;
    start [label="New project or\nnew component", shape=doublecircle];
    check_deps [label="Inspect package.json\nfor UI frameworks", shape=box];
    known [label="Recognized design\nsystem present?", shape=diamond];
    check_code [label="Search source tree\nfor UI import patterns", shape=box];
    has_custom [label="Internal component\nlibrary found?", shape=diamond];
    check_tokens [label="Look for\ndesign token definitions", shape=box];
    has_tokens [label="Token file\ndetected?", shape=diamond];
    adopt_known [label="ADOPT\nUse the recognized system", shape=box, style=filled, fillcolor="#ccffcc"];
    adopt_internal [label="ADOPT\nFollow internal library conventions", shape=box, style=filled, fillcolor="#ccffcc"];
    bootstrap [label="BOOTSTRAP\nInitialize a design system", shape=box, style=filled, fillcolor="#ccccff"];
    extend_tokens [label="BUILD\non existing token foundation", shape=box, style=filled, fillcolor="#ccffcc"];

    start -> check_deps;
    check_deps -> known;
    known -> adopt_known [label="yes"];
    known -> check_code [label="no"];
    check_code -> has_custom;
    has_custom -> adopt_internal [label="yes\n(components/ui\nor equivalent)"];
    has_custom -> check_tokens [label="no"];
    check_tokens -> has_tokens;
    has_tokens -> extend_tokens [label="yes"];
    has_tokens -> bootstrap [label="no"];
}

Phase 1: Inspect Dependencies

DependencySystemApproach
@radix-ui/*, class-variance-authorityshadcn/uiAdhere to shadcn file and variant conventions
@mui/material, @emotion/reactMaterial UIFollow Material Design specifications
antdAnt DesignFollow Ant component patterns
@chakra-ui/reactChakra UIFollow Chakra theming and style props
@headlessui/reactHeadless UIPair with Tailwind for styling
@mantine/coreMantineFollow Mantine hook and component patterns
primereact, primevuePrimeReact/PrimeVueFollow Prime theming and template system

Phase 2: Scan for Internal Components

Look for:

  • components/ui/ directory (typical shadcn/ui layout)
  • components/common/ or components/shared/
  • Barrel re-exports from component directories
  • Storybook stories (.stories.tsx)

Phase 3: Locate Design Tokens

Search for:

  • tailwind.config.js/ts (Tailwind CSS theme customization)
  • theme.ts or theme.js (custom theme objects)
  • CSS custom properties defined on :root or [data-theme]
  • tokens/ or design-tokens/ directories
  • styles/variables.css or styles/tokens.css

Adoption: Operating Within an Existing System

Universal Principles

  1. Consume the component API as-is. Do not add wrapper elements with inline overrides.
  2. Use the system's variant mechanism. If it offers variant="danger", use that instead of manually overriding colors.
  3. Use the system's sizing props. If it accepts size="sm", do not override with custom CSS.
  4. Extend through the system's designated extension points. Not through CSS specificity wars.
  5. Follow the system's directory conventions. If primitives live in components/ui/, new ones go there too.

shadcn/ui

Copy-and-customize components built on Radix UI + Tailwind CSS.

Conventions:

  • Primitives in components/ui/ (base building blocks)
  • Application components in components/ (composed from primitives)
  • cn() helper for merging class strings
  • cva() from class-variance-authority for variant definitions
  • All styling through Tailwind utility classes

Adding a missing component:

npx shadcn@latest add [component-name]

Composing custom components:

import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
import { Badge } from "@/components/ui/badge"

export function ProjectCard({ project }) {
  return (
    <Card>
      <CardHeader><CardTitle>{project.title}</CardTitle></CardHeader>
      <CardContent>
        <Badge variant={project.live ? "default" : "secondary"}>
          {project.live ? "Live" : "Draft"}
        </Badge>
      </CardContent>
    </Card>
  )
}

Forbidden:

  • Overriding shadcn styles with raw CSS files
  • Rebuilding a component shadcn already provides
  • Applying non-Tailwind styling alongside shadcn components
  • Ignoring the cn() helper for conditional class composition

Material UI

Conventions:

  • Theme defined via createTheme() in theme.ts
  • Components imported from @mui/material
  • Styling via sx prop or styled() API
  • Global overrides through theme.components

Extending the theme:

const theme = createTheme({
  palette: { primary: { main: '#0d9488' } },
  components: {
    MuiButton: {
      defaultProps: { disableElevation: true },
      styleOverrides: { root: { textTransform: 'none', borderRadius: 8 } },
    },
  },
});

Ant Design

Conventions:

  • Components imported from antd
  • Theming through ConfigProvider + token system
  • Global tokens via theme.token, per-component via theme.components

Forbidden: Direct overrides of .ant-* CSS classes or mixing Ant with a competing component library.

Tailwind CSS (Standalone, No Component Library)

When the project uses Tailwind without an accompanying component framework:

  1. Inspect tailwind.config for custom theme extensions
  2. Consume those values exclusively -- no arbitrary values
  3. Replicate existing class patterns found in the codebase

Extension: Adding to an Existing System

When the system lacks a component you require:

Pre-Build Checklist

  1. Search the system's documentation -- it may exist under a different name
  2. Determine whether it can be assembled from existing primitives
  3. Look for community plugins or extensions

Building a New Component Within the System

Align with the system's norms:

  1. NAMING -- Follow the system's naming pattern (PascalCase components, kebab-case files, etc.)
  2. API -- Follow the system's prop conventions (variant + size, cva, sx, etc.)
  3. STYLING -- Use the same styling mechanism (Tailwind + cn(), sx prop, token references)
  4. TOKENS -- Reference system token values, never raw literals
  5. ACCESSIBILITY -- Reproduce the system's a11y patterns (ARIA attributes, keyboard navigation, focus management)

Bootstrap: When No System Exists

Project ScaleRecommendation
Prototype / MVPTailwind CSS + shadcn/ui
Small team, distinctive brandTailwind CSS + headless primitives (Radix/Headless UI)
Enterprise / large organizationMaterial UI or Ant Design (full-featured, opinionated)
Design-centric / agency workTailwind CSS + bespoke component library

Minimum Bootstrap Steps

  1. Install a CSS framework (Tailwind recommended for most scenarios)
  2. Define design tokens (leverage templates from godmode:ux-patterns design-tokens.md)
  3. Create foundational components (Button, Input, Card, Badge at minimum)
  4. Configure theming (CSS custom properties or Tailwind config)

Fast-Track Bootstrap (Tailwind + shadcn/ui)

npx tailwindcss init -p
npx shadcn@latest init
npx shadcn@latest add button input card badge dialog toast

Customize tailwind.config.ts with project-specific token values afterward.

Token Discovery in Existing Codebases

When joining a project that lacks documented tokens:

Token CategoryWhere to Find
ColorsCSS variables, Tailwind config, theme files, most-used hex/rgb values
TypographyFont imports, CSS font declarations, Tailwind config fonts section
SpacingMost frequent padding/margin/gap values across stylesheets
Border radiusMost common border-radius values in component styles
ShadowsMost common box-shadow declarations

Discovery process:

  1. Search for CSS custom properties (--) across all style files
  2. Inspect tailwind.config for theme.extend customizations
  3. Check for theme.ts or theme.js exports
  4. If nothing is found, audit the 5-10 most-used components for recurring values and document them as tokens

Cognitive Traps

RationalizationTruth
"The system does not have this component"Compose from primitives or extend within conventions. Do not bypass the system.
"Writing raw CSS is faster than learning the API"Faster today, inconsistent forever. Invest in learning the system.
"I will wire it into the system later"Later never arrives. Components outside the system infect everything they touch.
"The system's API is too restrictive"The API prevents inconsistency by design. Work within it or extend properly.
"Combining two systems gives us the best of both"Combining two systems delivers the worst of both: conflicting styles, doubled bundle weight.
"This is a one-off component, it does not matter"One-off components multiply. Build it correctly or it becomes technical debt.
"I will just override this one property"One override becomes twenty. Use the system's theming mechanism.

Guardrails -- HALT

  • Overriding system styles with !important
  • Mixing two different component frameworks in one project
  • Rebuilding a component the system already ships
  • Ignoring the system's theming or token approach
  • Using raw HTML elements when system components exist
  • Creating components/custom/ alongside components/ui/
  • Adding standalone CSS files in a Tailwind project
  • Hard-coding hex colors when the system provides a palette
  • Installing a second UI library when one is already present

Every item on this list means: HALT. Consume the existing system.

Integration

Prerequisite knowledge:

  • godmode:ux-patterns -- Provides design references; this skill handles system-specific implementation

Complementary skills:

  • godmode:ui-engineering -- Implementation patterns that operate within design systems
  • godmode:project-bootstrap -- Initialize a design system during project setup

平台分布

Codex

34.64%
按下载量换算31

Claude

32.33%
按下载量换算29

Cursor

20.76%
按下载量换算18

Gemini CLI

9.74%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills