Skillpedia
الصور والأيقونات18k · #10560

paper-figure

ما الذي تفعله

تصنع هذه المهارة الرسوم البيانية والجداول للورقة البحثية مباشرة من بيانات تجاربك. وهي للمؤلفين الذين يحتاجون إلى أشكال بيانات نظيفة، لا مخططات معمارية.

متى تستخدمها

  • ✓عندما تحتاج إلى منحنيات تدريب أو مخططات أعمدة أو خرائط حرارية من نتائج التجارب.
  • ✓عندما تريد جدول مقارنة بصيغة LaTeX مبنياً على نتائجك.
  • ✓عندما تحتاج إلى دمج عدة رسوم في شكل واحد متعدد اللوحات.

رابط المهارة

https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/paper-figure/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/paper-figure/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أحتاج إلى أشكال نظيفة وجداول مقارنة من نتائج تجاربي للورقة.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يقرأ الوكيل ملفات النتائج الخاصة بك، وينتج الرسوم والجداول بتنسيق متناسق، ويحفظها للورقة. أما المخططات المعمارية فتتولاها مهارات أخرى.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Paper Figure: Publication-Quality Plots from Experiment Data

Before each reviewer slot, follow Selectable Reviewers: resolve invocation → .aris/reviewer.json → Claude Code default (Codex MCP) with reviewer_route.py through the canonical helper resolver, preserving this slot's tier, fresh contexts, source/image inputs and deterministic gates. Codex examples/pins below apply only to backend=codex; other routes use their own first-call/reply contract. Save the route and actual returned identity; unavailable selections are REVIEW_UNAVAILABLE. Classify acceptance from actual families/completion/scope. Forward invocation reviewer/model/effort overrides to reviewer-bearing children. Generation workers are unchanged.

Generate all figures and tables for a paper based on: $ARGUMENTS

Scope: What This Skill Can and Cannot Do

Category Can auto-generate? Examples
Data-driven plots ✅ Yes Line plots (training curves), bar charts (method comparison), scatter plots, heatmaps, box/violin plots
Comparison tables ✅ Yes LaTeX tables comparing prior bounds, method features, ablation results
Multi-panel figures ✅ Yes Subfigure grids combining multiple plots (e.g., 3×3 dataset × method)
Architecture/pipeline diagrams ❌ No — manual Model architecture, data flow diagrams, system overviews. At best can generate a rough TikZ skeleton, but expect to draw these yourself using tools like draw.io, Figma, or TikZ
Generated image grids ❌ No — manual Grids of generated samples (e.g., GAN/diffusion outputs). These come from running your model, not from this skill
Photographs / screenshots ❌ No — manual Real-world images, UI screenshots, qualitative examples

In practice: For a typical ML paper, this skill handles ~60% of figures (all data plots + tables). The remaining ~40% (hero figure, architecture diagram, qualitative results) need to be created manually and placed in figures/ before running /paper-write. The skill will detect these as "existing figures" and preserve them.

Constants

  • STYLE = publication — Visual style preset. Options: publication (default, clean for print), poster (larger fonts), slide (bold colors)
  • DPI = 300 — Output resolution
  • FORMAT = pdf — Output format. Options: pdf (vector, best for LaTeX), png (raster fallback)
  • COLOR_PALETTE = tab10 — Default matplotlib color cycle. Options: tab10, Set2, colorblind (deuteranopia-safe)
  • FONT_SIZE = 10 — Base font size (matches typical conference body text)
  • FIG_DIR = figures/ — Output directory for generated figures
  • REVIEWER_MODEL = gpt-6-astra — Model used via Codex MCP for figure quality review.

Inputs

  1. PAPER_PLAN.md — figure plan table (from /paper-plan)
  2. Experiment data — JSON files, CSV files, or screen logs in figures/ or project root
  3. Existing figures — any manually created figures to preserve

If no PAPER_PLAN.md exists, scan for data files and ask the user which figures to generate.

Workflow

Step 1: Read Figure Plan

Parse the Figure Plan table from PAPER_PLAN.md:

| ID | Type | Description | Data Source | Priority |
|----|------|-------------|-------------|----------|
| Fig 1 | Architecture | ... | manual | HIGH |
| Fig 2 | Line plot | ... | figures/exp.json | HIGH |

Identify:

  • Which figures can be auto-generated from data
  • Which need manual creation (architecture diagrams, etc.)
  • Which are comparison tables (generate as LaTeX)

Step 2: Set Up Plotting Environment

Create a shared style configuration script:

# paper_plot_style.py — shared across all figure scripts
import matplotlib.pyplot as plt
import matplotlib
matplotlib.rcParams.update({
    'font.size': FONT_SIZE,
    'font.family': 'serif',
    'font.serif': ['Times New Roman', 'Times', 'DejaVu Serif'],
    'axes.labelsize': FONT_SIZE,
    'axes.titlesize': FONT_SIZE + 1,
    'xtick.labelsize': FONT_SIZE - 1,
    'ytick.labelsize': FONT_SIZE - 1,
    'legend.fontsize': FONT_SIZE - 1,
    'figure.dpi': DPI,
    'savefig.dpi': DPI,
    'savefig.bbox': 'tight',
    'savefig.pad_inches': 0.05,
    'axes.grid': False,
    'axes.spines.top': False,
    'axes.spines.right': False,
    'text.usetex': False,  # set True if LaTeX is available
    'mathtext.fontset': 'stix',
})

#
الأسئلة الشائعة

أي أنواع من الرسوم تستطيع إنشاءها؟

الرسوم الخطية والأعمدة والنقاط والخرائط الحرارية ومخططات الصندوق والكمان.

هل تستطيع رسم مخططات البنية المعمارية للنظام؟

لا. تقول المهارة إن ذلك يحتاج إلى أدوات أخرى، مثل مهارة مواصفات الأشكال أو مهارات الرسم التوضيحي.

هل تستطيع إنشاء جداول LaTeX؟

نعم. تستطيع إنشاء جداول مقارنة للحدود السابقة وميزات الطرق ونتائج الاستئصال.

التفاصيل

الوصف الأصلي من المؤلف

Generate publication-quality figures and tables from experiment results. Use when user says \"画图\", \"作图\", \"generate figures\", \"paper figures\", or needs plots for a paper.

repo: wanshuiyin/Auto-claude-code-research-in-sleep

الشعبية

نجوم GitHub
18k
الترتيب
#10560
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة