跳到主要内容

data-viz-deck 标准

Transform audit data, performance reports, and structured analyses into polished visual deliverables. Generates presentation decks (PPTX), interactive HTML dashboards, or styled markdown reports with charts. Includes a customizable design system with forest green accent and warm cream backgrounds. Use when the user has analysis data and needs a visual deliverable.

在 GitHub 打开

安装方式

cp -r skills/data-viz-deck ~/.claude/skills/data-viz-deck

把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/

整仓一次性获取:git clone --depth 1 https://github.com/thatrebeccarae/claude-marketing.git

依赖与权限

  • 无需 API Key
  • 需要联网访问外部服务
  • 依赖外部命令:git python pip make
  • 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。

SKILL.md 正文

来源 thatrebeccarae/claude-marketing@a8a63ec · 许可 MIT · 内容未修改

Data Visualization & Deck Builder

Transform structured data and analysis into polished visual deliverables: presentation decks, interactive dashboards, and visual reports.

Install

git clone https://github.com/thatrebeccarae/claude-marketing.git && cp -r claude-marketing/skills/data-viz-deck ~/.claude/skills/

When to Use This Skill

  • User has completed an audit or analysis and wants a visual deliverable
  • User says "make a deck," "create a presentation," "build a dashboard," "visualize this"
  • User wants to turn a markdown report into client-ready slides
  • User needs charts, tables, or visual summaries from performance data

Output Formats

1. PPTX Deck (Primary)

Native PowerPoint with editable charts, styled tables, and professional layouts. Best for client handoffs and presentations.

Requires: python-pptx (installed), pandas (installed)

2. Interactive HTML Dashboard

Single-file HTML with plotly.js charts (loaded via CDN), filterable tables, and responsive layout. Best for sharing interactive reports.

Requires: jinja2 (installed), pandas (installed). Plotly.js loaded via CDN at runtime.

3. Visual Markdown Report

Enhanced markdown with embedded chart images (requires matplotlib: pip install matplotlib). Best for vault reports and documentation.

Workflow

Step 1: Identify the Data Source

Read the source file (audit markdown, CSV, JSON, or database query results). Parse the key metrics, tables, and findings into a pandas DataFrame or structured dict.

Step 2: Select Chart Types

Data PatternChart TypeWhen to Use
Categories with valuesBar chart (horizontal)Revenue by category
Categories + benchmarkBar chart with reference linePerformance vs benchmark
Parts of a wholeDoughnut/Pie chartRevenue concentration, channel mix
Values over timeLine chartTrend data, period-over-period
Two variablesScatter plotCorrelation analysis
Performance scoringHeatmap tableColor-coded metrics (green/amber/red)
Before/after or gapsWaterfall chartRevenue opportunity sizing
Ranked itemsHorizontal barTop 10 sorted
FunnelsFunnel chartDelivered > opened > clicked > converted
Status overviewScorecard/KPI tilesExecutive summary metrics

Step 3: Apply the Design System

All deliverables use a configurable design system. Override the color tokens and font choices to match your brand.

Color Palette

COLORS = {
    # Brand accent -- change to your brand color
    "accent":      "#3D7A5C",  # Forest green
    "accent_light":"#6AB88A",  # Light green

    # Chart series (ordered for visual distinction)
    "series": ["#3D7A5C", "#6AB88A", "#8B7EC8", "#D4845A", "#C9A84C", "#C75B6F", "#93C9A8", "#8B949E"],

    # Semantic
    "good":        "#2E8B57",  # Green -- above benchmark
    "warning":     "#D97706",  # Amber -- watch
    "critical":    "#C0392B",  # Red -- action needed
    "neutral":     "#8B949E",  # Slate -- no judgment

    # Dark mode (title slides, section dividers)
    "bg_deep":     "#141414",
    "bg_surface":  "#1E1E1E",
    "text_bright": "#F0F3F6",
    "text_secondary_dark": "#9CA3AF",

    # Light mode (content slides -- the default)
    "bg_light":    "#FAF7F2",  # Warm cream, NOT white
    "bg_surface_light": "#F2EDE6",
    "text_primary":"#0F0E0E",
    "text_secondary": "#57606A",
    "text_muted":  "#8B949E",
}

