fdu-ins/insurance-skills/ai-insights-and-ux-copy

Claude Code and agent skill by fdu-ins/insurance-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

AI-powered insights, UX copywriting standards, and user experience guidelines for vehicle insurance platform. Use when designing insight panels, writing user-facing copy, implementing status messages, creating onboarding flows, or improving accessibility. Covers tone standards, interactive patterns, error messages, and empty states.

Install

npx vskill@latest install fdu-ins/insurance-skills/ai-insights-and-ux-copy

SKILL.md

The same SKILL.md was published earlier as fdu-ins/insurance-skills/ai-insights-and-ux-copy.

AI Insights and UX Copy Guidelines

Comprehensive user experience and copywriting standards for vehicle insurance data analysis platform, focusing on professional tone, actionable insights, accessibility, and consistent interaction patterns.

When to Use This Skill

Activate this skill when you need to:

  • Write or review user-facing copy (messages, labels, buttons)
  • Design AI insight panels or recommendation systems
  • Implement status messages (loading, success, error, empty)
  • Create onboarding flows or user guidance
  • Improve accessibility (ARIA labels, keyboard navigation, color contrast)
  • Standardize interaction patterns across the platform
  • Write help text or tooltip content

📝 一、AI 功能文案规范 (AI Copy Standards)

1.1 语气标准 (Tone Guidelines)

核心原则: 专业、简洁、友好

专业 (Professional)

✅ 推荐:

  • "数据加载完成,共加载 5,123 条记录"
  • "检测到 23 条异常数据,建议人工复核"
  • "映射覆盖率 98.5%,8 名业务员未匹配"

❌ 避免:

  • "哇!数据太多啦!" (过于随意)
  • "糟糕,出错了..." (缺乏专业性)
  • "你的数据有问题哦~" (不够正式)
简洁 (Concise)

✅ 推荐:

  • "刷新成功" (3 字)
  • "保费总计 125.4 万元" (10 字)
  • "筛选已应用" (5 字)

❌ 避免:

  • "您的数据刷新操作已经成功完成了" (冗长)
  • "当前筛选条件已经被成功应用到数据集中" (啰嗦)
友好 (Friendly)

✅ 推荐:

  • "加载中,请稍候..." (礼貌、耐心)
  • "未找到匹配数据,请调整筛选条件" (建设性)
  • "首次使用?查看使用指南" (主动帮助)

❌ 避免:

  • "等着..." (不礼貌)
  • "没数据" (生硬)
  • "RTFM" (不友好)
1.2 文案分类模板 (Copy Templates)
A. 操作提示 (Action Prompts)
场景文案模板示例
数据刷新"正在刷新数据...""正在刷新数据,预计需要 30 秒"
筛选应用"应用筛选中...""应用筛选中,共 3 个条件"
导出数据"正在生成 {格式} 文件...""正在生成 Excel 文件..."
图表加载"加载 {图表名称}...""加载周对比图表..."

实现示例:

javascript
// frontend/src/utils/copy.js
export const ACTION_PROMPTS = {
dataRefresh: (progress) => progress ? `正在刷新数据 (${progress}%)` : '正在刷新数据...',
filterApply: (count) => `应用筛选中${count > 0 ? `,共 ${count} 个条件` : ''}`,
exportFile: (format) => `正在生成 ${format} 文件...`,
chartLoad: (name) => `加载${name}...`
}
B. 成功消息 (Success Messages)
场景文案模板图标
数据刷新成功"数据刷新成功,最新日期: {日期}"✓
筛选成功"筛选已应用,找到 {数量} 条记录"✓
导出成功"{文件名} 已下载"✓
设置保存"设置已保存"✓

实现示例:

