Top CS Figure
Use the skill's static/dynamic layers; do not reconstruct visual grammar or export rules from memory.
Route the request
- Read
manifest.yamland every path underalways_load. - Detect
venue,paper_type, andvisual_family; resolvefigure_task,data_state,output_target, andfigure_handoffas runtime parameters. - State the route, data boundary, and output target in one short line.
- Load only the files mapped to the selected axis values.
- Open
references/only when anon_demandcondition applies, especially corpus visual style, statistics, archetypes, accessibility, provenance, revision audit, or spec rendering for figure production tasks. - Use
genericfor unsupported venue/year combinations and tell the user to verify current official formatting rules.
Execute
- Prefer an existing top-cs figure brief or render spec when provided; otherwise build a compact figure contract before plotting. Prefer the shared
figure-briefcontract when present. Preservefigure_id,claim_ids, research question, evidence status, panel jobs, caption draft, and manuscript callout. - If no brief exists, create a minimal figure contract before code: claim, data source, panel map, visual family, metric direction, final size, export formats, and unresolved inputs.
- Treat data availability as binding. Use supplied data for results; when data are missing, return missing-inputs or a clearly labeled layout mockup without invented values.
- Use
scripts/render_from_figure_spec.pywhen a YAML render spec and CSV/image source can make the figure repeatable. Prefer strict v3 specs; migrate v1/v2 inputs explicitly and record the migration. - Use Python/matplotlib for all plotting, previewing, exporting, and visual QA. Do not add R, Plotly, Altair, OpenRouter, or image-generation routes.
- Keep method colors, dataset labels, metric direction, baseline order, and terminology aligned with the manuscript.
- Resolve color through
palette_profile: require promoted style evidence and a usable co-occurrence profile for venue-derived mode; otherwise retain generic semantic roles. Report observed anchors, constructed tokens, accessibility metrics, and fallback reason. Never present corpus defaults as official venue rules or acceptance advice. - Export SVG as the primary editable artifact, plus PDF and PNG preview by default; add TIFF only for camera-ready or explicit submission bundles.
- Require plotted-data CSV, normalized spec, render manifest, SVG/PDF/PNG, and structured QA for produced result figures. Run
scripts/audit_figure_spec.pyfor a reproducibility record or revision comparison. - Return the fixed output sections from
static/core/output-format.md, including unresolved inputs and verification status.