CommunityImagegithub.com

classic-cs-figure-style

Enforce pre-AI-era CS Best Paper (1978-2014 SOSP/OSDI/SIGCOMM/NSDI/SIGMOD/ATC) figure aesthetics for all academic and technical diagrams, system architectures, protocol/state-machine schematics, and evaluation plots (CDF, line, bar, small multiples). Use whenever creating, editing, or reviewing charts, diagrams, matplotlib/TikZ/SVG/Mermaid/draw.io figures, or image-generation prompts for technical illustrations.

What is classic-cs-figure-style?

classic-cs-figure-style is a Claude Code agent skill that enforce pre-AI-era CS Best Paper (1978-2014 SOSP/OSDI/SIGCOMM/NSDI/SIGMOD/ATC) figure aesthetics for all academic and technical diagrams, system architectures, protocol/state-machine schematics, and evaluation plots (CDF, line, bar, small multiples). Use whenever creating, editing, or reviewing charts, diagrams, matplotlib/TikZ/SVG/Mermaid/draw.io figures, or image-generation prompts for technical illustrations.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/bbbbbbbbbbb114/classic-cs-figure-style/tree/HEAD

Installed? Explore more Image skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Classic CS Best Paper Figure Style (Pre-AI Era)

Apply the functional, high-clarity visual language of pre-AI-era CS Best Papers (SOSP, OSDI, SIGCOMM, NSDI, SIGMOD, USENIX ATC, CGO, ~1978–2014) to all technical figures and data plots.

For ready-to-use Matplotlib templates, classic paper visual prototypes, and diagramming snippets, read templates.md.

Core Principles

  1. Form Follows Function: Treat every figure as an engineering blueprint, never a marketing poster. Zero decorative clutter.
  2. Maximize Data-Ink Ratio (Tufte): Remove 3D effects, perspective cuboids, drop shadows, gradients, glowing edges, and cartoon/AI-slop icons.
  3. Print-First / Grayscale-Safe: Every series, bar, and architectural layer must remain 100% distinguishable when printed on a black-and-white laser printer. Never rely on color alone.
  4. One Core Abstraction per Figure: Prefer 2–3 focused, clean figures (e.g., Raft's state machine, term timeline, and log grid) over one overcrowded diagram.

Hard Style Rules

1. Color Palette & Redundant Encoding

  • Default Backbone (Monochrome/Grayscale):
    • White fill: #FFFFFF
    • Subtle layer tint (10%–15% gray): #F2F2F2 / #E6E6E6
    • Secondary border/element: #999999
    • Dark charcoal text/line: #333333
    • Pure black primary stroke/label: #000000
  • Functional Accent Colors (Optional, strictly <= 3 muted hues):
    • Avoid neon colors, MS Office defaults, and jet colormaps.
    • Preferred muted academic accents:
      • Primary / Our System (Muted Navy): #2B5C8F
      • Bottleneck / Conflict / Alert (Muted Brick): #B84A39
      • Baseline / Secondary (Muted Olive or Warm Slate): #4A7C59 / #7A6A53
  • Mandatory Redundant Encoding:
    • Line/CDF plots: Combine distinct line styles (-, --, -., :) with distinct open/filled markers (o, s, ^, D, x).
    • Bar charts: Combine grayscale/muted fills with hatch patterns ("", "///", "xxx", "...").

2. Architecture & Protocol Geometry

  • Orthogonal Routing: Use straight horizontal/vertical connectors with 90-degree bends. Avoid sweeping freehand curves.
  • Stroke Weight Hierarchy:
    • Gridlines / minor dividers: 0.4pt – 0.5pt (light gray dotted/dashed)
    • Standard boxes / axes: 0.8pt – 1.0pt (black solid)
    • Critical data path / primary result curve: 1.5pt – 2.0pt (bold solid)
  • Fixed Shape Semantics:
    • Sharp rectangle: Physical node, server, process, or kernel module.
    • Stacked offset rectangles: Persistent storage, append-only log, table, or file shards.
    • Rounded rectangle / oval: Abstract operation, client, or functional transform (e.g., Map, Reduce).
    • Dashed outer box: Machine boundary, trust domain, or logical group.
    • Solid vs. Dashed Arrows: Solid = Data Path (fast/bulk); Dashed = Control Path (metadata/RPC/heartbeat).
    • Numbered Arrows (1., 2., 3.): Always number multi-step protocol interactions sequentially.
  • Consistent Flow Direction: Strictly top-to-bottom (layering) or left-to-right (pipeline).

3. Typography & Sizing

  • Font Family: Match paper body serif (Computer Modern, Times New Roman, DejaVu Serif) for plots; clean sans-serif (Helvetica, Arial) is acceptable for compact architecture labels. Never mix more than 2 font families.
  • Target Print Width: Design directly at single-column (3.3 – 3.5 in) or double-column (6.8 – 7.0 in) width so final rendered text is 8pt – 10pt.
  • Units & Math: Italicize mathematical variables ($N$, $p_{99}$); enclose units in parentheses or after a slash (Latency (ms), Throughput (kops/s)).
  • Vector First: Export to PDF, SVG, or EPS. If raster output is required, use at least 300–600 DPI.

4. Evaluation Plots (CDF, Line, Bar, Small Multiples)

  • Axes & Ticks: Closed 4-spine frame (or clean bottom-left L-frame), inward-facing ticks (direction='in'), subtle light-gray dotted grid (alpha=0.35) to aid percentile reading.
  • Honest Baselines: Bar charts must start at 0. Use log scales ($\log_2$ / $\log_{10}$) for tail latencies (p99/p99.9) or multi-order speedups, with explicit axis labeling.
  • Uncertainty: Include error bars or confidence intervals for empirical measurements with variance.
  • Legends & Multi-Series: Place legends inside empty plot space or horizontally across the top. When comparing more than 4–5 series, switch to Small Multiples sharing uniform axes.

5. Self-Contained Captions

Never write title-only captions (e.g., Figure 2: System Overview.). Always include:

  1. What the figure depicts,
  2. Key visual encoding (e.g., solid vs. dashed arrows, hatch meaning),
  3. The main takeaway or insight the reader should observe.

Pre-Delivery Validation Checklist

Before finalizing any figure or plot, verify all 6 items:

  1. Grayscale Check: Still 100% readable and distinguishable in pure black-and-white?
  2. Zero Clutter: No 3D effects, gradients, shadows, neon hues, or decorative icons?
  3. Orthogonal & Aligned: Clean grid alignment, consistent flow direction, explicit Control vs. Data path distinction?
  4. Column-Scale Legibility: Every label, tick, and step number readable at 3.5 in column width?
  5. Data Integrity: Bar charts start at 0, units & log bases labeled, error bars present where applicable?
  6. Self-Contained Caption: Understandable without reading the surrounding body text?

Related Skills