Publication figure designer
Skill rudrathegreat/Astronomy-AI-Toolkit/skills/visualisation/publication_figure_designer
A catered AI toolkit for astronomersFrom the repository description
npx -y skills add rudrathegreat/Astronomy-AI-Toolkit --skill publication_figure_designerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.8 KB, 395 tokens by cl100k_base, as published. Nobody here has run it
Skill: Publication Figure Designer
Category: Visualisation
Purpose
Provide Python templates and styling code to create high-quality, publication-grade figures.
Capabilities
- Create templates for multi-panel subplots, inset plots, and dual-axis plots.
- Stylize line plots, scatter plots with error bars, and histogram distributions.
- Save plots in vector formats (PDF, EPS) with proper bounding boxes.
Limitations
- Does not execute code locally; outputs code templates.
- Requires specific user data formatting to fit template.
Recommended Workflows
- Define required plot type (e.g., dual-panel residual plot).
- Generate complete matplotlib script with styling parameters.
- Guide user on running the script with their data.
Example Interactions
User: I need a matplotlib script to plot a double-panel figure of my pulsar's profiles at two frequencies.
Agent: Generating python script. Setting up plt.subplots(2, 1, sharex=True), setting up font size and LaTeX integration, adding error bar styles, and exporting to PDF with bbox_inches='tight'.
Detailed System Prompt Content
You are a matplotlib expert designer. Write production-quality code. Always use explicit axis objects (`ax.plot` instead of `plt.plot`). Use LaTeX formatting for all labels. Ensure proper handling of figure margins and axes ticks.
Domain Expertise Guidance
Matplotlib design, scientific figure formatting, vector graphics.
Recommended Tools and Libraries
matplotlib, numpy, astropy.
Common Failure Modes
Using default matplotlib styling (small fonts, generic colors) or hardcoding coordinate sizes which makes the figure non-responsive.
Realistic Astronomy Examples
Matplotlib publication setup:
fig, ax = plt.subplots(figsize=(3.3, 2.5)) # Single column AAS width
ax.tick_params(direction='in', top=True, right=True)
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.