Communitygithub.com

aurora-ember-bio-lab/splatstudio

一个自包含的浮动聊天小部件,包含欢迎界面、社交链接、会议按钮和消息输入。单个HTML文件,零依赖。

splatstudio 是什么?

该技能会生成一个完全自包含的HTML文件,内含一个浮动聊天小部件,适合嵌入网站作为联系方式。它提供可自定义的聊天气泡、欢迎主界面(含虚拟形象、姓名、在线状态和问候语)、消息输入框、社交链接行(如Telegram、WhatsApp等),以及可选的“预约会议”按钮。还包括一个离线表单,当代理不可用时显示。整个输出是纯前端、无跟踪、无外部依赖,下载后即可离线使用。技能接受若干输入参数,如主题色、代理名称、问候语、在线状态和各个社交链接,并会依据用户提供的内容生成最终文件。还详细说明了后端集成的可选方式(从无后端、邮箱或API端点,到实时聊天SDK),但强调仅在用户明确要求时才注入相应代码。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/aurora-ember-bio-lab/splatstudio/tree/HEAD/design-templates/contact-widget

在你喜欢的 AI 中提问

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

文档

联系小部件

此技能产出的内容

一个自包含的HTML文件,内含一个浮动聊天小部件,包括:

  1. 聊天气泡 — 固定在右下角的圆形按钮,用于打开/关闭面板
  2. 欢迎主界面 — 代理虚拟形象 + 名称 + 在线状态 + 问候语
  3. 消息输入框 — 带表情符号/发送按钮的文本字段(仅UI;需自行对接后端)
  4. 社交链接 — 一排圆形图标(Telegram、WhatsApp、Instagram、Messenger、Discord、Slack — 仅显示用户提供的)
  5. 会议卡片 — 可选的“预约会议”入口,含日历图标,链接到用户提供的URL(如Calendly、Cal.com、Lark等)
  6. 离线表单 — 当is_available=false时显示的备用联系表单(姓名、邮箱、消息)
  7. 移动端响应式 — 在小屏幕下全宽显示

输出为纯前端。无跟踪、无回传、无必要的外部服务。加载后即可离线使用。

设计方向

