maintain-design-md

Official

Maintain Stitch-compliant design system contracts.

Authorlossless-group
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates the risk of visual drift between a project's runtime CSS and its documented design system, which causes inconsistent user experiences and forces AI agents to make uninformed stylistic decisions when no explicit rule exists.

Core Features & Use Cases

  • Stitch Spec Compliance: Enforces the Google Stitch open spec for DESIGN.md files, including canonical YAML frontmatter token groups (colors, typography, rounded, spacing, components) and eight ordered prose sections.
  • Drift Prevention & Reconciliation: Provides clear triggers for when to update DESIGN.md when runtime CSS changes, plus a step-by-step drift audit workflow to catch mismatches between documented tokens and actual CSS custom properties.
  • Lossless Extension Support: Safely accommodates project-specific off-spec extensions like imagery blocks for OG image generation, mode variants for light/dark themes, and iconography conventions without breaking spec-compliant consumer behavior.
  • Use Case: Use this Skill when bootstrapping a DESIGN.md for a new Lossless project (splash page, Astro site, plugin landing), auditing an existing DESIGN.md for drift after a visual update, or adding a new component token to the design doc.

Quick Start

Use the maintain-design-md skill to create a Stitch-compliant DESIGN.md for the current project by extracting design tokens from its runtime CSS file and filling the canonical scaffold.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: maintain-design-md
Download link: https://github.com/lossless-group/lossless-agent-skills/archive/main.zip#maintain-design-md

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.