شعار Figures

Figures

المجتمع
scdenney
figures

Designs publication figures for social-science manuscripts. Covers chart choice, axes and scales, color and accessibility, legend order, captions that carry the title, and script-based reproducibility. Use when making, revising, or critiquing a figure for a paper, such as a coefficient plot, small multiples, a distribution, a trend, a map, or a network. Finished figure sets go to figure-table-audit for end-stage QA.

نظرة عامة

الناشرscdenney
المستودعopen-science-skills
اسم المهارةfigures
النجوم
69
التفريعات
3
الملفات المرفقة
تعليمات فقط
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها scdenney على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Figures في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/scdenney/open-science-skills/tree/main/plugin/skills/figures
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scdenney/open-science-skills.git /tmp/open-science-skills
mkdir -p .claude/skills
cp -r /tmp/open-science-skills/plugin/skills/figures .claude/skills/figures
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Figures في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Figures تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Figures بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Figure Designer

Applies to any figure type in a social-science manuscript. For figures whose interpretation depends on method-specific standards, also consult the relevant sibling skill (conjoint-design, conjoint-diagnostics, list-experiment, topic-modeling, text-classification, vlm-ocr). For end-stage QA on a finished figure set, hand off to figure-table-audit.

A figure is ready when it makes one comparison legible, can be read without the surrounding text, and can be regenerated from a script.

Instructions

1. State the comparison before drawing

Write down, in one sentence, what the figure should let the reader see (for example, "The treatment effect is larger among low-information respondents"). If the comparison does not fit in one sentence, the figure has too many goals; split it into panels or separate figures.

2. Choose the chart type from the comparison

Match the geometry to the comparison, not to the data type. Two defaults that are often missed:

  • Effect estimates compared across models or subgroups go in a coefficient plot (point and interval), not a regression table.
  • Many small comparisons go in small multiples on a shared scale, not in separate figures.

Pie, donut, 3D, and dual-axis charts do not belong in academic figures.

3. Pick scales and axes deliberately

  • Label both axes with the quantity and its units: "Household income (USD, 2020)", not "Income".
  • For percentages, write 0.00–1.00 or 0%–100% consistently — do not mix within a figure.
  • Use a log scale when the data span more than two orders of magnitude or when a multiplicative effect is the substantive story, and label the scale as log.
  • Anchor axes at zero only when zero is meaningful for the comparison (counts, proportions). Deviations, differences, and z-scores need no zero baseline.
  • Use the same y-axis range across panels of small multiples unless the claim is explicitly about within-panel scale.
  • Reverse the y-axis only when the substantive direction demands it (e.g., rank where 1 is "best") and label the reversal in the caption.

4. Choose color with intent

  • Sequential (light → dark): for ordered/quantitative variables (income brackets, time, density).
  • Diverging (red ↔ blue, etc.): for variables with a meaningful midpoint (effect sign, deviation from baseline).
  • Categorical: for unordered groups; use a colorblind-safe palette (Okabe-Ito, viridis discrete, ColorBrewer Set2/Dark2).
  • Test grayscale: convert the figure and check that the comparison still reads. If it does not, add shape, line type, or direct labels.
  • Encoding one variable in both color and shape is fine as an accessibility aid; keep the legend consistent with it.
  • Replace default rainbow / jet ramps, which are not perceptually uniform.

5. Match legend order to the visual order in the chart

Legend order mirrors the data's visual order, so the reader can match series without scanning back and forth:

  • For lines, areas, or stacked elements arranged top-to-bottom in the plot at the rightmost x-value, list legend entries in the same top-to-bottom order.
  • For bars or categories arranged left-to-right, use a horizontal legend listed left-to-right in the same order.
  • For panels (small multiples), follow the panel grid: rows top-to-bottom, columns left-to-right.
  • Do not alphabetize a legend when the data have a natural order (time, magnitude, treatment intensity, ordinal scale). ggplot2 and similar libraries sort character variables alphabetically by default, and the result is a frequent cause of misreading.
  • With five or fewer series, label lines or bars directly at their ends instead of using a legend.
  • When a legend is needed, place it where it does not cover data.

6. Put the title in the caption, not inside the figure

Keep titles and subtitles out of the plotting area. The figure's title, and any explanatory note, belong in the document as the caption beneath the figure, set in the manuscript's font and editable alongside the prose. A title rendered inside the image duplicates the caption, sets in a mismatched typeface, and cannot be changed without regenerating the plot. Strip ggtitle(), labs(title=, subtitle=), plt.title(), and plt.suptitle() from the figure script and let the caption carry the title. (Panel tags such as "A" and "B" inside a multi-panel figure are fine; a descriptive title is not.)

The caption must be self-contained: a reader who skims should understand the figure from the caption alone. Include:

  • What is plotted (the dependent quantity, the unit of analysis).
  • The sample (N, source, time window).
  • The uncertainty interval (e.g., "95% confidence intervals from cluster-robust standard errors").
  • Panel meanings, if multi-panel.
  • Any transformations or exclusions.
  • The estimand or model family if the figure is showing model output (not just "Results").

Keep abbreviations defined and units explicit.

7. Make it reproducible

  • Generate the figure from a script (R, Python, Stata, Julia) in the replication archive. Hand edits in Illustrator or Inkscape are acceptable only when the manual step is documented.
  • Save with the script: input data path, package versions, random seed (for jittered or sampled plots), output dimensions.
  • Export vector (PDF, SVG) for plots with text and lines; export raster (PNG at ≥300 dpi) only for raster-native content (heatmaps with thousands of cells, photographs, maps with imagery).
  • Use a single ggplot/matplotlib theme across the manuscript so figures are visually consistent.
  • For multi-panel figures, build with patchwork/cowplot/gridExtra or matplotlib's subplots/gridspec — not by stitching exported PNGs in Word.

8. Accessibility and production sanity

  • Axis label and tick text ≥ 8pt at print size.
  • Alt text for journals that require it (a one-sentence description of what the figure shows).
  • Consistent figure dimensions and fonts across the manuscript.

Output

When asked to design or revise a figure, produce:

# Figure Plan

Comparison: <one sentence>
Chart type: <type and why>
Geometry: <axes, scales, faceting>
Color encoding: <palette, what it encodes, accessibility check>
Legend / labeling: <direct label or legend; order matches visual order>
Caption draft: <self-contained>
Reproducibility: <script path, packages, output format and dimensions>
Open issues: <anything that needs author input — denominator choice, sample restriction, etc.>

When asked to produce code, default to a single ggplot2 (R) or matplotlib + seaborn (Python) script with the theme, palette, and figure dimensions explicit at the top.

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

ماذا تفعل مهارة الذكاء الاصطناعي Figures؟

Designs publication figures for social-science manuscripts. Covers chart choice, axes and scales, color and accessibility, legend order, captions that carry the title, and script-based reproducibility. Use when making, revising, or critiquing a figure for a paper, such as a coefficient plot, small multiples, a distribution, a trend, a map, or a network. Finished figure sets go to figure-table-audit for end-stage QA.

لماذا تستخدم Figures على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Figures عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Figures في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/scdenney/open-science-skills/tree/main/plugin/skills/figures. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Figures؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Figures؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Figures معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Figures مجانية؟

نشرها scdenney على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