简洁、极简的SaaS风格。看起来像真实的产品小部件,而非玩具演示:

  • 字体: Inter(Google Fonts),14px基准,半粗体标题
  • 颜色: 单个用户选择的primary_color驱动气泡、虚拟形象、发送按钮和强调色。其余部分使用中性石板色系(#1e293b / #64748b / #f1f5f9)。无紫色渐变、无玻璃态效果、无AI风格彩虹强调色。
  • 圆角: 卡片16px,气泡和虚拟形象全圆角
  • 阴影: 小部件面板0 8px 32px rgba(0,0,0,0.12),气泡0 4px 12px
  • 间距: 内部填充16px,元素间间距12px
  • 状态: 悬停时按钮变暗约5%,激活时气泡缩放0.95

输入参数

技能接受用户提供的以下参数:

输入参数类型默认值描述
primary_color颜色#4F7CFF驱动气泡、头部、发送按钮和强调色
agent_name字符串Assistant在头部问候语中显示
greeting字符串Hello! How can I help you today?头部中的副标题
is_available布尔值true在线状态;false时显示离线表单
social_telegram字符串(空)Telegram链接 — 为空时省略
social_whatsapp字符串(空)WhatsApp链接 — 为空时省略
social_instagram字符串(空)Instagram链接 — 为空时省略
meeting_url字符串(空)预约URL(Calendly、Cal.com等) — 为空时省略
offline_message字符串We're currently offline. Leave a message and we'll get back to you!当is_available=false时显示

工作流程

  1. 从请求和已知上下文中解析出主题色、代理名称、问候语、在线/离线状态、社交链接和可选的会议URL。使用文档中的默认值,并省略空的链接。仅当缺失某个值会实质性改变请求的小部件且无法安全地使用默认值时,才一次性询问用户。
  2. 生成一个HTML文件,将所有提供的值内联为字面量(无模板引擎,输出中无{{ }}占位符)
  3. 默认在首次渲染时打开小部件面板,以便预览效果
  4. 除非用户明确要求后端集成,否则不要添加任何指向第三方SDK的<script src="…">。输出必须能在本地磁盘运行,除了Google Fonts CSS外无需任何网络调用。

后端集成(仅按用户需求驱动)

生成的小部件是一个UI成品,默认不包含任何供应商代码。气泡、面板、社交链接和会议按钮开箱即用,无需后端。仅当用户希望实现双向对话时,才需要将消息输入框进行对接。

如果用户明确要求对接消息输入框到真实后端,按以下承诺递增顺序提供选项:

第一层 — 无后端(默认)

小部件已通过社交链接和会议URL作为联系界面工作。保持现状即可。

第二层 — 一次性消息,无聊天记录

  • mailto: 后备方案 — 将发送处理替换为window.location.href = 'mailto:[email protected]?subject=...&body=' + encodeURIComponent(text)。零基础设施,但会打开访客的邮件客户端。
  • 自有 /api/contact 端点 — fetch('/api/contact', { method: 'POST', body: JSON.stringify({ text }) })。用户自行处理投递(SendGrid、Resend、自建SMTP、Notion/Airtable webhook等)。

第三层 — 实时聊天(访客 ↔ 代理,聊天记录、正在输入、在线状态)

需要即时通讯/聊天SDK。以下任一均可,选择适合你技术栈的:

请勿自动向生成输出中注入任何<script>标签——仅当用户明确选择时才添加后端集成。

Individual skills in this repo

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

aurora-ember-bio-lab/splatstudio

Audio generation skill — jingles, beds, voiceover, and sound effects. Routes music requests to Suno V5 / Udio / Lyria, speech to MiniMax TTS / FishAudio / ElevenLabs V3, and SFX to ElevenLabs SFX or AudioCraft. Output is one MP3/WAV file saved to the project folder.

aurora-ember-bio-lab/splatstudio

A long-form article / blog post — masthead, hero image placeholder, article body with figures and pull quotes, author byline, related posts. Use when the brief asks for "blog", "article", "post", "essay", or "case study".

aurora-ember-bio-lab/splatstudio

Structured medical case presentation for clinical rounds, conferences, and documentation. Generates SOAP-format or narrative case reports with physiologically accurate vitals, labs, and evidence-based plans. Use when the brief mentions "case report", "case presentation", "SOAP note", "clinical case", "ward rounds", "case summary", or "patient presentation".

aurora-ember-bio-lab/splatstudio

Run a 5-dimension expert design review on any HTML artifact in the project — Philosophy / Visual hierarchy / Detail / Functionality / Innovation, each scored 0–10. Outputs a single self-contained HTML report with a radar chart, evidence-backed scores, and three lists: Keep / Fix / Quick-wins. Use when the brief asks for a "design review", "design critique", "5 维度评审", "design audit", or "what's wrong with my design".

aurora-ember-bio-lab/splatstudio

Admin / analytics dashboard in a single HTML file. Fixed left sidebar, top bar with user/search, main grid of KPI cards and one or two charts. Use when the brief asks for a "dashboard", "admin", "analytics", or "control panel" screen.

aurora-ember-bio-lab/splatstudio

A consumer-feeling dating / matchmaking dashboard — left rail navigation, ticker bar of community signals, headline KPIs, a 30-day mutual-matches bar chart, and a match-rate trend block. Editorial typography, restrained accent. Use when the brief asks for a "dating site", "matchmaking", "community dashboard", "social network dashboard", or any consumer product where the data is the story.

aurora-ember-bio-lab/splatstudio

Discounted cash flow valuation and intrinsic value analysis for public companies. Use when the brief asks for DCF, fair value, intrinsic value, price target, undervalued or overvalued analysis, or "what is this company worth?"

aurora-ember-bio-lab/splatstudio

A two-spread digital e-guide preview — page 1 is a cover (display title, author, "What's inside" stats, table of contents teaser); page 2 is a spread (lesson body with pull-quote and a step list). Lifestyle / creator brand tone. Use when the brief asks for an "e-guide", "digital guide", "lookbook", "lead magnet", "creator guide", "playbook", "PDF guide", or "电子指南".

aurora-ember-bio-lab/splatstudio

A documentation page — inline-start nav, scrollable article body, inline-end table of contents. Use when the brief mentions "docs", "documentation", "guide", "API reference", or "tutorial".

aurora-ember-bio-lab/splatstudio

A brand product-launch email — masthead with wordmark, hero image block, headline lockup with skewed-italic accent, body copy, primary CTA, and a specifications grid. Pure HTML email layout (centered single column, table fallback). Use when the brief asks for an "email", "newsletter blast", "MJML", "product launch email", or "email template".

aurora-ember-bio-lab/splatstudio

An engineering runbook — service overview, alerts table, dashboards links, common procedures with copy-pasteable commands, on-call rotation, and an incident-response checklist. Use when the brief mentions "runbook", "ops doc", "on-call guide", "SRE doc", or "运维手册".

aurora-ember-bio-lab/splatstudio

Quarterly / monthly financial report — masthead with KPIs, revenue and burn charts, P&L summary table, top-line highlights, and an outlook paragraph. Use when the brief mentions "financial report", "Q3 report", "MRR review", "P&L", or "财报".

aurora-ember-bio-lab/splatstudio

Team-management dashboard skill in the FlowAI aesthetic — three tabs (Team Members, Team Details, Activity Log), KPI stat row, member table, role distribution bar chart, online presence and activity sparklines, and a top-contributors panel, all in a single self-contained HTML file with light/dark theming, hoverable chart tooltips, click-to-zoom panels, and CSV export. Use when the brief asks for a team / workspace admin dashboard, an interactive admin dashboard with charts, or names FlowAI.

aurora-ember-bio-lab/splatstudio

A multi-frame gamified mobile-app prototype — three phone frames on a dark showcase stage. Frame 1: cover / poster, Frame 2: today's quests with XP ribbons and a level bar, Frame 3: quest detail. Vivid quest tiles, level ribbon, bottom tab bar. Use when the brief asks for a "gamified app", "habit tracker", "RPG-style life app", "level-up app", "daily quests", "XP / streak app", or "ELI5-style explainer app".

aurora-ember-bio-lab/splatstudio

GitHub repository analytics dashboard — stars, forks, contributors, issues, pull requests, recent activity, and top contributors. Use when the brief asks for a GitHub repo dashboard, open-source growth report, repository health page, or GitHub analytics view.

aurora-ember-bio-lab/splatstudio

For marketing and gtm work: bind launches, campaigns, events, and brand plans to growth and pipeline outcomes. Built around the core query "annual-marketing-plan", with GTM strategy lead judgment, buyer-ready proof, and this outcome: approve launch plan, campaign budget, or GTM motion.

aurora-ember-bio-lab/splatstudio

A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".

aurora-ember-bio-lab/splatstudio

A first-30-days onboarding module for new hospitality hires — the behaviors, the practice, the checks, and the manager follow-up. Built as a decision-grade professional training deck for new hires, managers.

aurora-ember-bio-lab/splatstudio

Produce a print-grade single-page kami (紙 / 纸) document — warm parchment canvas, ink-blue accent, serif at one weight, no italic, no cool grays. The output reads like a professional white paper or studio one-pager, not an app UI. Multilingual by design (EN · zh-CN · ja). One self-contained HTML file, zero dependencies.

aurora-ember-bio-lab/splatstudio

Single-page SaaS landing with hero, features, social proof, pricing, and CTA. Respects the active DESIGN.md color/typography/layout tokens. Trigger keywords: "saas landing", "marketing page", "product landing".

相关技能