Color rules:

  • Light mode (#FAF7F2 warm cream) is default for all content slides. NOT white.
  • Dark mode (#141414) only for: title slides, section dividers, closing slides.
  • Accent color used sparingly: top-performing bars, key metrics, accent callouts.
  • Semantic colors (green/amber/red) only for status indicators, never decoration.

Typography (PPTX)

FONTS = {
    "title":    "Switzer",        # Slide titles -- Light (300), 28-36pt, NOT bold
    "subtitle": "Switzer",        # Subtitles -- Regular (400), 18-22pt
    "body":     "Switzer",        # Body text -- Regular (400), 12-14pt
    "data":     "Cartograph CF",  # Numbers, tables -- Regular/Bold, 11-12pt
    "kpi":      "Cartograph CF",  # KPI big numbers -- Bold (700), 44-60pt
    "label":    "Cartograph CF",  # ALL CAPS labels -- Regular, 9-10pt, +tracking
}
# Fallbacks: Switzer -> Inter -> system-ui | Cartograph CF -> Consolas -> monospace

Critical typography rules:

  1. Headlines use Light weight, NOT Bold. Light at large sizes = confident, premium.
  2. Monospace font for ALL numeric/data content. KPIs, table numbers, labels, footers.
  3. Negative tracking on headlines. -0.03em to -0.04em.
  4. Positive tracking on ALL CAPS labels. +0.08em to +0.1em.

Slide Layouts

Every deck follows this structure:

1. Title Slide         -- Report name, date (dark mode)
2. Executive Summary   -- 3-5 KPI tiles + key findings bullets
3. Scorecard           -- Color-coded performance overview table
4. Deep Dive slides    -- One per major finding (chart + insight + recommendation)
5. Opportunity Sizing  -- Waterfall or bar chart of revenue opportunities
6. Recommendations     -- Prioritized table (Quick Wins / Strategic / Maintenance)
7. Appendix            -- Full data tables

Slide Dimensions (python-pptx)

Width:  13.333"
Height: 7.5"
Aspect: 16:9

Step 4: Generate the Deliverable

Follow the code patterns in REFERENCE.md for the chosen output format.

Key Principles

  1. One insight per slide. Never cram multiple findings onto one slide. Each deep-dive slide has: chart (left 60%), insight + recommendation (right 40%).
  1. Lead with the number. Every slide title should contain the key metric: "Post-Purchase RPR at $0.07 -- 14x Below Benchmark" not "Post-Purchase Flow Analysis."
  1. Benchmark everything. Never show a metric without context. Show the benchmark, the gap, and what closing the gap is worth.
  1. Color = meaning. Green means good/above benchmark. Amber means watch. Red means action needed. Never use color decoratively in data slides.
  1. Simplify chart data. Max 6-8 items per chart. Aggregate the tail into "Other."
  1. Executive summary is the deck. If someone only reads slide 2, they should understand the full story.
  1. Never estimate when actuals exist. If the data has exact values, compute precise totals.
  1. No white backgrounds. Always warm cream #FAF7F2 for light content.
  1. No bold headlines. Light weight for all hero/section titles.

For complete code templates and reference, see [REFERENCE.md](REFERENCE.md).

质量与来源

所属仓库
thatrebeccarae/claude-marketing
仓库星标
163
最近更新
5 个月前
采集时间
今天
commit
a8a63ec1341f
内容指纹
sha256:0022704166f3613
文件路径
skills/data-viz-deck/SKILL.md

同仓库其它 Skill

查看全部 50 个
ab-testing-framework
A/B and multivariate testing methodology. Design experiments, calculate sample sizes, determine statistical significance, avoid common pitfalls, and interpret results. Platform-agnostic framework applicable to landing pages, emails, ads, pricing, and product features. Use when the user asks about A/B testing, split testing, experiment design, statistical significance, or conversion experiments.
thatrebeccarae/claude-marketing 163 原文
Claude CodeGemini CLIMCP 客户端
account-structure-review
Google and Meta paid media account structure evaluation. Audits campaign/ad set architecture against conversion volume minimums, budget thresholds, and targeting overlap. Identifies over-segmentation, under-segmentation, budget fragmentation, and structural anti-patterns blocking algorithmic learning. Provides consolidation roadmaps with migration plans. Use when inheriting accounts, quarterly health checks, or before scaling budgets.
thatrebeccarae/claude-marketing 163 原文
Claude CodeGemini CLIMCP 客户端
aeo-geo-optimizer
Answer Engine Optimization (AEO) and Generative Engine Optimization (GEO) specialist. Optimize content and websites to appear in AI-generated answers from ChatGPT, Perplexity, Claude, Google AI Overviews, and other LLM-powered search experiences. Use when the user asks about AI search optimization, AEO, GEO, AI Overviews, appearing in AI answers, LLM citations, or optimizing for generative search.
thatrebeccarae/claude-marketing 163 原文
Claude CodeGemini CLIMCP 客户端
brand-dna
Extract brand identity from a website URL — voice, colors, typography, imagery, values, and target audience — into a structured brand-profile.json. The profile feeds downstream skills (seo-content-writer, email-composer, frontend-design, pro-deck-builder, cross-platform-audit) for brand-consistent output. Use when the user says brand DNA, brand profile, extract brand, analyze brand, brand voice, brand identity, brand colors, or brand style guide.
thatrebeccarae/claude-marketing 163 原文
Claude CodeGemini CLIMCP 客户端
brand-voice-guidelines
Develop brand voice, tone matrices, messaging frameworks, and brand book documentation. Use when the user asks about brand voice, tone of voice, brand guidelines, messaging framework, or brand consistency.
thatrebeccarae/claude-marketing 163 原文
Claude CodeGemini CLIMCP 客户端
braze
Braze customer engagement platform expertise. Audit campaigns, Canvases, segments, messaging channels, and data architecture. Use when the user asks about Braze, customer engagement, push notifications, in-app messaging, cross-channel orchestration, or lifecycle marketing at scale.
thatrebeccarae/claude-marketing 163 原文
Claude CodeGemini CLIMCP 客户端