compute-methods
Environment-verified friction sheets for field-standard computational tools (Rydberg pair interactions, QEC circuits, qLDPC decoding, code distance, atom…
Publication-quality data plots via matplotlib with venue-specific styles. Use for generating your own figures (timelines, comparison charts, data summaries, heatmaps) that you add to the LaTeX report. Your brain prompt supplies the venue-specific style directory as
$ npx -y skills add Muuuun/luxas --skill matplotlib-figures --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/matplotlib-figuresContext preview
The summary Claude sees to decide when to auto-load this skill.
Publication-quality data plots via matplotlib with venue-specific styles. Use for generating your own figures (timelines, comparison charts, data summaries, heatmaps) that you add to the LaTeX report. Your brain prompt supplies the venue-specific style directory as
name: matplotlib-figures
description: Publication-quality data plots via matplotlib with venue-specific styles. Use for generating your own figures (timelines, comparison charts, data summaries, heatmaps) that you add to the LaTeX report. Your brain prompt supplies the venue-specific style directory as {{VENUE_SPECIFIC_DIR}} — use that value wherever this skill writes `<VENUE_SPECIFIC_DIR>`.`python3 <luxas_root>/skills/matplotlib-figures/scripts/figspec <name>.figspec.json` renders a declarative spec (series as CSV references, one highlight, reference lines, bands) through a fixed template that owns style, marker policy, occupancy-aware label placement and legends. Grammar: `references/figspec_schema.md`. **The grammar is strict (figures v4, 2026-09-05)**: an unknown key is an error naming the key to use; exit 2 means the figure is not done (a label that could not be placed, more than five series, a page-tall layout) and `compile_latex` reads the same findings from `<pdf>.figlint.json`. Energy-level diagrams go through `skills/figure/scripts/levelspec` (grammar `skills/figure/references/levelspec_schema.md`). The archetype/figlint workflow below remains for figure classes the spec cannot express (dot matrices, comparison planes); a plain y(x) figure written in raw matplotlib by an agent is a defect.
All generated figures MUST be publication-quality: load a venue-matched style, save as vector PDF, use colorblind-safe palettes.
When you have determined the target venue, copy BOTH the matching matplotlib style template AND the domain style guide to your project (half-upgrading only the mplstyle recreates the figstyle/guide palette divergence). Your brain prompt supplies the venue-specific directory as `{{VENUE_SPECIFIC_DIR}}`:
cp {{VENUE_SPECIFIC_DIR}}figstyles/<style>.mplstyle report/figstyle.mplstyle
cp <luxas_root>/skills/figure/style_guides/<domain>.md report/figures/style_guide.md**Style map:**
| Venue | Style file | Notes | |---|---|---| | Physics (PRL, PRX, APS journals) | `physics-aps.mplstyle` | CM fonts, LaTeX, 600 DPI | | CS conferences (NeurIPS, ICML, ICLR) | `cs-conferences.mplstyle` | sans-serif, 300 DPI | | Nature / Science / Cell / PNAS | `nature-science.mplstyle` | Arial, compact, 300 DPI | | Chemistry (JACS, ACS journals) | `chemistry-acs.mplstyle` | Arial, 300 DPI |
import matplotlib.pyplot as plt
plt.style.use('report/figstyle.mplstyle')fig.savefig('report/figures/fig_name.pdf')Do NOT write a figure from scratch. `references/` holds polished archetypes — each embodies the design language (`references/DESIGN.md`) and passes figlint:
| archetype | use it for | |---|---| | `archetype_comparison.py` | cross-study/scheme rankings; any "who is best and why" (log dot plot + two-quantity plane with iso-product lines) | | `archetype_scan.py` | any y(x) parameter scan: shaded regimes, direct-labelled lines, annotated crossing | | `archetype_matrix.py` | sparse categorical counts: dot matrix, zeros white, sorted by totals |
Copy the nearest one, keep every design rule (the comments say which line is a rule), replace the data. This is the same exemplar discipline as the survey outline (`skills/review/references/exemplar_survey_outline.md`): imitate the skeleton, do not re-derive the shape — re-derivation is how the shipped 660×-on-linear and dark-heatmap failures happened.
Never run a plot script bare. Run it through the mechanical linter that ships with this skill:
python3 <luxas_root>/skills/matplotlib-figures/scripts/figlint <your_plot_script.py>
It executes the script with `savefig` patched and reports, per saved figure:
Every ERROR must be fixed before the figure is used. Exit 2 = errors; do not `|| true` it.
An autonomous research colleague — from a question to a compiled manuscript, while you sleep.
Repo: Muuuun/luxas
Environment-verified friction sheets for field-standard computational tools (Rydberg pair interactions, QEC circuits, qLDPC decoding, code distance, atom…
Hybrid figure pipeline (Nano Banana raster + rembg background removal + TikZ vector assembly). Includes a TikZ template library covering quantum circuits…
Cross-project research memory. Deep-dive past projects' notes, record corrections, and save cross-project insights across all Luxas research projects.
Narrative discipline for research reports — article-type templates (empirical / feasibility / comparison / policy-zh) and the feedback revision protocol that…
Extract figures from downloaded papers and include them in survey/review reports. Use when the report covers other groups' work and benefits from their…
Verifier-in-the-loop CONSTRUCTION of quantum error-correcting codes with transversal non-Clifford gates (CCZ/T). Applies whenever the project goal is a new or…