SkillsReviewed · wanshuiyin

ARIS FigureSpec

FigureSpec is an AI assistant skill for researchers and developers making editable technical diagrams, but layouts require explicit coordinates and visual checking. It pairs diagram-writing instructions with a local Python renderer that converts structured JSON into SVG.

Researched 16 Nov 2026

In short.

FigureSpec is an AI assistant skill for researchers and developers creating reproducible technical diagrams, but layout remains explicit and its validation is incomplete. It supports architecture, workflow and pipeline figures through a local Python JSON-to-SVG renderer. The source shows editable vector output, multiple node shapes and optional PNG conversion, alongside approximate geometry and some malformed-input handling gaps. No code was executed, so rendering quality, repeatability and assistant integration remain unverified.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes skills/figure-spec/SKILL.md and skills/figure-spec/scripts/figure_renderer.py at revision 9f30e834d24a337dbdd06fb20a1150d4376dfa59, together with the repository-root LICENSE. The wider repository, compatibility shim, installer, shared integration and reviewer documents, tracing helpers and sibling skills are outside this scope. Rendering, malformed-input behavior, preview conversion, PDF export, typography, determinism and assistant/reviewer integration were not tested; implementation findings are based on the supplied source text.

The overview

Identity

FigureSpec belongs to wanshuiyin/Auto-claude-code-research-in-sleep. The resource comprises skills/figure-spec/SKILL.md and its scripts/figure_renderer.py helper. The skill supplies instructions an AI assistant can load; the helper can also be invoked directly without an assistant.

The original folder is [https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/tree/main/skills/figure-spec]. The supplied files are pinned to revision 9f30e834d24a337dbdd06fb20a1150d4376dfa59.

Assessment

Its strongest fit is a technical figure whose positions, labels and relationships need deliberate control. Keeping the JSON specification alongside the SVG offers a practical way to revise a figure and preserve its source.

The documentation calls the output publication-quality, but that quality is not established by supplied examples or runtime results. Source inspection supports a useful rendering mechanism while also revealing validation and geometry limitations that make visual inspection necessary.

Users

Researchers can use it for paper architecture figures, workflow pipelines and audit cascades. Developers can use it for system topology and component relationships. It is particularly relevant when editable SVG and repeatable layout matter.

Beginners need to understand JSON and how center coordinates, widths and heights place shapes on a canvas. An assistant can draft that specification, but the diagram still needs checking for correct relationships and readable placement. Experienced developers can generate or revise specifications programmatically.

Capabilities

The renderer supports rectangles, rounded rectangles, circles, ellipses and diamonds; straight or curved edges; self-loops; solid, dashed and dotted lines; background groups; free labels; explicit multiline node labels; and smaller node sublabels. Canvas size, fonts and colors are configurable.

Its command-line interface provides schema documentation, validation and SVG rendering. Optional PNG preview conversion tries rsvg-convert and then CairoSVG. PDF conversion is documented as a separate rsvg-convert command. Chinese and other wide-character labels receive approximate width estimation rather than measured font layout.

Using it

Requirements

The core SVG renderer uses Python 3 and standard-library modules. It needs a readable JSON input file and permission to write the output location. The minimum Python version, supported operating systems and hardware requirements are not specified.

PNG preview needs either rsvg-convert or CairoSVG; the documented PDF route needs rsvg-convert. Displayed typography depends on available fonts, with Arial, Helvetica and sans-serif as the defaults.

Using the assistant skill requires a compatible host with file and command access. Its reviewer routing and trace instructions reference shared helpers and documents outside this folder, so the complete review integration is not established by these files alone.

Mechanism

A FigureSpec JSON object describes the canvas, style, nodes, edges, groups and labels. Nodes have unique IDs and explicit center coordinates; edges refer to those IDs. The renderer applies defaults, checks parts of the structure, calculates connection endpoints and serializes SVG elements.

Groups are background rectangles calculated from member bounds. They do not provide nested layout or automatic arrangement. The renderer contains no model call or network request; AI involvement comes from the surrounding assistant instructions and any separately configured reviewer.

The implementation contains no random layout or timestamp insertion. The documentation promises deterministic output for fixed renderer versions and fonts, but repeatability was not tested.

Setup

Acquire SKILL.md and scripts/figure_renderer.py from the same pinned folder revision and retain the repository LICENSE. The canonical helper is inside the skill folder; the documented compatibility shim and wider installer are outside the supplied resource.

From a checkout containing that folder, inspect the format with python3 skills/figure-spec/scripts/figure_renderer.py schema. Validate an input with python3 skills/figure-spec/scripts/figure_renderer.py validate diagram.json, then render with python3 skills/figure-spec/scripts/figure_renderer.py render diagram.json --output figures/diagram.svg.

