agentleFS
DeadpoolmineDeadpoolmine/systematic-research-skills/skills/paper-plot/SKILL.md

paper-plot

Skill14 starsChanged 4 months agoMITView on GitHub

Use when generating or polishing figures for academic papers. Use when the user mentions drawing paper figures, making architecture diagrams, flowcharts, comparison tables, concept diagrams, data plots, or needs PPT-based figure generation.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every level commits to git.

    line 33
  2. Very specific:

    Do NOT proceed to P1 until: template slide cleaned of ALL existing shapes (the generator auto-cleans, verify it), figure type determined, …

    line 38
  3. Very specific:

    Do NOT proceed to P2 until: structured layout spec written to figures/<name>/figure-layout.md, rough PPT draft generated, user confirmed …

    line 43
  4. Distinctive:

    Do NOT proceed to P3 until: all components populated, all connectors drawn, all labels set, user reviewed and approved the draft.

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Paper Plot — Hierarchical Figure Generation

When to Use

ScenarioModePath
During paper writing, L1 figure placementEmbeddedL1 → P0→P1→P2→P3
Standalone figure creationStandalone/paper-plot → P0→P1→P2→P3
Polish existing figurePolishRead figure → critical review → P2/P3

Core principle: Figures need hierarchical thinking too — from high-level intent to layout to components to visual details.

Overview

4-level refinement, parallel to paper-writing HLS. Each level validates before descending.

LevelRoleReference
P0Director — figure intent, type selection, template matchingp0-director.md
P1Architect — spatial layout, structured spec + rough draftp1-architect.md
P2Builder — SVG-first generation (hand-write SVG, browser preview, convert via ppt-master)p2-builder.md
P3Stylist — 13-point rubric: style (6) + semantics + layout + robustness + reviewer-risk + squint-test + layer-integrity + cross-figure-consistencyp3-stylist.md

Template-driven discovery: Figure types predefined (architecture, flowchart, comparison, concept, data-plot). Template slides auto-discovered from templates/ and matched by structure analysis.

Column width auto-selected: single (w=8.9cm) or double (w=17.8cm).

Every level commits to git.

Hard Gates

<HARD-GATE-P0> Do NOT proceed to P1 until: template slide cleaned of ALL existing shapes (the generator auto-cleans, verify it), figure type determined, template slide matched, column width selected, core elements listed in `figures/<name>/figure-intent.md`, user confirmed. Template cleanup is MANDATORY — the generator strips all shapes from the cloned slide before adding ours. Verify output slide contains ONLY our components. </HARD-GATE-P0><HARD-GATE-P1> Do NOT proceed to P2 until: structured layout spec written to `figures/<name>/figure-layout.md`, rough PPT draft generated, user confirmed layout direction. </HARD-GATE-P1><HARD-GATE-P2> Do NOT proceed to P3 until: all components populated, all connectors drawn, all labels set, user reviewed and approved the draft. </HARD-GATE-P2><HARD-GATE-P3> Figure NOT complete until: 13-point verification rubric passed (1.color 2.font 3.arrows 4.alignment 5.spacing 6.width/export 7.semantics 8.layout/anti-overlap 9.robustness 10.reviewer-risk 11.squint-test 12.layer-integrity 13.cross-figure-consistency), all figures consistent with paper-style-lock.md, PNG 300dpi exported, text-figure component names cross-checked. Font MUST be Times New Roman. Squint Test, Layer Integrity Review, and Cross-Figure Consistency are MANDATORY. </HARD-GATE-P3>

Process Flow

digraph paper_plot {
    rankdir=TB;
    "Trigger\n(L1 placement or /paper-plot)" [shape=oval];
    "P0: Director\n[p0-director.md]" [shape=box];
    "User OK?" [shape=diamond];
    "Commit P0" [shape=box];
    "P1: Architect\n[p1-architect.md]" [shape=box];
    "User OK?" [shape=diamond];
    "Commit P1" [shape=box];
    "P2: Builder\n[p2-builder.md]" [shape=box];
    "User OK?" [shape=diamond];
    "Commit P2" [shape=box];
    "P3: Stylist\n[p3-stylist.md]" [shape=box];
    "13 checks pass?" [shape=diamond];
    "Commit final" [shape=box];
    "Done" [shape=oval];

    "Trigger\n(L1 placement or /paper-plot)" -> "P0: Director\n[p0-director.md]";
    "P0: Director\n[p0-director.md]" -> "User OK?";
    "User OK?" -> "P0: Director\n[p0-director.md]" [label="no"];
    "User OK?" -> "Commit P0" [label="yes"];
    "Commit P0" -> "P1: Architect\n[p1-architect.md]";
    "P1: Architect\n[p1-architect.md]" -> "User OK?";
    "User OK?" -> "P1: Architect\n[p1-architect.md]" [label="no"];
    "User OK?" -> "Commit P1" [label="yes"];
    "Commit P1" -> "P2: Builder\n[p2-builder.md]";
    "P2: Builder\n[p2-builder.md]" -> "User OK?";
    "User OK?" -> "P2: Builder\n[p2-builder.md]" [label="no, revise"];
    "User OK?" -> "Commit P2" [label="yes"];
    "Commit P2" -> "P3: Stylist\n[p3-stylist.md]";
    "P3: Stylist\n[p3-stylist.md]" -> "13 checks pass?";
    "13 checks pass?" -> "P2: Builder\n[p2-builder.md]" [label="no"];
    "13 checks pass?" -> "Commit final" [label="yes"];
    "Commit final" -> "Done";
}

Quick Reference

LevelOutputKey ActionRef
P0figures/<name>/figure-intent.mdDetermine type, match template, list elementsp0
P1figures/<name>/figure-layout.md + figure-spec-lock.md + draft.pptxDesign spatial layout, extract spec lock, generate rough draftp1
P2figures/<name>/figure-v{N}.pptxTypography-first build, grouping-first code, per-group self-checkp2
P3figures/<name>/figure-final.pptx13-point rubric: polish style, verify semantics/layout, squint test, layer integrity, cross-figure consistency, export PNGp3

Git

git commit -m "P0: figure intent for <name>"   # figures/<name>/figure-intent.md
git commit -m "P1: layout for <name>"           # figures/<name>/figure-layout.md + figure-spec-lock.md
git commit -m "P2: draft for <name>"            # figures/<name>/figure-v{N}.pptx
git commit -m "P3: final for <name>"            # figures/<name>/figure-final.pptx

Red Flags

  • "直接出 PPT,不用 P0/P1" → 跳过方向确认 = 方向性返工
  • "一次性生成所有图" → 每张图独立走 P0-P3,P3 保持跨图风格一致
  • "颜色最后再说" → P0 确定色板基调
  • "图做好就行,不管文字" → P3 交叉检查图-文组件名

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.