sajor2000/methodsmith / plugins/methodsmith/skills/method-figure
method-figure
VerifiedCreates and validates publication figures (ggplot2, matplotlib) with a journal-neutral clinical style and manifest. Use when the user wants a Kaplan-Meier, forest, calibration, ROC, or multi-panel figure.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 8.3 KB |
| assets/clinical.mplstyle | other | 1.4 KB |
| assets/clinical_style.py | script | 27.5 KB |
| assets/theme_clinical.R | other | 27.3 KB |
| references/figure-spec.md | markdown | 1015 B |
| references/figure-style-guide.md | markdown | 18.0 KB |
| references/figure-style-profiles.yaml | config | 3.1 KB |
| references/r-and-python-recipes.md | markdown | 13.5 KB |
| scripts/validate_figure_manifest.py | script | 5.4 KB |
references/figure-spec.md
View on GitHub# Figure Manifest Specification
Each figure entry must be traceable to the analysis and manuscript contract.
| Field | Required | Meaning |
|---|---|---|
| `figure_id` | Yes | Stable figure identifier, such as `fig1` |
| `sap_section` | Yes | SAP section the figure supports |
| `source_data` | Yes | Repo-relative data file used to render the figure |
| `source_code` | Yes | Repo-relative script or notebook that renders the figure |
| `output_path` | Yes | Repo-relative exported figure path |
| `caption` | Yes | Manuscript-ready caption draft |
| `alt_text` | Yes | Accessibility text for HTML/manuscript packages |
| `style_profile` | Yes | Figure style profile: `clinical-standard` (default) or a journal override such as `jama` or `generic-biomedical` |
| `checklist_items` | Recommended | Reporting-guideline items this figure supports |
Do not package native statistical-software figures as the only deliverable. Export vector or high-resolution raster files alongside the source code and source data.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |