publication-chart-skill
This skill should be used when the user asks for a publication-quality scientific figure or table, wants help choosing the right chart for results, needs a paper-ready pubfig or pubtab workflow, wants a figure + companion table for a results section, wants an Excel sheet turned into publication-ready LaTeX, or wants an existing scientific figure/table reviewed and upgraded.
What this skill does
# Publication Chart Skill ## Goal Use this skill to turn research results into **publication-grade figures and tables** with an end-to-end workflow. Primary production stack: - **`pubfig`** for figures - **`pubtab`** for publication tables This skill covers the full delivery chain: 1. understand the scientific communication goal, 2. choose the right artifact type, 3. map the task to `pubfig`, `pubtab`, or both, 4. generate concrete runnable instructions, 5. export paper-ready assets, 6. run publication QA, 7. propose targeted revisions. ## Use this skill when Trigger this skill for requests like: - “make a publication-quality figure” - “choose the right chart for these results” - “turn these results into a paper-ready figure” - “make a benchmark / ablation / calibration / forest / heatmap / scatter / line / bar figure” - “make a benchmark / appendix / ablation table from Excel” - “convert this Excel table into publication-ready LaTeX” - “prepare one summary figure plus one companion table for the results section” - “review and improve this scientific figure/table” - “I already have a weak chart / screenshot / draft plot — make it publication-ready” - “export panels for a paper figure” ## Do not use this skill for Do **not** use this skill when the task is mainly: - manuscript prose writing, - statistical testing without artifact design, - raw exploratory analysis with no publication deliverable, - Figma-first layout work before the figure/table content is solid. For simple composite assembly after the figure content is already strong, use the optional secondary workflow in `references/composite-assembly.md`. ## Primary contract ### Inputs Expect some combination of: - the scientific communication goal, - available data shape, - venue or style constraints, - whether the artifact is a figure, table, or mixed deliverable, - optional existing assets such as code, spreadsheets, `.tex`, screenshots, or draft plots, - whether the user needs a first draft, a publication-ready artifact, or a review/revision pass. ### Outputs The minimum useful output is: - the recommended figure/table form, - the recommended `pubfig` / `pubtab` route, - a minimal runnable code snippet or CLI command, - explicit export filenames and formats, - a publication QA summary, - and, when needed, a revision plan. ## Default workflow ### 0. Probe the environment and artifact state Before generating anything, identify: - whether `pubfig` or `pubtab` is actually available, - whether the user already has code / spreadsheets / `.tex` / screenshots, - whether the deliverable is a fresh build or a revision, - whether the result needs exact values, fast visual perception, or both. Prefer the smallest environment check that helps execution. When the bundled helper script is available, use it first: - `python3 scripts/ensure_publication_tooling.py --require pubfig --json` - `python3 scripts/ensure_publication_tooling.py --require pubtab --json` Equivalent manual checks are still acceptable when needed: - `python -c "import pubfig; print(pubfig.__version__)"` - `python -c "import pubtab; print(pubtab.__version__)"` - `pubtab --help` Report the result clearly as **available** or **missing**. If a dependency is missing and the task requires runnable execution: - **auto-install it by default**, - prefer the user’s active environment instead of guessing a random global interpreter, - use `python3 scripts/ensure_publication_tooling.py --require ...` as the default bundled route when the script is present, - let that helper choose `uv` vs `python -m pip` against the active interpreter, - re-run the availability probe after installation, - and only then continue with the artifact workflow. Equivalent concrete commands include: - `python3 scripts/ensure_publication_tooling.py --require pubfig` - `python3 scripts/ensure_publication_tooling.py --require pubtab` - `uv pip install pubfig` - `uv pip install pubtab` - `python -m pip install pubfig` - `python -m pip install pubtab` If auto-install fails, report the exact failure and then degrade gracefully. Do not block on a full environment audit. ### 1. Classify the task Classify the request along these axes: - **artifact type**: figure / table / mixed deliverable - **maturity**: exploratory draft / publication-ready generation / revision of an existing artifact - **structure**: single panel / multi-panel / figure-plus-table package - **evidence mode**: pattern perception / exact value lookup / both Do not jump into plotting code before the communication target is clear. Before plotting research results, lock the evidence contract: - primary scientific claim, - unit of analysis, - primary metric and metric direction, - whether repeated rows are independent, - missing cells or incomplete comparison blocks, - error-bar basis: subject, subject-task, fold, seed, run, or bootstrap sample, - whether exact values need a companion table, - whether the current evidence allows a winner/significance claim. If these are unclear, ask or produce an audit recommendation instead of a polished figure. Do not create a paper-ready plot while the unit of analysis, missing-cell handling, or error-bar basis is unresolved. ### 2. Choose the representation Choose the representation based on the scientific claim, not novelty or visual flair. Common families: - **comparison** — grouped scatter, bar, line comparison, benchmark summary, companion table - **ablation** — grouped comparison, dumbbell, paired comparison, compact table - **distribution** — box, violin, raincloud, histogram, density, ECDF, QQ - **relationship** — scatter, bubble, contour2d, hexbin - **trend** — line, area - **evaluation / diagnostic** — calibration, ROC, PR, Bland–Altman, forest plot, volcano - **composition / hierarchy** — UpSet, stacked ratio, donut, radial hierarchy, circular grouped or stacked bars - **table** — benchmark table, ablation table, dataset summary, appendix table, error breakdown Avoid weak defaults: - avoid pie/donut when exact comparison matters and a bar/table is clearer, - avoid radar unless the comparison is genuinely profile-like and low-cardinality, - avoid 3D, decorative gradients, and dense legends used only for style, - avoid forcing every result into a figure when a publication table communicates the evidence better. If the request is ambiguous, explicitly state what scientific claim the artifact is supposed to support. ### 3. Map to the toolchain Default mapping: - **Figures** → `pubfig` - **Tables** → `pubtab` - **Mixed deliverables** → use both, with each artifact carrying a distinct role Tool roles: - `pubfig` is the default figure engine for scientific plots and paper-ready export. - `pubtab` is the default table engine for Excel ↔ LaTeX workflows, preview, and publication-ready table export. - Figma/composite assembly is an **optional secondary branch** for multi-panel finishing. Route selection rules: - prefer **Python** for `pubfig` figure generation, - prefer **CLI** for `pubtab` when the task is file-driven, - prefer **Python** for `pubtab` when the task is already inside a notebook or scripted pipeline, - keep the figure and table responsibilities separate in mixed requests. ### 4. Generate concrete artifact instructions Prefer the smallest production-ready artifact first: - minimal runnable Python for `pubfig`, or - minimal CLI/Python for `pubtab` Then add publication parameters only when justified: - labels, caption, width, export format, backend, preview, panel packaging, or composite layout. Keep filenames and suffixes explicit. Good defaults: - figures: one `pubfig` call + one `save_figure(...)` - multiple figure outputs: `batch_export(...)` - tables: one `pubtab xlsx2tex ...` or `pubtab.preview ...` - mixed requests: one figure route + one table route, clearly separated ### 5. Define the delivery contract For every response, make these explicit when possible: - the claim the artifact supports, -
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.