跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
设计与 UI

academic-figure-designer

Unified academic figure designer, semantic color & surface decision engine, and FigureSpec v1 compiler. Handles style selection, reference palette derivation, colorblind-safe token binding, SVMC visual metaphors, and normalized compact prose prompt compilation across classic-technical, pastel-airy-ui, illustrated-modular, and reference-led profiles.

Azhi-ss · 已有 AI 审核记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add Azhi-ss/academic-figure-skills --skill academic-figure-designer

技能说明


name: academic-figure-designer description: Unified academic figure designer, semantic color & surface decision engine, and FigureSpec v1 compiler. Handles style selection, reference palette derivation, colorblind-safe token binding, SVMC visual metaphors, and normalized compact prose prompt compilation across classic-technical, pastel-airy-ui, illustrated-modular, and reference-led profiles. metadata: version: "2.1.0" stages: [writing, research, review]

Academic Figure Designer and Spec Engine

Design evidence-grounded academic figures, make semantic color & surface decisions, and compile clean academic-figure/FigureSpec@1 specifications and normalized structured rendering briefs. This skill serves as the single authoritative designer and prompt compiler for all figure styles.

Load only as needed:

  • spec contract → json-schema.md and figure-spec.schema.json
  • prompt compilation → references/json-to-prompt.md
  • visual brief guidance → references/image-prompt-guide.md
  • composition scaffolds → references/prompt-templates.md
  • visual anchors & SVMC → references/architecture-icons.md
  • palette/style fallback → references/palettes.md and optional references/styles/
  • missing evidence → references/missing-info-policy.md

Supported Style Profiles

Select one canonical style_profile (or compose with layer overlays from docs/styles/):

  1. classic-technical (经典学术框线风):
    • Clean white background, thin 1.5pt crisp outlines, restrained subtle tints (Okabe-Ito, Nature Blue, Cool Gray).
    • High contrast, orthogonal alignment, strict box/arrow engineering topology.
    • High-density tabular parameters and formal sans-serif typography (Helvetica/Inter).
  2. pastel-airy-ui (现代柔彩空气风):
    • White canvas with floating white cards and faint borders.
    • Generous negative space, floating pills/tokens (P1 Warm, P2 Cool, P3 Earthy), and lightweight curves.
    • Interface-like feel without multi-level nested boxes.
  3. illustrated-modular (编辑手绘模块风 / 有色语义分区图示风):
    • White canvas with content-driven soft-tinted semantic zones (I1 paired tokens: {soft_fill, dark_outline, title_text, icon_accent}).
    • Strong same-hue 1.5–2.5px dark outlines and no drop shadows.
    • Asymmetric hero region (~35–55% visual focus) with supporting modules arranged by real semantics.
    • Content-grounded editorial line art tied to declared semantics.
  4. reference-led (参考图驱动自由风格):
    • Extracts observable visual grammar (composition, marks, stroke, typography, illustration level, paired color fills/outlines) directly from a user-supplied reference image without copying proprietary content or topology.

Direct Input Normalization Protocol (自然语言直通归一化)

When the user provides direct natural-language architecture descriptions (bypassing upstream analyzers), deterministically normalize the input into FigureSpec v1:

  1. Source Mapping:
    • sources: [{"kind": "user_instruction", "uri_or_path": "conversation", "evidence": "<exact user request text>"}]
    • plan_revision: "r1"
  2. Topology Synthesis:
    • Extract stages/modules as snake_case IDs (input_data, encoder, fusion_block, loss_head, output).
    • Derive directed connections from temporal or dataflow verbs (e.g. "送入", "经过", "transforms to").
    • Default must_not_claim: [], forbidden_connections: [], and standard negative_constraints.

Semantic Color & Accessibility Decision (Domain-Adaptive Presets)

The default rules below serve as recommended presets for ML, AI4Science, and Systems papers. Domain-specific figures (e.g. monochrome print, inverted microscopy, multi-channel bio, astrophysics) may customize palette and background while preserving readability:

  1. Recommended ML / Systems Role Binding (Preset):
    • Multi-stage pipeline: Stage 1 (Green input) -> Stage 2 (Blue encoder) -> Stage 3 (Peach transformation) -> Stage 4 (Purple loss) -> Stage 5 (Gold output).
    • Deep Learning: Features/Data (Green) -> Backbone (Blue) -> Fusion/Attention (Peach) -> Loss/Constraint (Purple) -> Head/Task (Gold).
    • Interactive / Agentic: Policy/Reasoning (Blue), Context/Observation (Green), Tool/Harness (Peach), Advisory/Feedback (Purple), Memory/Storage (Cyan), Output (Gold), Guardrail/Stop (Coral).
  2. Domain-Specific Extensions:
    • Monochrome Print: High-contrast grayscale tints (#FFFFFF fill, #24323D stroke, dashed vs solid line dual-encoding).
    • Dark/Microscopy / Astrophysics: Dark canvas allowed when reference or domain data requires inverted emission contrast.
  3. Accessibility & Grayscale Invariants:
    • Ensure title and label texts meet WCAG AA contrast against their card backgrounds.
    • Dual-encode critical paths with shape, border style (solid vs dashed), or iconography so meaning survives grayscale printing and color vision deficiencies.

Strict Prompt Formatting Standard (Prose Normalization)

All generated image prompts MUST be compiled as normalized structured natural language (Compact Prose):

[!IMPORTANT] Zero Markdown Syntax in Image Prompts: Never use Markdown formatting symbols (such as # headers, **bold**, *italic*, markdown bullet lists - item, backticks, or ASCII markdown tables | --- |) inside the prompt string sent to diffusion/image models. Image models frequently hallucinate and render Markdown syntax tokens as literal text on the canvas. Use clean, comma-and-sentence structured prose grouped by numbered container blocks or semantic zones.

Canonical Prompt Structure

  1. Lead & Purpose: High-level figure goal, aspect ratio, canvas background (pure white #FFFFFF), and style profile. Default to an external paper caption with no canvas title. If the user, FigureSpec, or supplied reference explicitly requires a title, lock exactly one short non-banner title and reserve whitespace for it.
  2. Layout & Hero Focus: Numbered container panels and proportions (e.g. 3-column sandwich layout
阅读完整来源 ↗