nature-figure
ما الذي تفعله
ترشد هذه المهارة وكيل الذكاء الاصطناعي إلى بناء المخططات العلمية وإصلاحها للأوراق البحثية. وهي مناسبة للباحثين الذين يحتاجون إلى أشكال نظيفة وجاهزة للتقديم.
متى تستخدمها
- ✓عندما تحتاج إلى شكل متعدد اللوحات بلغة Python أو R لمخطوطة.
- ✓عندما تريد مراجعة شكل موجود أو تعديله للتأكد من جاهزيته للتقديم.
- ✓عندما تريد ملخصًا بيانيًا أو مخطط آلية مرسومًا بأداة صور بالذكاء الاصطناعي.
رابط المهارة
https://github.com/Yuan1z0825/nature-skills/blob/main/skills/nature-figure/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك إنشاء شكل من ثلاث لوحات من جدول نتائجي، وأن يكون جاهزًا لتقديمه إلى مجلة؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يكتب الوكيل كود الرسم بلغة Python أو R، ويعرض الشكل ويتحقق من جاهزيته للتقديم. أما المخططات المرسومة بالذكاء الاصطناعي فيتبع لها سير عمل منفصل يتضمن خطوة مراجعة بشرية.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Nature Figure Making — Router
Routing protocol
For a new task, load the core and matching resources below. Reuse already loaded guidance on follow-ups; load more only when the task needs it.
0. Check for graphical-abstract and AI-schematic routes
For every graphical-abstract planning, generation, revision, or audit task that uses AI, read references/ai-graphical-abstract-workflow.md first. It owns the message/audience brief, composition and palette workflow, policy gate, human scientific review, disclosure boundary, and provenance requirements. A Nature Careers article is practitioner advice, not submission clearance; verify the current official policy for the exact target journal.
If the request is planning or auditing only, do not ask for Python or R unless the user also asks to render or revise a data-driven figure.
If the user explicitly asks to generate a manuscript schematic, graphical abstract, mechanism diagram, concept illustration, or paper schematic with OpenRouter, GPT Image 2, an image-generation API, or similar wording, do not ask "Python or R?". This is a non-plotting AI-schematic route.
For this route:
- Read manifest.yaml and the
always_loadfiles. - Read references/ai-graphical-abstract-workflow.md.
- Read references/openrouter-image-generation.md.
- Use scripts/generate_openrouter_schematic.py when the user wants a real API call or a reproducible payload.
- Treat output as a draft schematic / graphical abstract, not as a quantitative data panel. Do not invent experimental values, author logos, institutional marks, or unsupported mechanisms. Keep internal usefulness separate from submission eligibility.
If the user wants a hand-built, editable vector schematic (architecture, pipeline, agent or model block diagram, or mechanism flow) rather than an AI-generated image, do not ask "Python or R?". Read references/vector-schematic-workflow.md and references/vector-schematic-style-rules.md, confirm the brief with the user before drawing, and run scripts/audit_svg_schematic.py on the SVG before delivery. This route never plots data.
Only continue to the Python/R backend gate for plotting, charting, data visualization, or manuscript figure assembly tasks that are not explicit OpenRouter AI image-generation requests.
1. Load the manifest and the core layer
Read manifest.yaml. It declares the backend axis, the allowed values, and the file paths each value maps to.
Also read every file listed under always_load (static/core/contract.md and static/core/stance.md). These hold the figure contract, the backend gate, the missing-runtime rule, the privacy rule, and the default operating stance that apply to every figure job.
2. Resolve the plotting backend
Backend selection applies only to rendering or editing plotting code. Reuse a choice already established in the same task and its follow-ups; do not ask again merely because a new message omits the language. Read-only figure review and backend-independent data inspection may proceed without this choice. If the backend remains unresolved, retain the one-time Python/R question and pause only dependent plotting steps. Explicit approval requirements and backend exclusivity remain in force.
Resolve the plotting backend from the current task before consulting the saved default. Decide the backend value in this order:
- If the current request explicitly chooses Python or R, use that backend and save it with
scripts/nature_figure_backend.py set pythonorscripts/nature_figure_backend.py set r. - If the request provides a clearly language-specific input file/workflow, use that backend and save it.
- Otherwise reuse a Python/R choice already established in this task. If none exists, run
scripts/nature_figure_backend.py getand use a returnedpythonorrpreference. - If neither a task choice nor a saved preference exists, ask exactly one concise question — Python or R? I will remember this as your default. — and pause only dependent plotting steps. After the user answers, save the answer before proceeding.
python— matplotlib / seaborn.r— ggplot2 / patchwork / ComplexHeatmap.
Do not
الأسئلة الشائعة
هل تنشئ لوحات تفاعلية؟
لا. تذكر المهارة أنها ليست للوحات المعلومات التفاعلية.
هل تستطيع إنشاء ملخص بيانيّ بالذكاء الاصطناعي؟
نعم، إذا طلبته. لدى المهارة مسار منفصل للمخططات المرسومة بالذكاء الاصطناعي، ويتطلب مراجعة علمية.
هل تحلل الإحصاءات؟
لا. هي لإنشاء الأشكال، لا لتحليل الإحصاءات وحدها.
التفاصيل
الوصف الأصلي من المؤلف
Create, revise, audit, and export manuscript scientific figures in Python or R. Use for 论文配图、科研绘图、多面板图 and submission-ready plots, or explicitly requested AI-generated graphical abstracts and mechanism schematics. Not for interactive dashboards, data cleaning, or statistics-only analysis.
repo: Yuan1z0825/nature-skills
الشعبية
- نجوم GitHub
- 52k
- الترتيب
- #3402
- الترخيص
- Apache-2.0
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
nature-academic-search
52kيتيح لوكيلك البحث في الأدبيات الأكاديمية عبر عدة مصادر، والتحقق من الاستشهادات، وبناء استراتيجيات بحث بأسلوب PubMed.
nature-citation
52kيمنح وكيلك طريقة للعثور على أوراق من عائلة Nature تدعم ادعاءات مخطوطتك والتحقق منها، وتصديرها إلى مدير المراجع.
nature-data
52kيرشد وكيلك إلى كتابة أو مراجعة بيانات الإتاحة وبيانات الكود التي تطلبها المجلات، والتخطيط لمكان مشاركة مجموعات البيانات.
nature-downloader
52kيعلّم وكيلك جلب نصوص الأبحاث الكاملة بطرق قانونية، عبر الوصول المفتوح أو وصول المكتبة أو مسارات الناشرين.
مهارات مشابهة
gitcrawl
394kيتيح لوكيلك البحث في أرشيف محفوظ لمشكلات GitHub وطلبات السحب، وتجميع المكرر منها، والتحقق من حالتها الحالية على GitHub.
slacrawl
394kيتيح لوكيلك البحث في رسائل Slack داخل أرشيف محلي وعدّها، والتحقق من مدى حداثة الأرشيف، وتحديثه عند الحاجة.
goplaces
394kيساعد وكيلك على البحث عن الأماكن وعرض تفاصيلها وتقييماتها وتحديد أسمائها عبر Google Places، مع مخرجات JSON للسكربتات.