Visual Design
Principle expression
Primary: P16
Supporting: P07, P05, P09
Scope
Own one recurring judgment: how should an agent organize content and action
into coherent visual form for a real audience, while inheriting or cultivating
the project direction needed to keep related artifacts recognizable?
Visual design is not surface styling. It makes content relations and intended
actions perceptible through hierarchy, layout, type, color, imagery, motion,
and interaction. Cultivate judgment rather than imposing a house style: no
treatment becomes a portable default merely because one project accepted it.
Use a project-declared visual direction or design system when one exists. This
skill may interpret and extend it for the present case; it does not replace it.
Principle source
First detect whether the host declares a Sequence and matching interpretations.
When it does, read only host P16, P07, P05, and P09; do not inspect the packaged
snapshot. Only when the host lacks that source may you use the read-only fallback
in references/sequence.md. A live task may select a different
current lead, but it does not create co-primary doctrine.
Domain vocabulary
- Direction: a generative stance with contrasts and a negative boundary,
not a palette preset.
- Style cue: a person's provisional phrase for a desired perceptual family,
such as “hand-drawn” or “editorial”; it opens inquiry and is not yet a
direction, preset, or specification.
- Visual language: a provisional project-local relation between direction
and formal tendencies—gesture, shape, rhythm, material, type, imagery, and
motion—plus how strongly they appear across different surfaces.
- Project visual contract: an accepted direction compiled into project-local
expression responsibilities, invariants, negative boundaries, and established
formal decisions that downstream agents can test without reopening taste. It
belongs in the project's existing design source, not a portable preset or a
mandatory new schema.
- Conformance map: a temporary trace from an in-scope visual role and its
contract relation to current evidence, implementation owner, affected
consumers, required change, and verification.
- Attention path: the intended order and relative force of orientation,
primary action, supporting judgment, context, and recovery signals.
- System: the smallest shared invariants that keep related surfaces
recognizable while their functions differ.
- Token: a named repeated semantic decision with at least two independent
consumers or a declared theme/context substitution.
- Treatment: the local color, type, spacing, imagery, depth, motion, and
component choices that embody the direction.
- Detail grammar: the project-local relations among component anatomy,
edges, spacing, depth, marks, states, and motion that let ordinary elements
support the direction without becoming its primary source.
Governing dependency
content and actions -> attention path -> visual hierarchy and layout
project relation and sources -> provisional visual language
-> selected project direction
-> project visual contract
\ /
content and surface expression allocation
-> role and implementation-owner map
-> component expression and semantic roles
-> repeated tokens where justified
-> case-specific treatment
-> observed comprehension and action
Color, type, spacing, grid, depth, imagery, and motion allocate attention and
express content relations. Do not choose them independently and force content
into the result. A token retains a repeated semantic decision after its role is
known; it does not discover the role.
Start
Establish only enough state to select the operation:
Object and artifact state:
Audience and intended action:
Existing direction or design system:
Named style cue or supplied references, if any:
Requested outcome: establish | direction-only | design | refine | review
Available production and inspection capabilities:
If the request and artifact state already identify the operation, proceed
without asking the user to choose an internal stage. A small local adjustment
inside a clear system remains ordinary development work.
User interaction
- Treat operation names as internal routing controls, not vocabulary the user
must learn. Accept an ordinary request such as “redesign this page” or
“review why these docs feel inconsistent” and infer the smallest path.
- When the user asks for a change, inspect and modify the real artifact, then
verify the affected experience. When the user asks only for critique or
review, return evidence and a smallest revision without editing unless they
also authorize a change.
- Inherit an existing project direction or design system without requiring a
setup exercise. Use
cultivate only when a continuing project lacks one and
forming it is part of the requested outcome.
- Once the designated human or owning project source has selected a direction,
do not ask them to choose it again for each page, component, or polish pass.
Compile and apply the inherited direction. Preserve its relation and negative
boundary, not the current page composition or treatment unless the owning
source makes those invariant. An explicit redesign request authorizes new
visual structure and component expression inside the functional scope. Ask
another aesthetic question only when the available choices would materially
revise the shared direction and project evidence cannot distinguish them.
- Ask only for a decision that materially blocks safe progress. Present the
relevant options, tradeoff, and recommendation rather than asking the user to
discover the choice space.
- Make human aesthetic acceptance answerable from the artifact. A person may
accept a revision as preferable to the current artifact and fit for use
without being able to explain which subtle perceptual relation caused that
preference. Do not ask them to certify an abstract style phrase directly.
Retain the explicit decision, any clear wrong reading or veto, and what remains
a provisional interpretation; silence or missing articulation is not consent.
- Use the production, browser, rendering, accessibility, and image capabilities
supplied by the host agent. State a missing capability instead of replacing
real inspection or implementation with prose.
Dispatch
Select exactly one operation before loading a command; operations are not
phases to combine. Once refine fits, treat the accepted direction and main
structure as inputs and load only commands/refine.md plus
references/component-expression.md. A discovered structural defect ends that
path and is reported for rerouting rather than loading a sibling command.
Common:
design — read commands/design.md for a real create, redesign, or
visual-system task.
refine — read commands/refine.md when the direction and main structure
are sound but recurring components and interface details do not yet embody it.
review — read commands/review.md for an existing rendered artifact.
Less frequent:
cultivate — read commands/cultivate.md to establish a continuing
project's provisional direction.
shape — read commands/shape.md when a direction or Aesthetic Case is
required without implementation, including when a named style cue must be
expanded into guidance for later agents.
With no argument, infer the smallest matching operation. Default to design
for a requested change and review for critique.
Progressive disclosure
Load this file and the selected Sequence interpretations first. Then load
exactly one command:
| Operation |
Required next context |
Conditional retrieval |
design |
command, host content/direction/system |
component-expression reference only when recurring component conformance is the principal unresolved judgment; visual-language reference when a style cue remains unresolved or provisional guidance must be translated across surfaces; presentation model when content hierarchy, attention, layout, or a token system is unresolved; visual-asset production when a logo, icon, illustration, or motion asset is a primary object; source index and 1–3 detail files only when local interface guidance is insufficient |
refine |
command, host direction/system, rendered evidence, component-expression reference |
shadcn reference when components.json identifies shadcn; report a route change when structure, direction, or a primary production asset must be reconsidered |
review |
command, owning direction, rendered evidence |
component-expression reference when checking whether recurring interface elements realize an accepted direction; presentation model only for an attention/hierarchy diagnosis; visual-asset production only when reviewing a production visual asset; never the source index by default |
cultivate |
command, presentation model |
visual-language reference when a named style cue or expressive cross-surface relation is material; visual-seed index and selected cards when the host source field lacks inspectable visual contrast; design-source index only when formation or system evidence remains insufficient |
shape |
command, host content/direction, presentation model |
visual-language reference when a style cue is ambiguous or later agents need a cross-surface guide; visual-seed index and exactly two selected cards when the concrete project evidence cannot expose a meaningful contrast or a durable direction needs a source field; one expressive-process source only when the origin or testing of a relation remains material; concepts only when terms beyond the vocabulary above are genuinely conflated |
The paths above are complete for routing; do not list the skill directory when
the operation is known. Never load sibling command files to complete a formal
sequence.
Core method
Whichever operation is selected:
- Begin with owning content, the actual audience action, inherited direction,
material constraints, and—when available—one representative render.
Distinguish observed facts from inferred taste. Do not turn source reading
into a theory preflight: retrieve only what can still change the next design
decision.
- Allocate attention before choosing layout or treatment. Balance means
unequal emphasis proportional to the user's current decision, not equal
visual weight.
- When the direction remains unresolved, treat a named style as a cue to
expand, compare, and situate. When an accepted direction exists, inherit it
without reopening style formation merely because treatment is incomplete.
- When forming or reopening a direction, use visual seeds to expose choices
and process sources to understand how a relation was formed or tested. State
the decision each source changes and what must not be copied. Prefer host
sources; built-in references are fallback context. Do not retrieve them for
implementation inside an accepted direction.
- Compile an accepted direction into the smallest project visual contract
needed by the current artifact. Carry its expression responsibilities,
negative boundary, actual owners, and consumers as working decisions; do
not require a formal map or prose artifact before editing unless another
actor must use it.
- Translate that contract into the relevant details of recurring components
and states. Let those details support content, attention, and identity; do
not let a checklist of radii, shadows, spacing, or icons become the design.
Compare rendered candidates only when the contract and evidence leave a
material treatment choice unresolved; do not make candidate selection a
routine user interaction or turn serial value tuning into a design method.
- Derive tokens from repeated semantic roles. Admit one only when it has at
least two independent consumers or a declared theme/context substitution;
otherwise keep the value local. Raw values, trends, and component kits
cannot establish content priority.
- For implementation, make one representative fragment embody the chosen
relation early, inspect the real render, and revise before propagating the
treatment. A broad redesign that changes only palette or tokens needs
rendered evidence that structure and component expression were already
sufficient. Inspect representative content, states, themes, and viewports.
Mechanical checks admit work to human aesthetic review but cannot accept it.
Boundaries
- Do not infer brand authority, product claims, or factual content from visual
work. Route naming and articulation to its owning method.
- Do not prescribe a universal palette, font stack, grid, component language,
motion system, or named visual trend.
- Do not copy an external design system's surface or treat the built-in seed and
source indexes as a canon.
- Do not claim image generation, browser operation, rendering, or accessibility
verification unless the runtime supplies it.
- Do not turn taste into deterministic lint; the designated human owns
aesthetic acceptance.
- Do not make
cultivate → shape → design → review mandatory. Enter at the
unresolved judgment and stop when its acceptance condition is met.
Completion standard
cultivate: source field, comparative readings, human preference evidence,
provisional direction, negative boundary, and disconfirming cases are clear.
shape: content, attention path, relation, contrasts, direction, unknowns,
negative boundary, and review question can guide production.
design: a coherent real slice preserves the intended content hierarchy and
attention path, carries the direction through its relevant component details,
uses justified semantic roles, passes relevant checks, and is ready for human
review.
refine: the leading detail mismatch is corrected across representative
components and states without disguising a structural defect or making
supporting details compete with the content.
review: observations, contract-conformance mismatch, owning layer, smallest
revision or no-change case, and human acceptance question are explicit.
1---2name: visual-design3description: Design, redesign, refine, or review real interfaces, documents, illustrations, and visual systems from their content, audience, intended action, and project direction. Use when creating UI, improving visual hierarchy or coherence, reviewing a rendered artifact, establishing a continuing project's direction from references, translating an ambiguous style cue into provisional guidance, or applying an accepted direction to code without reopening taste. Triggers include "design/redesign/review the UI", "the page works but feels generic/inconsistent", "the direction is right but components feel generic", "polish/refine interface details", "align logo or illustration with product", "apply the selected style", "art direction", and "审美/视觉设计/组件细节/插画或品牌视觉统一/确立风格/按现有风格落实". Do not use for purely functional fixes, naming, or automatic aesthetic acceptance. Never impose a portable fixed style.4---56# Visual Design78## Principle expression910**Primary:** P1611**Supporting:** P07, P05, P091213## Scope1415Own one recurring judgment: **how should an agent organize content and action16into coherent visual form for a real audience, while inheriting or cultivating17the project direction needed to keep related artifacts recognizable?**1819Visual design is not surface styling. It makes content relations and intended20actions perceptible through hierarchy, layout, type, color, imagery, motion,21and interaction. Cultivate judgment rather than imposing a house style: no22treatment becomes a portable default merely because one project accepted it.2324Use a project-declared visual direction or design system when one exists. This25skill may interpret and extend it for the present case; it does not replace it.2627## Principle source2829First detect whether the host declares a Sequence and matching interpretations.30When it does, read only host P16, P07, P05, and P09; do not inspect the packaged31snapshot. Only when the host lacks that source may you use the read-only fallback32in `references/sequence.md`. A live task may select a different33current lead, but it does not create co-primary doctrine.3435## Domain vocabulary3637- **Direction:** a generative stance with contrasts and a negative boundary,38 not a palette preset.39- **Style cue:** a person's provisional phrase for a desired perceptual family,40 such as “hand-drawn” or “editorial”; it opens inquiry and is not yet a41 direction, preset, or specification.42- **Visual language:** a provisional project-local relation between direction43 and formal tendencies—gesture, shape, rhythm, material, type, imagery, and44 motion—plus how strongly they appear across different surfaces.45- **Project visual contract:** an accepted direction compiled into project-local46 expression responsibilities, invariants, negative boundaries, and established47 formal decisions that downstream agents can test without reopening taste. It48 belongs in the project's existing design source, not a portable preset or a49 mandatory new schema.50- **Conformance map:** a temporary trace from an in-scope visual role and its51 contract relation to current evidence, implementation owner, affected52 consumers, required change, and verification.53- **Attention path:** the intended order and relative force of orientation,54 primary action, supporting judgment, context, and recovery signals.55- **System:** the smallest shared invariants that keep related surfaces56 recognizable while their functions differ.57- **Token:** a named repeated semantic decision with at least two independent58 consumers or a declared theme/context substitution.59- **Treatment:** the local color, type, spacing, imagery, depth, motion, and60 component choices that embody the direction.61- **Detail grammar:** the project-local relations among component anatomy,62 edges, spacing, depth, marks, states, and motion that let ordinary elements63 support the direction without becoming its primary source.6465## Governing dependency6667```text68content and actions -> attention path -> visual hierarchy and layout69project relation and sources -> provisional visual language70 -> selected project direction71 -> project visual contract72 \ /73 content and surface expression allocation74 -> role and implementation-owner map75 -> component expression and semantic roles76 -> repeated tokens where justified77 -> case-specific treatment78 -> observed comprehension and action79```8081Color, type, spacing, grid, depth, imagery, and motion allocate attention and82express content relations. Do not choose them independently and force content83into the result. A token retains a repeated semantic decision after its role is84known; it does not discover the role.8586## Start8788Establish only enough state to select the operation:8990```text91Object and artifact state:92Audience and intended action:93Existing direction or design system:94Named style cue or supplied references, if any:95Requested outcome: establish | direction-only | design | refine | review96Available production and inspection capabilities:97```9899If the request and artifact state already identify the operation, proceed100without asking the user to choose an internal stage. A small local adjustment101inside a clear system remains ordinary development work.102103## User interaction104105- Treat operation names as internal routing controls, not vocabulary the user106 must learn. Accept an ordinary request such as “redesign this page” or107 “review why these docs feel inconsistent” and infer the smallest path.108- When the user asks for a change, inspect and modify the real artifact, then109 verify the affected experience. When the user asks only for critique or110 review, return evidence and a smallest revision without editing unless they111 also authorize a change.112- Inherit an existing project direction or design system without requiring a113 setup exercise. Use `cultivate` only when a continuing project lacks one and114 forming it is part of the requested outcome.115- Once the designated human or owning project source has selected a direction,116 do not ask them to choose it again for each page, component, or polish pass.117 Compile and apply the inherited direction. Preserve its relation and negative118 boundary, not the current page composition or treatment unless the owning119 source makes those invariant. An explicit redesign request authorizes new120 visual structure and component expression inside the functional scope. Ask121 another aesthetic question only when the available choices would materially122 revise the shared direction and project evidence cannot distinguish them.123- Ask only for a decision that materially blocks safe progress. Present the124 relevant options, tradeoff, and recommendation rather than asking the user to125 discover the choice space.126- Make human aesthetic acceptance answerable from the artifact. A person may127 accept a revision as preferable to the current artifact and fit for use128 without being able to explain which subtle perceptual relation caused that129 preference. Do not ask them to certify an abstract style phrase directly.130 Retain the explicit decision, any clear wrong reading or veto, and what remains131 a provisional interpretation; silence or missing articulation is not consent.132- Use the production, browser, rendering, accessibility, and image capabilities133 supplied by the host agent. State a missing capability instead of replacing134 real inspection or implementation with prose.135136## Dispatch137138Select exactly one operation before loading a command; operations are not139phases to combine. Once `refine` fits, treat the accepted direction and main140structure as inputs and load only `commands/refine.md` plus141`references/component-expression.md`. A discovered structural defect ends that142path and is reported for rerouting rather than loading a sibling command.143144Common:145146- `design` — read `commands/design.md` for a real create, redesign, or147 visual-system task.148- `refine` — read `commands/refine.md` when the direction and main structure149 are sound but recurring components and interface details do not yet embody it.150- `review` — read `commands/review.md` for an existing rendered artifact.151152Less frequent:153154- `cultivate` — read `commands/cultivate.md` to establish a continuing155 project's provisional direction.156- `shape` — read `commands/shape.md` when a direction or Aesthetic Case is157 required without implementation, including when a named style cue must be158 expanded into guidance for later agents.159160With no argument, infer the smallest matching operation. Default to `design`161for a requested change and `review` for critique.162163## Progressive disclosure164165Load this file and the selected Sequence interpretations first. Then load166exactly one command:167168| Operation | Required next context | Conditional retrieval |169|---|---|---|170| `design` | command, host content/direction/system | component-expression reference only when recurring component conformance is the principal unresolved judgment; visual-language reference when a style cue remains unresolved or provisional guidance must be translated across surfaces; presentation model when content hierarchy, attention, layout, or a token system is unresolved; visual-asset production when a logo, icon, illustration, or motion asset is a primary object; source index and 1–3 detail files only when local interface guidance is insufficient |171| `refine` | command, host direction/system, rendered evidence, component-expression reference | shadcn reference when `components.json` identifies shadcn; report a route change when structure, direction, or a primary production asset must be reconsidered |172| `review` | command, owning direction, rendered evidence | component-expression reference when checking whether recurring interface elements realize an accepted direction; presentation model only for an attention/hierarchy diagnosis; visual-asset production only when reviewing a production visual asset; never the source index by default |173| `cultivate` | command, presentation model | visual-language reference when a named style cue or expressive cross-surface relation is material; visual-seed index and selected cards when the host source field lacks inspectable visual contrast; design-source index only when formation or system evidence remains insufficient |174| `shape` | command, host content/direction, presentation model | visual-language reference when a style cue is ambiguous or later agents need a cross-surface guide; visual-seed index and exactly two selected cards when the concrete project evidence cannot expose a meaningful contrast or a durable direction needs a source field; one expressive-process source only when the origin or testing of a relation remains material; concepts only when terms beyond the vocabulary above are genuinely conflated |175176The paths above are complete for routing; do not list the skill directory when177the operation is known. Never load sibling command files to complete a formal178sequence.179180## Core method181182Whichever operation is selected:1831841. Begin with owning content, the actual audience action, inherited direction,185 material constraints, and—when available—one representative render.186 Distinguish observed facts from inferred taste. Do not turn source reading187 into a theory preflight: retrieve only what can still change the next design188 decision.1892. Allocate attention before choosing layout or treatment. Balance means190 unequal emphasis proportional to the user's current decision, not equal191 visual weight.1923. When the direction remains unresolved, treat a named style as a cue to193 expand, compare, and situate. When an accepted direction exists, inherit it194 without reopening style formation merely because treatment is incomplete.1954. When forming or reopening a direction, use visual seeds to expose choices196 and process sources to understand how a relation was formed or tested. State197 the decision each source changes and what must not be copied. Prefer host198 sources; built-in references are fallback context. Do not retrieve them for199 implementation inside an accepted direction.2005. Compile an accepted direction into the smallest project visual contract201 needed by the current artifact. Carry its expression responsibilities,202 negative boundary, actual owners, and consumers as working decisions; do203 not require a formal map or prose artifact before editing unless another204 actor must use it.2056. Translate that contract into the relevant details of recurring components206 and states. Let those details support content, attention, and identity; do207 not let a checklist of radii, shadows, spacing, or icons become the design.208 Compare rendered candidates only when the contract and evidence leave a209 material treatment choice unresolved; do not make candidate selection a210 routine user interaction or turn serial value tuning into a design method.2117. Derive tokens from repeated semantic roles. Admit one only when it has at212 least two independent consumers or a declared theme/context substitution;213 otherwise keep the value local. Raw values, trends, and component kits214 cannot establish content priority.2158. For implementation, make one representative fragment embody the chosen216 relation early, inspect the real render, and revise before propagating the217 treatment. A broad redesign that changes only palette or tokens needs218 rendered evidence that structure and component expression were already219 sufficient. Inspect representative content, states, themes, and viewports.220 Mechanical checks admit work to human aesthetic review but cannot accept it.221222## Boundaries223224- Do not infer brand authority, product claims, or factual content from visual225 work. Route naming and articulation to its owning method.226- Do not prescribe a universal palette, font stack, grid, component language,227 motion system, or named visual trend.228- Do not copy an external design system's surface or treat the built-in seed and229 source indexes as a canon.230- Do not claim image generation, browser operation, rendering, or accessibility231 verification unless the runtime supplies it.232- Do not turn taste into deterministic lint; the designated human owns233 aesthetic acceptance.234- Do not make `cultivate → shape → design → review` mandatory. Enter at the235 unresolved judgment and stop when its acceptance condition is met.236237## Completion standard238239- `cultivate`: source field, comparative readings, human preference evidence,240 provisional direction, negative boundary, and disconfirming cases are clear.241- `shape`: content, attention path, relation, contrasts, direction, unknowns,242 negative boundary, and review question can guide production.243- `design`: a coherent real slice preserves the intended content hierarchy and244 attention path, carries the direction through its relevant component details,245 uses justified semantic roles, passes relevant checks, and is ready for human246 review.247- `refine`: the leading detail mismatch is corrected across representative248 components and states without disguising a structural defect or making249 supporting details compete with the content.250- `review`: observations, contract-conformance mismatch, owning layer, smallest251 revision or no-change case, and human acceptance question are explicit.