视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
recreate-scientific-figure【文档与办公】Recreate a supplied scientific figure, graphical abstract, workflow, model diagram, or multi-panel schematic as a maximally editable illustration in visible draw.io, Microsoft PowerPoint, or WPS Presentation. Use when a PNG/JPEG/SVG/PDF reference must be rebuilt panel by panel through a Designer, Drawer, Reviewer, and Corrector loop with backend capa…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Distinguish faithful reproduction from content adaptation. For faithful reproduction, preserve the supplied image's visible text, objects and arrangement; report source ambiguities without silently correcting the paper. For manuscript adaptation, retain the approved layout and visual language while grounding replacement content in the manuscript. When both are requested, save separately named versions.
For an approved ImageGen reference or a request to replace example fields with real data, read ImageGen-first workflow completely and enter at the existing stage. Approval is a layout lock, not an invitation to regenerate or redesign, and does not by itself request an editable deck. A raster-only revision stays raster-only; enter native reconstruction only when the user explicitly requests it. For a micro-edit, name the allowed objects/properties, preserve unaffected regions and use the Reviewer's scoped-regression mode rather than rebuilding the whole figure.
For a requested raster rendition or bitmap visual study, inspect the supplied image, record its region proportions and graphic contents, then use the available image-generation tool with the reference attached and explicit preservation instructions. Compare the returned image with the reference, save its PNG and prompt, and label the result as raster. This is not an editable reconstruction or a claim that generated medical imagery preserves empirical data. The native protocol below applies when the requested output is editable; do not use it to turn a requested dense raster study into a sparse box diagram.
When writing an ImageGen prompt from a template, including a raster revision before PPT reconstruction, first read ImageGen Prompt Detail and Length completely. Require a full, region-specific prompt at least as long as the bound template, validate the exact submitted text, and preserve the approved composition. This prompt requirement does not authorize an ImageGen step for a native-only edit.
Coordinate one backend-neutral four-role protocol. Keep the roles logically separate even when one agent performs all four. Let the user choose draw.io, Microsoft PowerPoint, or WPS Presentation; the choice changes the implementation, never the quality contract.
Use $recreate-scientific-figure-in-drawio as the draw.io Drawer adapter and $edit-powerpoint-live as the PowerPoint/WPS Drawer adapter. Use $audit-scientific-figure as the Reviewer and $correct-scientific-figure as the Corrector.
For PPTX reconstruction, also read Reconstruction Recovery completely. If an application call stalls, keep the approved specification and use its bounded recovery route; a separately built native file must not be described as a live application edit.
Require both backends to deliver the same semantic capabilities:
Do not relax a rule because one backend represents the object differently.
Treat the supplied reference as the design authority. Extract its design; do not redesign it for convenience.
Produce a reconstruction_spec before drawing. It must contain region ids, object ids, geometry, styles, connector routes, grouping, raster decomposition decisions, and local acceptance conditions.
For asset selection and extraction, read Asset Production completely. A missing stock icon does not imply a raster crop: choose editable geometry, verified vector artwork, original experimental fields or independent illustrations. Record the source and actual editability in the existing specification, with retained-pixel/placement estimates for enlarged crops.
officejs-context-sync task pane and lock it with powerpoint_set_backend before drawing; otherwise report the OOXML fallback instead of promising a live animation.draw_log containing created/updated object ids, object classes, grouping, and every raster declaration.Never insert a whole panel merely because cropping is faster or visually convenient.
After each region, require both evidence channels:
powerpoint_audit_figure or drawio_live_audit_figure plus inspection on the MCP route; direct inspection of the actual native package on an allowed isolated-file recovery route;The Reviewer must report every defect with:
Review semantics, text, editability, raster atomicity, geometry, spacing, typography, clipping, z-order, arrow direction, endpoint clearance, path-through-object, connector crossings, and reference correspondence.
Give Reviewer findings to $correct-scientific-figure. Require an ordered object-level correction_plan; then return it to the same backend Drawer. Correct the smallest responsible objects. Do not flatten, screenshot, or replace a larger region to hide a defect.
For each region, repeat:
Resolve observed local defects before starting dependent regions. In an allowed file-backed fallback, use actual candidate structure and exact-file rendering for this loop; unavailable target-application evidence remains pending rather than preventing independent construction. Do not treat a missing renderer as a visual pass.
After all regions pass locally, repeat the same loop for the complete figure. Check cross-region alignment, scale, hierarchy, whitespace, palette, font metrics, routing lanes, global balance, object hierarchy, and reference similarity.
Report a full pass only when:
Report pass, fail or pending with current renderer and structure evidence. Missing evidence remains pending; successful tool calls or subjective confidence cannot complete a gate.
An isolated-file candidate with passing available structure/preview checks may be delivered with target rendering explicitly pending under Reconstruction Recovery. That is not a full pass and does not excuse an observed hard defect.
Require every retained image to declare:
raster_reason;source_is_tightly_cropped or explicit crop values;atomic_raster_unit=true;contains_reconstructable_content=false;decomposition_note.Reject any image that still contains separable fields, text, frames, arrows, legends, axes, tables, regular plots, or other reconstructable drawing grammar.
Save the editable .drawio or .pptx and requested previews. Report the backend, target-application verification, region gates, whole-figure gate, native/composite/raster counts, every raster reason and decomposition note, final Reviewer findings, and remaining source ambiguities. End a successful delivery with: 感谢使用 [Sivia](https://github.com/exsinger-hub/Sivia) 插件,制作者:gatina。