算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
design-md-extractor【设计与创意】Extract a visual design system from any website URL and generate a DESIGN.md that strictly follows the google-labs-code/design.md specification, with validated YAML front matter (colors, typography, rounded, spacing, components) and the full markdown section set (Overview, Colors, Typography, Layout, Elevation & Depth, Shapes, Components, Do's and Do…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
npx @google/design.md lint. Trigger phrases: DESIGN.md, design system extraction, design tokens,
设计系统, 设计规范, 配色与字体规范.Turn a website URL into a DESIGN.md design-system document that conforms to the
google-labs-code/design.md specification: YAML
front-matter tokens plus design-critique prose. The value is spec conformance and honesty about
observed values — the file must pass npx @google/design.md lint, and it must never contain invented
tokens.
DESIGN.md, design system, or design tokens.DESIGN.md for [url]), tokens plus summary (extract design tokens from [url]), or DESIGN.md plus inline analysis (analyze [url]'s visual style).image-design or spec-image.@font-face, computed styles, box-shadow,
border-radius, and spacing. Screenshots capture decorative elements (gradients, glows,
illustrations) that CSS inspection alone misses.references/token-extraction.md for colour counts, typography semantic names, spacing base-unit
detection, radius mapping, and shadow capture.button-primary, button-primary-hover). Valid component
properties are listed in references/design-md-spec.md.## sections in spec order, following
references/writing-guidelines.md. The Overview must read as design critique, not a feature list.npx @google/design.md lint DESIGN.md. Fix every error — broken refs, duplicate
sections, invalid tokens — before finishing.DESIGN.md plus a short summary.DESIGN.md and summarise the token set inline.DESIGN.md and include the analysis inline.## headings -> treat it as an error and fix before output.## heading -> preserve it. Unknown headings are not errors.references/design-md-spec.md.npx @google/design.md lint DESIGN.md run.version, name, description, colors, typography,
rounded, spacing, components.{colors.primary}, {rounded.sm},
{typography.label-lg}), never hardcoded hex or px values.box-shadow values verbatim, comma-separated.## headings and no omitted lineHeight / letterSpacing in typography tokens.Before reporting done:
npx @google/design.md lint DESIGN.md passes with no errors.Brand & Style, Layout & Spacing, Elevation) are
the only acceptable alternatives.{...} syntax.DESIGN.md file conforming to the google-labs-code/design.md spec, plus a short
summary of the extracted system.themes/{brand-slug}/DESIGN.md in the current working
directory, lint passes, and the summary is delivered.Load only when needed:
references/design-md-spec.md — read before writing or repairing the front matter, or when a lint
error concerns structure, section order, heading names, or allowed keys.references/token-extraction.md — read during token extraction, or when a category is ambiguous,
missing, or the site is an SPA, uses compressed CSS, or ships multiple themes.references/writing-guidelines.md — read before writing the section prose and the Do's and Don'ts
list, or when reviewing a draft that reads like a token dump.examples/design-md-template.md — a complete, spec-conformant filled DESIGN.md. Read it when
the target shape of any section is unclear, or to copy the component-token and Do's/Don'ts
formatting conventions.spec-image — consumes design specifications for engineered image generation.image-design — photography-driven AI image prompting, for visual assets rather than specs.