AGENT SKILL

insurvas-ui

Expert-level Frontend UI generation based on the specific 'Insurvas' design system (Green theme). Enforces pixel-perfect consistency, spacing, card alignment, and micro-animations using React, Tailwind CSS, and shadcn/ui. Use when building UI components for the Insurvas insurance CRM, applying green theme styling, or implementing data-dense dashboards with forest green color palette.

License 许可
Apache-2.0
最近更新
2026-07-12
Stars
★ 82
Forks
18

01 前言 Front Matter

name
insurvas-ui
description
Expert-level Frontend UI generation based on the specific 'Insurvas' design system (Green theme). Enforces pixel-perfect consistency, spacing, card alignment, and micro-animations using React, Tailwind CSS, and shadcn/ui. Use when building UI components for the Insurvas insurance CRM, applying green theme styling, or implementing data-dense dashboards with forest green color palette.

03 SKILL.md 正文

Insurvas UI Design System

Expert-level Frontend UI generation for the Insurvas insurance CRM. Enforces pixel-perfect consistency with a premium, muted green aesthetic.

Core Design Tokens

1. Pixel-Perfect Alignment & Spacing

Adhere strictly to a 4pt spacing grid (4, 8, 12, 16, 20, 24...).

Page Layout:

  • Full-height fixed Sidebar (left)
  • Full-height, padded Main Content area (right)
  • Main heading is top-left; control groups (search, buttons) align to the right

Card Grid:

  • Stat cards in horizontally flowing grid with even spacing (gap-6)
  • Equal height and width in their grid context

Containers:

  • Large containers: p-6 or p-8
  • Small sub-components: p-4

2. Color Palette (Insurvas Green Theme)

Token Value Purpose Tailwind
bg-sidebar #233217 Deep Forest Green (sidebar) bg-[#233217]
bg-main #EEF5EE Very Pale Mint Green (main area) bg-[#EEF5EE]
bg-card #FFFFFF Pure White (cards) bg-white
text-sidebar #C2D5C2 Soft Light Green (sidebar items) text-[#C2D5C2]
text-sidebar-hover #FFFFFF Pure White (active/hover) text-white
text-primary #233217 Deep Forest Green (H1, main text) text-[#233217]
text-secondary #647864 Muted Medium Green (labels) text-[#647864]
border-border #D2E1D2 Light Grey-Green (dividers) border-[#D2E1D2]
bg-accent #DCEBDC Light Accent Green (toggles) bg-[#DCEBDC]

3. Typography & Consistency

  • Font: Clean geometric sans-serif (Inter, Poppins)
  • Hierarchy: H1 large and bold; card labels smaller and muted
  • Rounding: Consistent rounded-xl or rounded-lg universally

4. Component Styling (shadcn/ui)

Stats Cards:

  • White background, rounded-xl, subtle border-border
  • Large dark green value, small muted green label
  • Icon positioned top-right

