Communitygithub.com

coastdigitalgroup/coastai-skills

设计并实现定价网格和表格的系统化框架,管理层级层次结构、功能比较和计费逻辑,以降低认知负担并引导转化。

coastai-skills 是什么?

此技能提供了一个全面的方法论,用于构建 SaaS 产品、分层服务或其他多方案产品的定价表 UI。它侧重于通过战略性的空间布局,帮助用户轻松比较不同定价层级,理解其价值差异,并做出明智选择,从而减少认知过载。该技能输出包括定价卡片解剖、计费切换器规格、功能比较逻辑、推荐方案突出策略以及响应式堆叠方案。支持 Cursor 等 AI 编码助手,通过系统性的工作流、决策规则和验证标准,确保设计出的定价表具有高度可用性、可访问性,并针对转化进行了优化。它特别强调“三项法则”(三个层级为最佳)、价格突出性、一致的行动号召位置,以及清晰显示计费频率等,避免常见的设计陷阱。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/coastdigitalgroup/coastai-skills/tree/HEAD/website-design/pricing-table-ui-system

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

定价表UI系统

目的

定价表UI系统提供了一种方法论,用于设计定价层级在视觉和结构上的组织方式。它确保用户可以轻松比较方案、理解价值差异,并选择合适的选项,而不会造成认知负担。该系统关注层级的空间布局、功能的层次结构,以及支持购买决策的交互功能(如计费切换器)。

使用场景

  • 为SaaS应用程序设计订阅方案网格。
  • 构建分层服务产品(例如,代理商套餐)。
  • 为实体产品捆绑创建比较矩阵。
  • 在跨产品公司中标准化定价布局。
  • 实现响应式定价“卡片”,在移动设备上保持上下文。

何时不使用

  • 单一产品电商: 对于没有竞争层级的单个商品,请使用product-page-optimization。
  • 仅限企业定制报价: 如果每个价格都是“联系我们”,请专注于潜在客户捕获表单设计。
  • 纯数据比较: 用于比较10个以上项目的技术规格,请使用data-table-ui-system。
  • 动态/拍卖定价: 价格由竞标或实时市场波动决定。

输入

  1. 方案层级: 每个层级的名称、价格和目标受众。
  2. 功能清单: 按优先级分类的全面功能列表。
  3. 计费周期: 月度与年度计费选项以及相关折扣。
  4. 主要目标: 哪个方案是“黄金选择”或“最佳价值”选项?
  5. 品牌样式令牌: 来自父系统的间距、排版和颜色比例。

输出

  1. 定价网格结构: 层级卡片的定义(标题、价格、功能、行动号召按钮)。
  2. 计费切换器规格: 在不同支付条款之间切换的设计。
  3. 功能比较逻辑: 功能在不同层级间如何显示、隐藏或总结的规则。
  4. 层级突出策略: 用于强调推荐方案的视觉方法。
  5. 响应式堆叠方案: 网格如何适应移动视口。

工作流

1. 构建层级结构

将visual-hierarchy-system应用于单个定价卡片:

  • 标题: 方案名称和简短的价值主张(例如,“面向成长中的团队”)。
  • 价格区块: 货币、金额和间隔(例如,“/月”)。确保金额是最突出的元素。
  • 功能列表: 最重要的 5-7 个功能。
  • 行动号召按钮: 一个高对比度的按钮,用于选择方案。

2. 设计“锚点”层级(突出显示)

确定主要方案并使其在视觉上占主导地位:

  • 层次感: 使用微妙的阴影或边框使其“突出”。
  • 颜色: 对标题或行动号召按钮使用品牌色。
  • 徽标: 添加“最受欢迎”或“最佳价值”的丝带/徽标。
  • 尺寸: 相比相邻卡片,略微增加卡片的高度。

3. 建立计费逻辑

设计在计费周期(例如,月度与年度)之间切换的机制:

  • 切换器: 使用清晰的开关或标签式界面。
  • 折扣提示: 在年度选项附近明确说明节省金额(例如,“节省20%”)。
  • 上下文定价: 确保切换时卡片中的价格立即更新。

4. 管理功能比较

组织功能以防止“文字墙”:

  • 主要功能: 在顶部列出独特的价值驱动因素。
  • 功能分组: 如果列表很长,将相似功能分组(例如,“支持”、“安全”)。
  • 对勾与文字: 对二元功能使用图标(是/否),对限制使用文字(例如,“最多10个用户”)。
  • “显示全部”链接: 对于复杂层级,保持卡片简短,并提供指向下方完整比较表格的链接。

5. 定义响应式堆叠

规划网格在较小屏幕上的折叠方式:

  • 水平滚动与垂直堆叠: 在移动设备上,垂直堆叠层级以确保可读性。
  • 粘性标题: 对于垂直堆叠,考虑使用粘性栏,在用户滚动浏览功能时保持方案名称和价格可见。
  • 方案比较模式: 在移动设备上,如果垂直堆叠过长,允许用户通过“滑动”在层级之间进行水平比较。
  • 容器查询: 对于层级卡片本身,优先使用容器查询而非视口断点,因为定价网格通常嵌入在宽度变化的环境中(例如,首页板块与完整定价页面)。

