Skip to content

docs(design-md): sync skill with @google/design.md CLI 0.3.0 - #70494

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-bcf3b5fd
Jul 24, 2026
Merged

teknium1 merged 1 commit into
mainfrom
hermes/hermes-bcf3b5fd

Conversation

@teknium1

Copy link
Copy Markdown
Collaborator

Summary

Syncs the design-md skill with the current @google/design.md CLI (0.3.0, Jun 2026) — the skill documented the Apr 2026 0.1.x behavior, and several load-bearing claims had drifted.

Changes

  • skills/creative/design-md/SKILL.md:
    • Lint rule reference rewritten: the skill listed 7 rules that no longer exist by those names (duplicate-section, invalid-color, wcag-contrast, unknown-component-property); the 0.3.0 linter runs 9 rules (broken-ref, contrast-ratio, missing-primary, missing-typography, orphaned-tokens, section-order, unknown-key, token-summary, missing-sections).
    • Color token type: any CSS color (hex, rgb(), oklch(), named), not hex-only.
    • Export formats: json-tailwind (Tailwind v3 JSON) + css-tailwind (Tailwind v4 @theme CSS block); tailwind documented as back-compat alias. Export exit-code semantics (export exits 0 regardless of source lint findings).
    • Section order / duplicate headings corrected from "rejects the file" to lint warnings (consumers still expected to reject duplicates per spec — kept the guidance to fix both).
    • Windows designmd dot-free bin alias documented (the design.md bin name collides with the .md file association); the skill declares platforms: [windows].
    • New pitfall: typography sub-property typos (fontwight) are silently dropped with no finding as of 0.3.0.
    • Version bump 1.0.0 → 1.1.0.
  • website/docs/.../creative-design-md.md: regenerated via generate-skill-docs.py (unrelated regen drift reverted).

Validation

Every claim verified by running @google/design.md 0.3.0 live:

Check Result
Lint rule names/severities Match live lint output (contrast-ratio, orphaned-tokens, unknown-key, ...)
oklch() color token Lints clean (errors: 0)
Duplicate ## Colors + out-of-order sections Warnings only, exit 0
css-tailwind export Emits @theme { --color-*, --text-*, ... }, exit 0
Bundled templates/starter.md Lints clean: 0 errors, 0 warnings

Also audited claude-design in the same pass — it is current (v1.1.0, surface-first + slop diagnostic from #55399, local copy byte-identical to repo).

Infographic

design-md-cli-0-3-0-sync

The design-md skill documented the Apr 2026 (0.1.x) CLI behavior, which
has since drifted:

- Lint rules: the skill listed 7 rules that no longer exist by those
  names (duplicate-section, invalid-color, wcag-contrast,
  unknown-component-property); the 0.3.0 linter runs 9 rules
  (contrast-ratio, orphaned-tokens, missing-primary, missing-typography,
  section-order, unknown-key, token-summary, missing-sections,
  broken-ref). Verified against live lint output.
- Colors: any CSS color is now valid (oklch/rgb/named), not hex-only.
- Export: json-tailwind (v3) + css-tailwind (Tailwind v4 @theme CSS)
  formats; 'tailwind' is a back-compat alias. New exit-code semantics
  (export exits 0 regardless of source lint findings).
- Section order / duplicate headings are lint warnings, not file
  rejection (verified: duplicate + out-of-order sections exit 0).
- Windows: documented the designmd dot-free bin alias (the design.md
  bin name collides with the .md file association); skill declares
  platforms: [windows].
- New pitfall: typography sub-property typos (fontwight) are silently
  dropped with no finding as of 0.3.0.

All claims verified by running @google/design.md 0.3.0 live (lint,
export, duplicate-section, oklch token, starter template lints clean).
Docs page regenerated via generate-skill-docs.py.
@alt-glitch alt-glitch added type/docs Documentation improvements P3 Low — cosmetic, nice to have tool/skills Skills system (list, view, manage) labels Jul 24, 2026
@github-actions

github-actions Bot commented Jul 24, 2026 •

Copy link
Copy Markdown
Contributor

૮ >ﻌ< ა ci review

ran on ac0bb56

❌ Job failures

Desktop E2E / Playwright E2E (Linux) · View job

Job Desktop E2E / Playwright E2E (Linux) failed.

@teknium1
teknium1 merged commit cae5c81 into main Jul 24, 2026
65 of 71 checks passed
@teknium1
teknium1 deleted the hermes/hermes-bcf3b5fd branch July 24, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low — cosmetic, nice to have tool/skills Skills system (list, view, manage) type/docs Documentation improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants