What problem does it solve? Document formatting pipelines need consistent typography, color, spacing, and layout decisions, but hardcoding style values leads to inconsistency. This Skill centralizes all style decisions by mapping a document genre to a precompiled set of design tokens compliant with Chinese national standards such as GB/T 9704 and GB/T 7713. ## Core Features & Use Cases - Genre-based theme selection: Maps five document genres (government-doc, academic-paper, business-report, marketing-doc, general) to curated theme files with a general fallback. - Zero-LLM static lookup: Reads precompiled JSON artifacts from tokens/compiled/ at runtime, returning a complete DesignTokenOutput with no model round-trips. - Standards-backed rules: Ships GB/T 9704 government document rules, GB/T 7713 academic layout rules, and GB/T 7714 citation format rules as traceable references. - Use Case: In a doc-formatter pipeline, pass genre "academic-paper" and receive typography, color, spacing, and layout tokens plus ready-to-inject CSS variables for the doc-typeset template. ## Quick Start Ask the doc-formatter agent to determine the typography and color theme for an academic paper document so the typesetting step can apply the correct styles.