The renderer creates missing output directories. Add --preview to request a PNG. For PDF, the documentation gives rsvg-convert -f pdf figures/diagram.svg -o figures/diagram.pdf. Assistant-specific installation and reviewer configuration require additional host documentation.

Example

An illustrative two-step pipeline specification is {"canvas":{"width":500,"height":200},"nodes":[{"id":"input","label":"Input","x":100,"y":100},{"id":"output","label":"Output","x":350,"y":100}],"edges":[{"from":"input","to":"output","label":"transforms"}]}. The coordinates place two nodes across the canvas, and the edge connects their IDs.

Saving this as diagram.json would provide input for the documented validate and render commands. This example was not executed, and no resulting SVG is available as evidence.

Assessment & evidence

Limitations

There is no automatic node layout, obstacle-aware edge routing, text wrapping or node resizing to fit labels. Overlap warnings use approximate bounding boxes. A structurally accepted specification can still produce clipped text, crossing lines or crowded groups.

Validation is a custom checker rather than a comprehensive JSON Schema validator. Some invalid values receive warnings but remain in use: nonnumeric group padding or node font sizes can subsequently reach arithmetic operations and raise exceptions. Other malformed inputs can also fail before clean diagnostics are returned.

Geometry has additional limits visible in the source. Rounded rectangles use rectangular clipping, and diagonal connections to noncircular ellipses do not generally preserve the center-to-center direction. An edge color outside the configured palette receives the default gray arrowhead. These findings come from code inspection, not rendered demonstrations.

Reasoning

The practical advantage is the separation between a text specification and vector output. Relationships and coordinates remain explicit, so later changes can be made in the JSON and regenerated. Although SVG is editable, the documented workflow recommends revising the specification to preserve reproducibility.

Explicit positioning also creates ongoing layout work. This makes the resource a plausible fit for carefully composed figures; suitability for large or frequently changing networks is not established. No benchmark supports claims about speed, time saved or superiority to other tools.

Alternatives

The documentation directs numerical plots to the sibling /paper-figure skill, natural or qualitative illustrations to /paper-illustration, and quick flowcharts or state machines to /mermaid-diagram.

Those sibling implementations are outside the supplied evidence, so their availability, quality, requirements and costs are unknown. The documented distinction helps define FigureSpec's role: structured diagrams where precise placement and editable SVG are priorities.

Evidence

The available evidence consists of the full skill instructions, canonical Python renderer and repository-root MIT License. The instructions establish intended use and integration; the renderer establishes implementation details; the license establishes the stated software permissions.

The original renderer is available at [https://raw.githubusercontent.com/wanshuiyin/Auto-claude-code-research-in-sleep/9f30e834d24a337dbdd06fb20a1150d4376dfa59/skills/figure-spec/scripts/figure_renderer.py]. Its supplied SHA-256 is 02b4e01e46b51aeca12722ddd7b21bb7da3c3b175bba5d129c45d671fb07a0bc.

No code was executed. No rendered artifact, runtime test result, performance benchmark or completed assistant/reviewer interaction is supplied.

Access & freshness

Costs

The MIT notice states no software license fee. The core renderer uses local computation and contains no metered API integration.

Any assistant subscription, reviewer/model usage, machine provisioning or conversion-tool costs are unknown. No runtime, memory-use or cost measurements are supplied.

Rights

The repository-root MIT License names wanshuiyin as the 2026 copyright holder. It permits use, modification, redistribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions. It supplies the software without warranty.

The supplied files contain no separate output-license statement. Rights for third-party fonts, external reviewer services or material placed inside a diagram are not established by this software license.

Freshness

The supplied capture is dated 2026-11-16T21:03:04.709Z and identifies revision 9f30e834d24a337dbdd06fb20a1150d4376dfa59. These findings apply to that snapshot; the current main branch was not assessed.

The renderer calls itself v2 in its introductory text. A separately released package version, commit date, release cadence and current compatibility matrix are unknown.

Actions

Begin with a small diagram representative of your work. Keep its JSON and SVG together, inspect warnings, and check labels, grouping, arrow endpoints and intended relationships at the final display or print size.

Before relying on a larger workflow, verify your actual fonts, diagonal ellipse connections, custom arrow colors and any PNG or PDF conversion you need. Configure reviewer services separately if you want the documented cross-model review, and establish their costs before use.

Retain the MIT notice when copying or redistributing the software. Acquire the complete skill folder for assistant use; the renderer alone supplies the local command-line functionality.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/figure-spec/SKILL.mdselected · checked 2026-11-16
skills/figure-spec/scripts/figure_renderer.pyselected · checked 2026-11-16