决策规则

  • 三项法则: 三个层级(例如,基础版、专业版、企业版)是减少选择瘫痪的最佳数量。
  • 价格突出性: 价格应该是仅次于“最佳价值”徽标的第二突出元素。
  • 一致的行动号召: 所有层级在同一直垂直位置(通常与卡片底部对齐)都应该有一个行动号召按钮。
  • “无隐藏条款”规则: 始终在价格附近显示计费频率(例如,“29美元/月,按年计费”)。
  • 二元清晰度: 对包含的功能使用清晰、高对比度的对勾;对排除的功能使用柔和的“X”或直接省略,以避免负面的视觉噪音。

约束条件

  • 可访问性: 切换器必须可通过键盘访问,并通过aria-checked或aria-pressed暴露其状态。价格文本必须符合WCAG AA对比度(4.5:1),并且所有交互目标(切换器、行动号召按钮)必须满足WCAG 2.2的24x24像素最小目标尺寸(2.5.8)。
  • 响应式设计: 定价卡片绝不能有固定宽度;它们应该在responsive-grid-system内是流式的。
  • 货币支持: 设计时要考虑不同货币符号长度(例如,“10美元”与“1,000克朗”),并使用逻辑CSS属性(margin-inline、padding-inline),以便布局能正确适应RTL语言环境。

常见失败模式

  • 功能过多: 在单个卡片中列出20多个功能,导致无法扫描。
  • 不可见的切换器: 计费周期开关太小,用户不知道可以获得折扣。
  • “浮动行动号召按钮”: 按钮在卡片间未对齐,使网格看起来杂乱。
  • 模棱两可的定价: 直到结账时才说明价格是每用户还是统一费用。
  • 缺乏层级区分: 方案看起来非常相似,用户不知道该选哪一个。

验证标准

  • 层级之间存在清晰的视觉层次(推荐的层级被突出显示)。
  • 价格是层次名称之后最突出的元素。
  • 计费切换器清晰可见,并能即时更新价格。
  • 每个卡片的功能限制在最顶层的5-7个。
  • 网格中所有卡片的行动号召按钮水平对齐。
  • 移动视图垂直堆叠卡片,或提供可访问的滑动模式。
  • 所有交互元素(切换器、按钮)均可通过键盘访问。
  • 价格和徽标的对比度达到WCAG AA标准。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for progressive disclosure using accordions, ensuring structural integrity, visual affordances, and accessibility across different content densities and devices.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for long-form content, managing readability, vertical rhythm, and information density to ensure a superior reading experience.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for informational elements that communicate state (Badges) and categorization (Tags) with clarity and accessibility.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for non-overlay notifications, managing global announcements and contextual inline alerts to communicate system states without interrupting the user's flow.

coastdigitalgroup/coastai-skills

Design and implement a systematic, asymmetrical bento-grid layout framework to organize diverse content types cohesively while maintaining strict visual hierarchy, logical focus order, and responsive flexibility.

coastdigitalgroup/coastai-skills

Design a responsive, mobile-first bottom navigation bar and persistent action dock system for mobile websites and web applications, establishing spatial anchors, tab bar anatomy, badge indicators, thumb-zone ergonomics, safe area inset handling, active/inactive state contrast, and desktop responsive adaptation rules.

coastdigitalgroup/coastai-skills

Design a mobile-first bottom sheet overlay system with configurable detents, drag affordances, safe area padding, responsive desktop modal/popover adaptation, and WCAG AA accessibility compliance.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for secondary navigation trails that provide orientation, context, and one-click access to parent levels in deep information architectures.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for buttons and interactive triggers, managing visual hierarchy, variant logic, and action grouping to ensure clear intent and accessible interaction.

coastdigitalgroup/coastai-skills

Design a systematic framework for date and time selection, managing calendar grids, range pickers, and scheduling interfaces to ensure precision and accessibility.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for modular content containers that maintain hierarchy, structural integrity, and action alignment across variable content and responsive viewports.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for horizontal discovery components, managing navigation affordances, scroll behavior, and accessibility to ensure effective content density without compromising usability.

coastdigitalgroup/coastai-skills

Design a systematic, highly accessible, and developer-friendly UI layout framework for code blocks, snippet showcases, multi-file code tabs, line-highlighting, diff views, and syntax token contrast in technical documentation and developer platforms.

coastdigitalgroup/coastai-skills

Design a systematic framework for global command menus (Cmd+K panels) that combines keyboard-driven navigation, command execution, and shortcut discovery into an accessible, responsive overlay.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for threaded conversations, managing nesting depths, action hierarchies, and community signaling to foster engagement and readability.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for side-by-side comparison interfaces, managing high attribute density and responsive complexity to support informed decision-making.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for user privacy, managing consent banners, preference centers, and persistent privacy controls to balance legal compliance with user trust.

coastdigitalgroup/coastai-skills

Design and implement a systematic, highly accessible, and responsive visual layout framework for conversational chat widgets, live chat boxes, and chatbot panels that ensures clear message scannability, native focus flow, and seamless mobile keyboard adaptation.

coastdigitalgroup/coastai-skills

Design a systematic, accessible, and high-conversion framework for custom select dropdowns and comboboxes, defining anatomy, states, search-filtering, and responsive mobile-adaptive patterns.

coastdigitalgroup/coastai-skills

Design and implement a systematic color palette that ensures WCAG 2.2 accessibility compliance. Trigger this skill when asked to define brand colors, create UI themes, or establish a visual system for a website.

相关技能