javascript
export const SUCCESS_MESSAGES = {
dataRefresh: (date) => ({
title: '数据刷新成功',
message: `最新日期: ${date}`,
type: 'success',
duration: 3000
}),
filterApply: (count) => ({
message: `筛选已应用,找到 ${count.toLocaleString()} 条记录`,
type: 'success',
duration: 2000
}),
exportFile: (filename) => ({
message: `${filename} 已下载`,
type: 'success',
duration: 2500
})
}
C. 错误消息 (Error Messages)

原则: 说明问题 + 提供解决方案

场景文案模板解决方案
网络错误"无法连接服务器""请检查网络连接,或稍后重试"
数据加载失败"数据加载失败""请刷新页面或联系管理员"
文件格式错误"不支持的文件格式""请上传 .xlsx 或 .csv 文件"
权限不足"无权限访问""请联系管理员开通权限"

实现示例:

javascript
export const ERROR_MESSAGES = {
networkError: () => ({
title: '无法连接服务器',
message: '请检查网络连接,或稍后重试',
type: 'error',
duration: 5000
}),
dataLoadFailed: (reason) => ({
title: '数据加载失败',
message: reason || '请刷新页面或联系管理员',
type: 'error',
duration: 5000
}),
invalidFileFormat: (accepted) => ({
title: '不支持的文件格式',
message: `请上传 ${accepted.join(' 或 ')} 文件`,
type: 'error',
duration: 4000
})
}
D. 警告消息 (Warning Messages)
场景文案模板严重程度
数据质量低"数据质量评分较低 ({分数}分)"⚠️ 中
异常值多"发现 {数量} 条异常数据"⚠️ 中
映射缺失"{数量} 名业务员未匹配"ℹ️ 低
日期范围大"数据跨度超过 90 天,可能影响性能"ℹ️ 低

实现示例:

javascript
export const WARNING_MESSAGES = {
lowQualityScore: (score) => ({
title: '数据质量提醒',
message: `数据质量评分较低 (${score}分),建议检查数据源`,
type: 'warning',
duration: 4000
}),
highOutlierCount: (count) => ({
message: `发现 ${count} 条异常数据,建议人工复核`,
type: 'warning',
duration: 3500
})
}
E. 帮助文本 (Help Text)

格式: 简短说明 (1 句话) + 详细说明 (可选)

元素简短说明详细说明
三级机构筛选"选择业务员所属机构""数据将仅显示该机构所有业务员的保单"
周对比图表"对比最近 3 周同星期的业绩""例如: 对比最近 3 个周一的保费数据,识别周期性规律"
保费口径"签单/批改保费净额""包含退保和批改调整,可能为负数"
KPI 三口径"当日、近 7 天、近 30 天""所有时间范围从锚定日期向前推算(含当日)"

实现示例:

vue
<!-- Tooltip 组件使用 -->
<template>
<div class="field-label">
<label>三级机构</label>
<Tooltip :title="HELP_TEXT.institutionFilter.title">
<template #content>
<p>{{ HELP_TEXT.institutionFilter.detail }}</p>
</template>
<InfoIcon class="help-icon" />
</Tooltip>
</div>
</template>
<script setup>
const HELP_TEXT = {
institutionFilter: {
title: '选择业务员所属机构',
detail: '数据将仅显示该机构所有业务员的保单'
},
weekComparison: {
title: '对比最近 3 周同星期的业绩',
detail: '例如: 对比最近 3 个周一的保费数据,识别周期性规律'
}
}
</script>
1.3 数值格式化规范 (Number Formatting)
类型格式规则示例
保费(大)万元,保留 1 位小数125.4 万元
保费(小)元,整数1,234 元
百分比保留 1 位小数 + %23.5%
数量千分位分隔5,123 条
日期(短)YYYY-MM-DD2025-11-08
日期(长)YYYY年MM月DD日2025年11月08日
时间HH:MM:SS14:30:25

实现示例:

