Communitygithub.com

aurora-ember-bio-lab/splatstudio

自包含的浮動聊天小工具,包含歡迎畫面、社交連結、會議按鈕與訊息輸入框。單一 HTML 檔案,零依賴。

splatstudio 是什麼?

此技能可生成一個完全自包含的單一 HTML 檔案,內含一個浮動聊天小工具,無需任何外部依賴或網路請求(Google Fonts 除外)。它提供可直接使用的前端 UI:固定於右下角的聊天氣泡、可展開的面板、含頭像與狀態的歡迎畫面、統一樣式的社交連結列(Telegram、WhatsApp、Instagram 等)、可選的會議預約按鈕,以及當代理離線時自動顯示的聯絡表單。所有元素皆可透過參數設定,例如主色調、代理名稱、問候語與社交連結。此技能專注於展示層,訊息輸入框僅限 UI,不會預設注入任何後端整合;唯有在用戶明確要求時,才可加入 mailto 替代方案、自訂 API 端點,或選用 Chatwoot、Crisp、Intercom 等即時聊天 SDK。輸出風格乾淨、極簡,類似 SaaS 產品,採用 Inter 字體、中性色調與柔和陰影,並完全支援行動裝置響應式設計。

相容平台~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_colorcolor#4F7CFF驅動氣泡、標題、傳送按鈕、強調色
agent_namestringAssistant在標題問候中顯示
greetingstringHello! How can I help you today?標題中的副標題
is_availablebooleantrue線上狀態;false 時顯示離線表單
social_telegramstring(空白)Telegram 連結 — 空白時省略
social_whatsappstring(空白)WhatsApp 連結 — 空白時省略
social_instagramstring(空白)Instagram 連結 — 空白時省略
meeting_urlstring(空白)預約 URL(Calendly、Cal.com 等)— 空白時省略
offline_messagestringWe'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 成品,預設不包含任何第三方程式碼。氣泡、面板、社交連結與會議按鈕無需後端即可直接運作。只有訊息輸入框需要串接,若用戶希望實現雙向對話。

如果用戶明確要求將訊息輸入框串接至真實後端,依投入程度提供以下選項:

第 1 層 — 無後端(預設)

小工具已可透過社交連結 + 會議 URL 作為聯絡管道。維持原樣即可。

第 2 層 — 一次性訊息,無聊天記錄

  • mailto: 替代方案 — 將 send 處理函式取代為 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 網路鉤子等)。

第 3 層 — 即時聊天(訪客 ↔ 代理、歷史記錄、打字狀態、在線狀態)

這需要 IM/聊天 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".

相關技能