Search Bar:

  • rounded-lg, subtle background (bg-[#EEF5EE]), inset search icon

Buttons:

  • Primary: Deep forest green (#233217) background
  • Secondary: Clean outline style
  • Include hover: and focus-visible: states

Data Table:

  • Clean, minimal dividers
  • Bold green headers, clear row alignment

5. Micro-Animations

Apply transition-all duration-150 ease-in-out universally.

Element Animation
Sidebar items hover:scale-[1.01], color fade to white
Active sidebar Vertical indicator line (pseudo-element :after)
Stat cards hover:shadow-md, hover:-translate-y-0.5
Buttons active:scale-[0.98]
Form controls Subtle background fill on focus
Table rows Subtle highlight on hover

Execution Workflow

When building or modifying UI:

  1. Analyze the component request against design principles
  2. Establish layout (Sidebar vs. Main Content)
  3. Implement using React + Tailwind + shadcn/ui primitives
  4. Apply design tokens (colors, spacing, rounding)
  5. Add micro-animations (duration-150) to interactive elements
  6. Verify alignment and spacing consistency before outputting code

Do/Don't

Do Don't
Enforce precise alignment Eye-ball alignment
Use exact gap-6/gap-8 for grids Let components drift apart
Stick to extracted color palette Use generic Tailwind greens
Map deep green to theme extension Use inline colors for primary bg
Add 150ms fade to hover states Use instant state changes
Use correct bg-accent for toggles Build toggles from scratch

04 同仓库更多 Skills

FDU-INS
FDU-INS/Insurance-Skills

로인장 (Roinjiang)

Activates when the user needs legal advice, contract review, insurance law consultation, startup legal support, or any legal/regulatory matter. She is a top-tier in-house lawyer with absolute loyalty to the CEO, specializing in insurance law, financial consumer protection, privacy, contracts, labor law, family law, civil and criminal matters.

★ 82
FDU-INS
FDU-INS/Insurance-Skills

zocdoc-doctor-finder

Use when a user needs to find a doctor, dentist, specialist, therapist, or healthcare provider — especially when they mention insurance, in-network, availability, location, appointments, or booking. Also use for browsing provider reviews, comparing doctors by specialty, or checking if a provider takes their insurance.

★ 82
FDU-INS
FDU-INS/Insurance-Skills

zenmux-context

Answers any question about ZenMux by reading the latest official documentation. Use this skill whenever the user asks about ZenMux product features, API usage, configuration, integration, pricing, models, providers, routing, fallback, streaming, multimodal, structured output, tool calling, reasoning, prompt caching, image generation, video generation, web search, long context, observability, logs, cost tracking, usage analytics, insurance, subscription, pay-as-you-go, invoices, best practices for tools like Claude Code, Cursor, Cline, CodeX, Gemini CLI, opencode, Cherry Studio, Obsidian, Sider, Open-WebUI, Dify, Neovate, GitHub Copilot, OpenClaw, CC-Switch, Immersive Translate, Studio Chat, architecture, benchmarks, FAQ, contact, privacy, terms of service, compliance, or any other ZenMux-related topic. Also trigger when the user writes in Chinese about ZenMux: 文档, 使用指南, 快速开始, API 参考, 最佳实践, 模型路由, 供应商路由, 订阅, 按量计费, 可观测性, 帮助, 常见问题, 接入指南, 配置. Trigger on phrases like "how to use ZenMux", "ZenMux docs", "ZenMux API", "ZenMux integration", "ZenMux 怎么用", "ZenMux 接入", "ZenMux 配置". Even if the user doesn't say "ZenMux" explicitly but asks about LLM API aggregation, model routing, provider fallback in a context where ZenMux is the project being worked on, this skill should activate.

★ 82
FDU-INS
FDU-INS/Insurance-Skills

workers-comp-guide

Guide workers compensation compliance and claims management. TRIGGERS - Use when user needs help with workers-comp-guide related tasks.

★ 82
FDU-INS
FDU-INS/Insurance-Skills

weekly-kpi-report

Generate McKinsey-style board presentation PPTs from weekly auto insurance data. Automatically calculates 16+ KPIs, creates executive-level slides with actionable insights, and supports week-over-week comparisons. Use when user uploads insurance cost data (Excel/CSV) and requests board report, weekly presentation, executive briefing, or mentions keywords like 董事会汇报, 周报PPT, 经营分析演示, McKinsey-style reports.

★ 82
FDU-INS
FDU-INS/Insurance-Skills

wealth-advisory

Wealth management and financial planning for HNW and UHNW clients. Activate when the user mentions wealth management, financial planning, retirement, estate planning, tax planning, GRAT, IDGT, trust, asset allocation, withdrawal rate, Monte Carlo simulation, goals-based investing, tax-loss harvesting, Roth conversion, insurance, annuity, mortgage strategy, concentrated stock, family office, direct indexing, 529 plan, charitable giving, donor-advised fund, private foundation, or asks about personal finance strategy, inheritance, long-term financial planning, or UHNW advisory.

★ 82