From economist-agents
Use when validating Economist-style charts for publication. Defines the 5-gate rubric, approved palette, and common failure patterns. Referenced by visual-qa-agent and any pipeline that auto-rejects charts.
npx claudepluginhub oviney/economist-agentsThis skill uses the workspace's default tool permissions.
The visual quality rubric for all charts published through the economist-agents pipeline. Defines what "publication-ready" means for an Economist-style chart: red bar, beige background, inline labels, horizontal-only gridlines, and five layout gates that each must pass before publication.
Applies Acme Corporation brand guidelines including colors, fonts, layouts, and messaging to generated PowerPoint, Excel, and PDF documents.
Guides strict Test-Driven Development (TDD): write failing tests first for features, bugfixes, refactors before any production code. Enforces red-green-refactor cycle.
Share bugs, ideas, or general feedback.
The visual quality rubric for all charts published through the economist-agents pipeline. Defines what "publication-ready" means for an Economist-style chart: red bar, beige background, inline labels, horizontal-only gridlines, and five layout gates that each must pass before publication.
Consumed by visual-qa-agent (via Claude vision) and by src/crews/stage4_crew.py (deterministic chart-embed validation). A chart that fails any gate is rejected and the graphics agent is re-queued.
economist-writingresearch-sourcingEvery chart must pass all five gates. A single gate failure rejects the chart.
| Gate | Name | Key checks |
|---|---|---|
| 1 | Layout Integrity | Red bar fully visible, title below red bar (≥10px), no text or element overlap, no clipping, source line present |
| 2 | Typography | Title bold + readable, subtitle smaller + gray, axis labels legible, end-of-line data labels visible and non-overlapping |
| 3 | Economist Style | Red bar (#e3120b), warm beige/cream background (not white/gray), horizontal gridlines only (no vertical), no border/frame, approved colour palette |
| 4 | Data Integrity | All data points visible, values reasonable, end-of-line percentage labels present, y-axis starts at zero unless explicitly justified |
| 5 | Export Quality | Sharp (not blurry or pixelated), aspect ratio correct, no rendering artefacts |
#e3120b (or perceptually similar red — not orange, not magenta)#f5f5e8) — NOT white, NOT grayThe visual-qa-agent returns a structured JSON result per the gate schema documented in its ## Output Format section. Each gate entry has pass: true/false and issues: [...]. overall_pass is true only when all five gates pass.
| Rationalization | Reality |
|---|---|
| "White background looks cleaner" | Economist charts use warm beige; white is out-of-brand and makes them look like generic analytics dashboards |
| "Vertical gridlines help readers track values" | The Economist style deliberately omits them — they add visual noise |
| "A legend is clearer than inline labels at this scale" | Inline labels are brand-mandatory; if the chart is too crowded for inline labels, the chart has too many series |
| "Gate 4 is subjective — just pass it" | Y-axis at zero is an editorial standard that prevents misleading charts; only override with explicit editorial sign-off |
overall_pass: true when any gate.pass is false — the gate aggregation is brokenvisual-qa-agent runs all five gates on every chart image and emits the JSON result with overall_passsrc/crews/stage4_crew.py) gate: chart must be embedded in article before publication validator runspython scripts/generate_chart.py --preview renders a sample chart; verify beige background, red bar, and no legend box