javascript
// frontend/src/utils/format.js
export const formatters = {
// 保费格式化
premium: (value) => {
if (value === null || value === undefined) return '-'
const absValue = Math.abs(value)
const sign = value < 0 ? '-' : ''
if (absValue >= 10000) {
return `${sign}${(absValue / 10000).toFixed(1)} 万元`
}
return `${sign}${absValue.toLocaleString('zh-CN')} 元`
},
// 百分比格式化
percentage: (value, decimals = 1) => {
if (value === null || value === undefined) return '-'
return `${(value * 100).toFixed(decimals)}%`
},
// 数量格式化
count: (value) => {
if (value === null || value === undefined) return '-'
return `${value.toLocaleString('zh-CN')} 条`
},
// 日期格式化
date: (value, format = 'short') => {
if (!value) return '-'
const date = new Date(value)
if (format === 'short') {
return date.toISOString().split('T')[0] // YYYY-MM-DD
}
return `${date.getFullYear()}年${String(date.getMonth() + 1).padStart(2, '0')}月${String(date.getDate()).padStart(2, '0')}日`
}
}
1.4 按钮与操作文案 (Button & Action Copy)
操作类型主按钮次按钮危险操作
确认"确定""取消"-
提交"提交""重置"-
保存"保存""放弃修改"-
删除-"取消""确认删除"
刷新"立即刷新""稍后"-
导出"导出""取消"-

实现示例:

vue
<template>
<!-- 标准操作按钮组 -->
<div class="button-group">
<button class="btn btn--primary" @click="handleConfirm">
{{ BUTTON_TEXT.confirm }}
</button>
<button class="btn btn--secondary" @click="handleCancel">
{{ BUTTON_TEXT.cancel }}
</button>
</div>
<!-- 危险操作确认 -->
<div class="button-group">
<button class="btn btn--danger" @click="handleDelete">
{{ BUTTON_TEXT.confirmDelete }}
</button>
<button class="btn btn--secondary" @click="handleCancel">
{{ BUTTON_TEXT.cancel }}
</button>
</div>
</template>
<script setup>
const BUTTON_TEXT = {
confirm: '确定',
cancel: '取消',
submit: '提交',
reset: '重置',
save: '保存',
discard: '放弃修改',
confirmDelete: '确认删除',
refresh: '立即刷新',
export: '导出'
}
</script>

🎨 二、洞察面板设计 (Insight Panel Design)

2.1 布局结构 (Layout Structure)

层次结构:

Dashboard (页面)
├── Header (顶栏)
│ ├── Logo & Title
│ ├── Date Display
│ └── Actions (刷新/设置/帮助)
├── GlobalFilterPanel (全局筛选)
│ ├── Filter Controls
│ └── Active Filters Display
├── KPI Overview (KPI 总览)
│ ├── KpiCard × 3 (保费/数量/手续费)
│ └── Period Toggle (当日/近7天/近30天)
├── Insights Panel (洞察面板) ⭐ 核心
│ ├── Insight Card 1 (趋势洞察)
│ ├── Insight Card 2 (异常检测)
│ ├── Insight Card 3 (排名对比)
│ └── Insight Card 4 (建议行动)
└── Charts Section (图表区)
├── WeekComparisonChart
├── PieChartCard × 3
└── StaffPerformanceChart
2.2 洞察卡片结构 (Insight Card Structure)

标准卡片组件:

vue
<template>
<div class="insight-card">
<!-- 卡片头部 -->
<div class="insight-card__header">
<div class="insight-card__icon" :class="`insight-card__icon--${type}`">
{{ iconMap[type] }}
</div>
<div class="insight-card__title">
{{ title }}
</div>
<div class="insight-card__badge" v-if="badge">
{{ badge }}
</div>
</div>
<!-- 卡片内容 -->
<div class="insight-card__content">
<div class="insight-card__metric" v-if="metric">
<span class="insight-card__value">{{ metric.value }}</span>
<span class="insight-card__unit">{{ metric.unit }}</span>
<span class="insight-card__change" :class="changeClass">
{{ metric.change }}
</span>
</div>
<div class="insight-card__description">
{{ description }}
</div>
</div>
<!-- 卡片底部(操作/详情) -->
<div class="insight-card__footer" v-if="hasAction">
<button class="insight-card__action" @click="handleAction">
{{ actionText }} →
</button>
</div>
</div>
</template>
<script setup>
const props = defineProps({
type: {
type: String,
default: 'info',
validator: (v) => ['trend', 'anomaly', 'ranking', 'recommendation'].includes(v)
},
title: String,
badge: String,
metric: Object, // { value, unit, change }
description: String,
actionText: String,
hasAction: Boolean
})
const iconMap = {
trend: '📈',
anomaly: '⚠️',
ranking: '🏆',
recommendation: '💡'
}
const changeClass = computed(() => {
if (!props.metric?.change) return ''
return props.metric.change.startsWith('+') ? 'positive' : 'negative'
})
const emit = defineEmits(['action'])
const handleAction = () => {
emit('action')
}
</script>
2.3 洞察类型与文案 (Insight Types)
A. 趋势洞察 (Trend Insights)

目的: 识别业务增长或下降趋势

文案模板:

趋势类型标题描述模板Badge
上升"保费增长明显""近 7 天保费环比上涨 {百分比},较上周同期增长 {金额}"🔥 热门
下降"业务量下滑""近 7 天签单量环比下降 {百分比},建议关注业务情况"⚠️ 警告
稳定"业绩保持稳定""近 7 天日均保费波动小于 5%,业务运行平稳"✓ 正常

实现示例:

javascript
export function generateTrendInsight(currentPremium, lastWeekPremium) {
const change = ((currentPremium - lastWeekPremium) / lastWeekPremium) * 100
const absChange = Math.abs(currentPremium - lastWeekPremium)
if (change > 10) {
return {
type: 'trend',
title: '保费增长明显',
badge: '🔥 热门',
metric: {
value: formatters.percentage(change / 100),
unit: '环比增长',
change: `+${formatters.premium(absChange)}`
},
description: `近 7 天保费环比上涨 ${formatters.percentage(change / 100)},较上周同期增长 ${formatters.premium(absChange)}`,
hasAction: true,
actionText: '查看明细'
}
} else if (change < -10) {
return {
type: 'trend',
title: '业务量下滑',
badge: '⚠️ 警告',
metric: {
value: formatters.percentage(Math.abs(change) / 100),
unit: '环比下降',
change: `-${formatters.premium(absChange)}`
},
description: `近 7 天签单量环比下降 ${formatters.percentage(Math.abs(change) / 100)},建议关注业务情况`,
hasAction: true,
actionText: '查看原因'
}
} else {
return {
type: 'trend',
title: '业绩保持稳定',
badge: '✓ 正常',
description: '近 7 天日均保费波动小于 10%,业务运行平稳',
hasAction: false
}
}
}
B. 异常检测 (Anomaly Detection)

目的: 发现数据质量问题或业务异常

文案模板:

异常类型标题描述模板严重度
数据质量"数据质量需关注""发现 {数量} 条异常数据,质量评分 {分数}分"中
机构集中"机构集中度过高""{机构名} 占比 {百分比},建议分散业务风险"高
周末激增"周末业务异常激增""周末保费是工作日 {倍数}倍,请核实数据"高
映射缺失"业务员映射不完整""{数量} 名业务员未匹配,可能影响机构统计准确性"低

实现示例:

javascript
export function generateAnomalyInsights(qualityReport, businessMetrics) {
const insights = []

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
75
Repository forks
19
7-day trend score
22

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/fdu-ins/insurance-skills/ai-insights-and-ux-copy/badge)](https://verified-skill.com/skills/fdu-ins/insurance-skills/ai-insights-and-ux-copy)

Something wrong with this skill or its page? Tell us.