AGENT SKILL

visual-language

Use when choosing or reviewing colors, typography, spacing, component styling, or motion/animation for a user surface — establishing consistent visual semantics, bootstrapping a project design system (tokens, scales, recorded meanings), judging whether an animation is justified, or auditing a UI for visual drift and inconsistency.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 0
Forks
0

01 前言 Front Matter

name
visual-language
metadata
{ "owner": "tze", "status": "active", "authors": [ "tze", "Claude Fable 5" ], "last_reviewed": "2026-07-19" }
description
Use when choosing or reviewing colors, typography, spacing, component styling, or motion/animation for a user surface — establishing consistent visual semantics, bootstrapping a project design system (tokens, scales, recorded meanings), judging whether an animation is justified, or auditing a UI for visual drift and inconsistency.

02 资源文件 2

03 SKILL.md 正文

Visual Language

Color, type, spacing, and motion. The bar: clean and consistent — color is welcome, but every visual choice carries one meaning everywhere, and motion exists only to communicate.

Use This Skill When

  • Picking a palette or assigning colors to states, categories, or actions
  • Auditing a UI for visual drift: same concept styled differently, or same style meaning different things
  • Judging whether an animation or transition should exist
  • Setting typography, spacing, radius, or elevation conventions
  • Bootstrapping a design system for a project that has none

Example trigger phrasings: "pick colors for this", "is this consistent", "is this animation necessary", "this UI looks messy", "set up design tokens", "set up a design system".

Do Not Use This Skill For

  • What content appears and at what density — information-design
  • Contrast ratios and non-color signaling as compliance concerns — accessibility (this skill still forbids inaccessible choices)
  • Chart/series palette construction — /dataviz, under these semantics; a chart hue that contradicts the app's color meanings is this skill's finding

Reviewable Expectations

Color

  • One hue, one meaning, everywhere: red = destructive/error, green = success/healthy, yellow/orange = caution, one accent hue = interactive. A hue reused with a second meaning is a defect.
  • Adding a color = adding a meaning. Name it and record it (tokens, style guide, or a comment block if that's all the project has). Unnamed one-off hex values are drift.
  • Color is welcome and encouraged where it encodes information (status, category, severity) — but never as the only channel; pair with icon, label, or position (accessibility).
  • Neutrals carry structure and layout; saturated hues appear only on interactive affordances and status/severity/category marks. A saturated hue on a decorative or non-semantic background is a finding.
  • Use tokens/variables, not literals, so light/dark themes stay one mapping away.

Consistency

  • One spacing scale, one type scale (≤2 families, few sizes), one radius/shadow vocabulary per product. New values join the scale or don't ship.
  • The same control looks and behaves identically everywhere: a primary button on one screen is a primary button on all screens. Same for empty states, errors, and loading treatments.
  • Novelty needs a reason: a deviation from the established pattern is either justified in review or reverted.

Motion

  • Animation exists only to communicate: where something came from or went (spatial continuity), that state changed (a toggle, a completed async action), or where attention is needed. Decoration, delight-loops, parallax, and animated page furniture are defects.
  • Budget: transitions ~100–200ms, ease-out; never longer on a path the user hits repeatedly. An animation the user waits through twice a minute is a latency bug (interaction-speed).
  • Motion never blocks input. Reduced-motion compliance is owned by accessibility; design every animation so its instant-state fallback loses no information.
  • When in doubt, no animation. The absence of an animation is never a defect; an unjustified one always is.

Establishing a Design System

When design-bar's locate step finds no design system, don't apply defaults silently forever — establish the minimum viable system so the next change has something to cite. In order, stopping where the project's maturity stops:

  1. Token file — palette as named variables with semantic names (--color-danger, not a bare hex), one spacing scale, one type scale, radius/shadow vocabulary. Place it where the stack already looks (tokens.css, theme.ts, Tailwind config). Seed from the de facto values in use, not from scratch — record reality first, then correct drift.
  2. Meanings — each color's single meaning recorded next to its token; a token without a stated meaning is future drift.
  3. Doctrine, if the project keeps docs — settled decisions (theme commitment, accessibility floor, motion policy) in a DESIGN.md or about/ doc.
  4. Spec form, if the project is spec-governed — capture the language as a normative design-language spec through the project's spec workflow (/th-projects feature-request); tokens then implement the spec, and later changes to the language go through spec gates, not ad-hoc edits.

Keep it small: a system nobody exceeds is better than a complete one nobody reads. Every expectation in this skill applies to the system being authored.

Review Method

  1. Inventory: list every color, font size, spacing value, and animation in scope (grep styles/tokens where possible — cite file:line).
  2. For each color: state its meaning; flag hues with two meanings or meanings with two hues.
  3. For each animation: state what it communicates; no answer → remove.
  4. Diff same-concept components across screens; flag divergence.

No built UI yet? Apply the same expectations to the spec's described styling; evidence cites the spec section or screen region.

Findings cite the element and expectation violated; conflicts with density or accessibility resolve via design-bar biases.

04 同仓库更多 Skills

tzeusy-org
tzeusy-org/ai-bootstrap

progress-dashboard

Use when asked to "give this session a dashboard", "show loop progress", "monitor subagents", or "steer this run in a browser": a durable local workspace for current work, findings, agents, measured usage and feedback.

★ 0
tzeusy-org
tzeusy-org/ai-bootstrap

spec-concretization

Use when specs and implementation must be fully reconciled in both directions — code doing things no spec describes, specs requiring things the code doesn't do yet, or the two disagreeing — and the result must land as vision-gated spec updates plus a complete, backlog-deduplicated work plan. Also the read-only audit form ("does code match the spec?"), and re-runs that must not duplicate prior findings. Triggers: "reconcile spec vs implementation", "does code match the spec", "what's implemented but undocumented", "what's specified but not built", "the code is ahead of the spec", "plan the work to finish the spec", "concretize the specs".

★ 0
tzeusy-org
tzeusy-org/ai-bootstrap

skill-creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

★ 0
tzeusy-org
tzeusy-org/ai-bootstrap

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

★ 0
tzeusy-org
tzeusy-org/ai-bootstrap

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

★ 0
tzeusy-org
tzeusy-org/ai-bootstrap

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

★ 0