一键导入
forge-color-audit
Find every color in the codebase that isn't in your palette or token system. Lists orphan colors with suggested replacements.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Find every color in the codebase that isn't in your palette or token system. Lists orphan colors with suggested replacements.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Full accessibility audit using your design system's color tokens. Checks contrast, focus styles, semantic HTML, touch targets, and motion safety.
Check the current codebase against your .forge.json design system. Finds raw hex values that should be tokens, spacing off your scale, fonts not in your system, and missing token references.
Amplify the design within your system's range. Use stronger palette shades, higher type scale steps, and more dramatic shadows.
Replace all orphan colors with the nearest token from your system. Converts raw hex values to var(--token) references.
Check WCAG contrast ratios across your entire token system. Tests every text token against every surface token.
Generate a dark mode variant of your design system. Creates dark-mode token overrides that preserve contrast ratios from the light theme.
| name | forge-color-audit |
| description | Find every color in the codebase that isn't in your palette or token system. Lists orphan colors with suggested replacements. |
| user-invokable | true |
Extract every hex, rgb, rgba, hsl value from CSS files.
For each:
Report: list of orphan colors with the nearest palette shade and suggested token.