paperFig
Skill này làm gì
Skill này tạo hình khoa học cho bài báo từ code vẽ và dữ liệu dự án thật, rồi kiểm tra kết quả. Skill dành cho nhà nghiên cứu cần hình rõ ràng, chính xác cho bản thảo.
Khi nào nên dùng
- ✓Khi bạn cần một hình đạt chuẩn xuất bản được tạo từ code vẽ và dữ liệu của bạn.
- ✓Khi bạn muốn dựng lại bố cục của một hình tham khảo bằng dữ liệu của mình.
- ✓Khi bạn cần một hình nhiều khung hoặc sơ đồ kiến trúc mô hình cho bài báo.
Liên kết skill
https://github.com/WUBING2023/PaperSpine/blob/main/paperspine5/core/02_PaperFigure/02_paperFig_skill/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo một hình đạt chuẩn xuất bản từ file CSV kết quả của tôi, thể hiện độ chính xác của ba mô hình trong các khung riêng, xuất ra PDF và SVG.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill kiểm kê code và dữ liệu của bạn, lên kế hoạch cho câu chuyện và bố cục của hình, rồi tạo hình với một phong cách hình ảnh nhất quán. Skill xuất kết quả dưới dạng PDF, SVG và PNG và kiểm tra trước khi giao.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
paperFig
Create scientifically faithful, publication-quality figures through a repeatable process from evidence inventory to final render QA.
This skill governs the research-figure process only. It does not include anonymization, data perturbation, synthetic replacement, identifier removal, or privacy guarantees. If the user separately requests those operations, treat them as an additional workflow with an explicit data-release contract; do not silently mix them into ordinary scientific plotting.
Mandatory routing
Read the following references before acting:
references/research-figure-process.mdfor the phase-by-phase workflow.references/reference-deconstruction.mdbefore imitating or adapting a reference figure.references/architecture-and-multipanel-design.mdfor model diagrams or compound figures.references/scientific-visual-qa.mdbefore final generation and delivery.
Use the PDF skill whenever a PDF is read, created, or reviewed. Use the spreadsheets skill when the main source is an XLSX workbook requiring inspection or transformation.
Trigger conditions
Use this skill when the user asks to:
- create or improve scientific, academic, or paper figures;
- locate the plotting code and data behind figures in a PDF or directory;
- reproduce the visual logic of public reference figures with project data;
- build a model architecture, Transformer diagram, mechanism schematic, or evidence-backed workflow panel;
- redesign benchmark, ablation, transfer, interpretability, or mechanism figures;
- assemble a consistent multi-figure suite or reference-vs-redraw atlas;
- standardize an existing plotting project into a reusable process.
Do not use it for generic illustration, ordinary photo editing, UI design, or privacy/anonymization as the primary objective.
Core principles
- Scientific truth before aesthetics. Preserve actual data, statistics, units, pairing, uncertainty, sample size, ordering, and analysis logic.
- Reference mechanism, not superficial copying. Identify why the reference persuades and transfer that mechanism to the new scientific claim.
- Source traceability. Every final panel must map to plotting code and data inputs, or be explicitly marked as a schematic.
- One panel, one job. Each panel answers a distinct scientific question.
- Complexity must be earned. Dense figures need a clear reading path and evidence hierarchy; decorative complexity is not rigor.
- Render verification is mandatory. A script that runs is not a finished figure until the exported artifact has been visually inspected.
Inputs
Discover these from the project before asking the user:
- reference PDF/images and local citation/index notes;
- existing paper figures, drafts, and rejected variants;
- plotting scripts, notebooks, helper modules, and style files;
- CSV/TSV/XLSX/JSON/NPY/NPZ inputs and generated caches;
- model source code for architecture details;
- paper section, claim, or result that the figure must support;
- target venue, column width, page size, and output formats.
Ask only when a missing choice materially changes the scientific story, such as which result is primary or whether a panel is schematic versus measured.
Workflow
1. Inventory figures, code, and data
Run:
python scripts/inspect_figure_project.py --root "<project-root>" --output "<work-dir>/source-map.md"
Manually verify important mappings. Filename similarity is only a candidate;
imports, data reads, savefig paths, and visual comparison are stronger
evidence.
Create or update a figure manifest based on
assets/figure_manifest.example.json. Every requested figure records:
- figure/panel ID;
- scientific question and intended conclusion;
- public reference(s);
- existing figure(s);
- plotting source;
- data inputs;
- statistical transformation;
- output files;
- verification status.
For tabular medical sources that match the FigMirror clinical-cbc contract,
run figmirror.py render-data-study before candidate finalization. Treat its
data_profile.json, analysis_summary.csv, and data_binding.json as derived
evidence, not replacements for the read-only source workbook. Never infer
units, reference intervals, clinical thresholds, or repeated-person identity
when the workbook does not provide them.
2. Deconstruct the references
Follow references/reference-deconstruction.md.
For each reference, document:
- what cl
Câu hỏi thường gặp
Skill có truy được hình về dữ liệu của tôi không?
Có. Skill truy được từng hình về code nguồn và đầu vào của nó.
Skill xuất được những loại file nào?
Skill xuất PDF, SVG và PNG.
Skill có bao gồm việc ẩn danh dữ liệu không?
Không. Mô tả nêu rõ skill chỉ bao quát quy trình làm hình nghiên cứu, không bao gồm ẩn danh dữ liệu.
Chi tiết
Mô tả gốc của tác giả
Design, implement, revise, and validate publication-quality scientific figures from references, existing plotting code, and real project data. Trace every figure to source code and inputs; deconstruct reference figures; plan the scientific story and multi-panel structure; build complex model architecture and statistical panels; enforce a consistent visual system; and render-verify PDF/SVG/PNG outputs. Use for 科研配图, 论文配图, 找图的源代码, 参考图复刻与改造, 模型框架图, 多面板主图, figure redesign, or standardizing a research-figure process.
repo: WUBING2023/PaperSpine
Độ phổ biến
- Sao GitHub
- 6.2k
- Vị trí xếp hạng
- #14409
- Giấy phép
- MIT
- Cập nhật
- 14/10/2026
Bình luận
- …
Thêm skill từ kho mã này
Skill tương tự
gifgrep
394kCho phép agent của bạn tìm thư viện GIF, xem trước kết quả, tải một GIF, và lấy một khung hình tĩnh hoặc bảng ghép nhiều khung hình.
meme-maker
394kCho phép agent của bạn chọn một mẫu meme, thêm chú thích của riêng bạn và tạo meme dưới dạng ảnh SVG hoặc PNG.
ios-icon-gen
280kGiúp agent tạo biểu tượng cho ứng dụng iOS. Dùng biểu tượng của Apple hoặc từ các nguồn khác để tạo đúng định dạng tệp.