원클릭으로
lint-and-fix-design-md
Lints a DESIGN.md file and uses the format specification and examples to automatically fix any errors or warnings.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Lints a DESIGN.md file and uses the format specification and examples to automatically fix any errors or warnings.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generate a self-contained HTML preview for a DESIGN.md design system. Use when you need to visualize tokens, typography, and components in a functional web page.
Generates a metadata.yaml file for a given DESIGN.md file based on the project schema and template.
Analyzes an HTML design and generates a DESIGN.md file based on the design-md spec.
| name | lint-and-fix-design-md |
| description | Lints a DESIGN.md file and uses the format specification and examples to automatically fix any errors or warnings. |
This skill runs the design-md linter on a target DESIGN.md file. If any errors or warnings are found, it uses the official specifications and example design-md files to systematically resolve the issues, ensuring the design system conforms to standard rules and best practices.
Use the following files in the repository as specification references and examples to guide your fixes:
design-md-library/design-md-spec/spec.mddesign-md-library/design-md-spec/DESIGN-example-1.mddesign-md-library/design-md-spec/DESIGN-example-2.mddesign-md-library/design-md-spec/DESIGN-example-3.mdLocate the Input:
DESIGN.md file.Run Linter:
npx @google/design.md lint <path-to-design-md-file>
Analyze Linter Output:
## Overview (or ## Brand & Style)## Colors## Typography## Layout (or ## Layout & Spacing)## Elevation & Depth (or ## Elevation)## Shapes## Components## Do's and Don'ts# (e.g., #1A1C1E).{colors.non-existent}).{colors.primary} or {typography.body-md}).## Colors sections).Review Specifications & Examples:
design-md-spec/spec.md and the structures in DESIGN-example-1.md, DESIGN-example-2.md, or DESIGN-example-3.md.Apply Fixes:
DESIGN.md file using appropriate file editing tools to fix the errors and warnings. Ensure formatting, typography tokens, shape scales, and component properties adhere strictly to the specification.Verify and Iterate:
npx @google/design.md lint <path-to-design-md-file>