Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

baseline-ui基线用户界面

Agent Skill

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

总安装

372

周安装

16

GitHub Stars

公开资料未说明

下载量

131
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/colaberryintern/colaberryenterprise_ai_leadershipaccelerator --skill baseline-ui

简介

baseline-ui 提供企业级设计系统参考,规范界面视觉与交互标准。

  • 包含色彩 token、响应式断点、布局组件等前端样式定义。
  • 适用于构建一致的产品界面,提升开发效率与设计还原度。
  • 修改前应查阅全局 CSS 与组件源码,避免破坏现有样式体系。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Baseline UI — Design System Reference

When invoked, read and reference these canonical source files before answering any design question:

  • frontend/src/styles/global.css — design tokens (CSS custom properties)
  • frontend/src/styles/responsive.css — breakpoints, accessibility rules
  • frontend/src/components/Layout/AdminLayout.tsx — admin shell layout

Color Palette (CSS Custom Properties)

TokenValueUsage
--color-primary#1a365dNavy — headings, primary buttons, brand
--color-primary-light#2b6cb0Links, hover states, focus outlines
--color-secondary#e53e3eRed — CTAs, warnings, destructive actions
--color-accent#38a169Green — success states, positive indicators
--color-bg#ffffffPage background
--color-bg-alt#f7fafcAlternate section backgrounds
--color-text#2d3748Body text
--color-text-light#718096Muted/secondary text
--color-border#e2e8f0Card borders, dividers

Rule: Never hardcode hex values. Always use var(--color-*) in CSS or reference Bootstrap utility classes that map to these values.


Typography

  • Font stack: 'Segoe UI', system-ui, -apple-system, sans-serif
  • Headings: font-weight: 700, line-height: 1.2, color: var(--color-primary)
  • Body: line-height: 1.6, color: var(--color-text)
  • Links: color: var(--color-primary-light), underline on hover

Spacing & Layout

  • Max width: --max-width: 1200px
  • Section padding: 4rem 0 (desktop), 2.5rem 0 (mobile), 3rem 0 (tablet)
  • Container: max-width: var(--max-width), padding: 0 1rem
  • Admin shell: Dark navbar (navbar-dark bg-dark), bg-light main area, container py-4 content wrapper

Bootstrap 5 Component Patterns

These are the canonical patterns used throughout the admin UI:

Cards

<div class="card border-0 shadow-sm mb-4">
  <div class="card-header bg-white fw-semibold">Title</div>
  <div class="card-body">Content</div>
</div>

KPI Stat Cards

<div class="col-md-3">
  <div class="card border-0 shadow-sm">
    <div class="card-body text-center p-3">
      <div class="fs-4 fw-bold text-primary">42</div>
      <div class="text-muted small">Metric Label</div>
    </div>
  </div>
</div>

Data Tables

<div class="table-responsive">
  <table class="table table-hover mb-0">
    <thead class="table-light">...</thead>
    <tbody>...</tbody>
  </table>
</div>

Tab Navigation

<ul class="nav nav-tabs mb-4">
  <li class="nav-item">
    <button class="nav-link active" onClick={...}>Tab Label</button>
  </li>
</ul>

Badges

<span class="badge bg-success">active</span>
<span class="badge bg-warning">paused</span>
<span class="badge bg-info">completed</span>
<span class="badge bg-secondary">draft</span>
<span class="badge bg-danger">TEST MODE</span>

Filter Bars

<div class="d-flex gap-2 mb-3 flex-wrap align-items-center">
  <input class="form-control form-control-sm" style="max-width: 250px" placeholder="Search..." />
  <select class="form-select form-select-sm" style="max-width: 150px">...</select>
  <div class="ms-auto d-flex gap-2">
    <button class="btn btn-outline-primary btn-sm">Action</button>
  </div>
</div>

Buttons

<button class="btn btn-primary btn-sm">Primary</button>
<button class="btn btn-outline-secondary btn-sm">Secondary</button>
<button class="btn btn-outline-danger btn-sm">Danger</button>
<button class="btn btn-success btn-sm">Success</button>

Form Controls

<label class="form-label small fw-medium">Label</label>
<input class="form-control form-control-sm" />
<div class="form-text">Helper text</div>

<!-- Toggle switch -->
<div class="form-check form-switch">
  <input class="form-check-input" type="checkbox" id="sw-id" />
  <label class="form-check-label small" for="sw-id">
    <span class="fw-medium">Title</span><br />
    <span class="text-muted">Description</span>
  </label>
</div>

Modal Overlays

<div class="modal show d-block" style="backgroundColor: 'rgba(0,0,0,0.5)'">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Title</h5>
        <button class="btn-close" onClick={onClose} />
      </div>
      <div class="modal-body" style="max-height: 500px; overflow: auto">...</div>
      <div class="modal-footer">...</div>
    </div>
  </div>
</div>

Custom CSS Classes (from global.css)

ClassPurpose
.card-liftHover: translateY(-4px) + deeper shadow
.fade-in-sectionScroll-triggered fade + slide-up animation
.badge-labelSmall-caps uppercase label badge
.agent-cardBordered card with hover lift for agent/feature cards
.callout-boxLeft-bordered gradient callout for emphasis
.timeline-horizontalHorizontal step timeline
.skip-navSkip navigation link for accessibility
.hero-bgHero section with gradient overlay
.btn-accentSecondary red CTA button

Responsive Breakpoints

BreakpointRangeKey adjustments
Mobile< 576pxSmaller headings, reduced padding, stacked layouts
Tablet576px – 992pxMedium headings, intermediate padding
Desktop> 992pxFull layout, default spacing
Touch targets< 992pxMin 44px height/width on buttons, inputs, links
iOS zoom prevention< 992pxfont-size: 16px on form controls

Accessibility Patterns

  • Focus: outline: 3px solid var(--color-primary-light), outline-offset: 2px on :focus-visible
  • Reduced motion: All animations/transitions → 0.01ms when prefers-reduced-motion: reduce
  • High contrast: Cards get 2px solid borders, .text-muted becomes full contrast, outline buttons get 2px borders

Existing Reusable Components

ComponentPathUsage
TemperatureBadgefrontend/src/components/TemperatureBadge.tsxColor-coded lead temperature pill (cold/cool/warm/hot/qualified)
LeadDetailModalfrontend/src/components/campaign/LeadDetailModal.tsxPer-lead drill-down with timeline + temperature history
AdminLayoutfrontend/src/components/Layout/AdminLayout.tsxAdmin page shell with dark navbar

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.61%
按下载量换算47

Claude

30.68%
按下载量换算40

Cursor

21.33%
按下载量换算28

Gemini CLI

8.86%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/colaberryintern/colaberryenterprise_ai_leadershipaccelerator --skill baseline-ui 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills