项目简介
Impeccable 提供共享的设计词汇、领域参考和反模式规则,以增强 AI 模型的前端设计输出。它包含 23 个命令,可作为多种编码助手的技能使用。
README 预览
# Impeccable\n\nThe vocabulary you didn't know you needed. 1 skill, 23 commands, and curated anti-patterns for impeccable frontend design.\n\n> **Quick start:** Visit [impeccable.style](https://impeccable.style) to download ready-to-use bundles.\n\n## Why Impeccable?\n\nAnthropic's [frontend-design](https://github.com/anthropics/skills/tree/main/skills/frontend-design) was the first widely-used design skill for Claude. Impeccable started from there.\n\nEvery model trained on the same SaaS templates. Skip the guidance and you get the same handful of tells on every project: Inter for everything, purple-to-blue gradients, cards nested in cards, gray text on colored backgrounds, the rounded-square icon tile above every heading.\n\nImpeccable adds:\n- **7 domain reference files** ([view source](skill/)). Typography, color, motion, spatial, interaction, responsive, UX writing. Load on every command, alongside a brand-vs-product register that adjusts the defaults.\n- **23 commands.** A shared design vocabulary with your AI: `polish`, `audit`, `critique`, `distill`, `animate`, `bolder`, `quieter`, and more.\n- **27 deterministic anti-pattern rules** plus a 12-rule LLM critique pass. CLI and browser extension run the deterministic ones with no LLM and no API key. Each is tied to specific design guidance the skill teaches against.\n\n## What's Included\n\n### The Skill: impeccable\n\nA comprehensive design skill with 7 domain-specific references ([view skill](skill/SKILL.src.md)):\n\n| Reference | Covers |\n|-----------|--------|\n| [typography](skill/reference/typography.md) | Type systems, font pairing, modular scales, OpenType |\n| [color-and-contrast](skill/reference/color-and-contrast.md) | OKLCH, tinted neutrals, dark mode, accessibility |\n| [spatial-design](skill/reference/spatial-design.md) | Spacing systems, grids, visual hierarchy |\n| [motion-design](skill/reference/motion-design.md) | Easing curves, staggering, reduced motion |\n| [interaction-design](skill/refer
常见问题 (3)
故障排除运行impeccable的detect.mjs时,出现“bundled detector not found”错误的原因是什么?
此错误发生的原因是 npx skills 安装程序仅打包了技能子树,缺少检测引擎。该问题已在最新版本中解决——请更新技能。如果无法更新,请使用以下变通方法:mkdir -p .agents/skills/impeccable/scripts/detector && ln -sf "$(pwd)/node_modules/impeccable/cli/engine/detect-antipatterns.mjs" .agents/skills/impeccable/scripts/detector/detect-antipatterns.mjs。这会将来自 impeccable npm 包的引擎符号链接到预期位置。
故障排除为什么critique-storage.mjs脚本在Windows上不返回任何输出?
该脚本的入口点守卫比较了 import.meta.url(在Windows上使用正斜杠)和 file://${process.argv[1]}(反斜杠),导致相等性检查失败,main() 从未被调用。此漏洞在 v3.1.1 版本中通过改用能规范化路径分隔符的 pathToFileURL(process.argv[1]).href 修复。使用以下命令更新技能:npx skills add pbakaus/impeccable
操作指南如何跨会话持久化Impeccable的评审结果,以避免重新提出已解决的问题?
创建一个手动的CRITIQUE.md文件,用于存储之前的批评输出。在运行新的/impeccable critique之前,指示智能体读取CRITIQUE.md以获取上下文,并在审查后更新该文件。这种变通方法模拟了提议的功能,直到内置的持久化功能实现。