前端界面设计与优化
impeccable
当用户想要设计、重新设计、塑造、评审、审查、打磨、澄清、提炼、强化、优化、适配、添加动画、着色、提取或以其他方式改进前端界面时使用。涵盖网站、落地页、仪表盘、产品 UI、应用外壳、组件、表单、设置、新手引导和空状态。处理 UX 评审、视觉层次、信息架构、认知负荷、无障碍访问、性能、响应式行为、主题化、反模式、排版、字体、间距、布局、对齐、色彩、动效、微交互、UX 文案、错误状态、边界情况、i18n,以及可复用的设计系统或设计 token。也适用于需要变得更大胆或更愉悦的平淡设计、需要收敛的花哨设计、对 UI 元素进行浏览器实时迭代,或应具有技术惊艳感的宏大视觉效果。不适用于纯后端或非 UI 任务。
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-13
- Stars
- ★ 7
- Forks
- 4
01 前言 Front Matter
- name
- impeccable
- license
- Apache 2.0
- version
- 4.3.1
- description
- Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding, and empty states. Handles UX review, visual hierarchy, information architecture, cognitive load, accessibility, performance, responsive behavior, theming, anti-patterns, typography, fonts, spacing, layout, alignment, color, motion, micro-interactions, UX copy, error states, edge cases, i18n, and reusable design systems or tokens. Also use for bland designs that need to become bolder or more delightful, loud designs that should become quieter, live browser iteration on UI elements, or ambitious visual effects that should feel technically extraordinary. Not for backend-only or non-UI tasks.
- argument-hint
- [shape · audit|critique · animate|bolder|colorize|delight|layout|overdrive|quieter|typeset · adapt|clarify|distill · harden|onboard|optimize|polish · init|document|extract|live] [target]
- user-invocable
- true
02 资源文件 71
- 参考文档reference/adapt.md10.1 KB
- 参考文档reference/adapt.native.md3.8 KB
- 参考文档reference/android.md4.0 KB
- 参考文档reference/animate.md5.1 KB
- 参考文档reference/audit.md7.7 KB
- 参考文档reference/audit.native.md8.2 KB
- 参考文档reference/bolder.md3.4 KB
- 参考文档reference/clarify.md4.5 KB
- 参考文档reference/colorize.md4.4 KB
- 参考文档reference/craft-floor.md4.4 KB
- 参考文档reference/craft.md555 B
- 参考文档reference/critique.md41.8 KB
- 参考文档reference/degraded/asset-producer.md7.1 KB
- 参考文档reference/degraded/documenter.md3.2 KB
- 参考文档reference/degraded/finish-reviewer.md15.0 KB
- 参考文档reference/degraded/manual-edit-applier.md7.0 KB
- 参考文档reference/delight.md3.6 KB
- 参考文档reference/distill.md5.5 KB
- 参考文档reference/doctor.md5.4 KB
- 参考文档reference/document.md26.8 KB
- 参考文档reference/extract.md3.3 KB
- 参考文档reference/harden.md8.3 KB
- 参考文档reference/hooks.md13.0 KB
- 参考文档reference/init.md11.2 KB
- 参考文档reference/ios.md3.7 KB
- 参考文档reference/layout.md5.0 KB
- 参考文档reference/live-setup.md8.0 KB
- 参考文档reference/live.md35.4 KB
- 参考文档reference/new-work.md51.5 KB
- 参考文档reference/onboard.md7.6 KB
- 参考文档reference/operate.md4.0 KB
- 参考文档reference/optimize.md7.4 KB
- 参考文档reference/overdrive.md8.9 KB
- 参考文档reference/polish.md6.5 KB
- 参考文档reference/quieter.md4.8 KB
- 参考文档reference/routing.md3.2 KB
- 参考文档reference/shape.md3.5 KB
- 参考文档reference/typeset.md5.1 KB
- 参考文档reference/visualize.md11.5 KB
- 其他resources/templates/.env.example778 B
- 脚本resources/templates/app/__init__.py894 B
- 脚本resources/templates/app/agent.py1.7 KB
- 脚本resources/templates/app/app_utils/__init__.py47 B
- 脚本resources/templates/app/app_utils/telemetry.py2.1 KB
- 脚本resources/templates/app/app_utils/typing.py1.0 KB
- 脚本resources/templates/app/fast_api_app.py2.7 KB
- 参考文档resources/templates/manifest.yaml2.3 KB
- 其他resources/templates/pyproject.toml682 B
- 参考文档resources/templates/README.md1.4 KB
- 参考文档resources/templates/tests/eval/eval_config.json551 B
- 参考文档resources/templates/tests/eval/evalsets/basic.evalset.json855 B
- 参考文档resources/templates/tests/eval/evalsets/README.md607 B
- 脚本resources/templates/tests/integration/test_agent.py1.9 KB
- 脚本resources/templates/tests/integration/test_server_e2e.py6.3 KB
- 脚本resources/templates/tests/test_runnability.py2.3 KB
- 脚本resources/templates/tests/unit/test_tools.py1.0 KB
- 脚本scripts/bin/linux-x64/impeccable15.3 MB
- 脚本scripts/command-metadata.json7.7 KB
- 脚本scripts/data/font-index-failures.json2.4 KB
- 脚本scripts/data/font-index.json1.0 MB
- 脚本scripts/impeccable8.3 KB
- 脚本scripts/impeccable.cmd8.3 KB
- 脚本scripts/live-browser-dom.js4.8 KB
- 脚本scripts/live-browser-ignores.js10.1 KB
- 脚本scripts/live-browser-session.js4.0 KB
- 脚本scripts/live-browser.js510.6 KB
- 脚本scripts/modern-screenshot.umd.js28.6 KB
- 脚本scripts/scaffold.py7.4 KB
- 脚本scripts/VERSION6 B
- 脚本tests/conftest.py421 B
- 脚本tests/test_scaffold.py10.7 KB
03 SKILL.md 正文
This skill gives you the tools and permission to create design that earns to be called out-of-distribution craft: Whereas before, your design work would have been safe, timid and measured, you now approach every design task as an award-winning design director with impeccable understanding for what makes exceptional design work: production-grade code, peak creativity, a clear POV, deep understanding of the needs of the client and users, and exceptional craft.
Core principles:
- Go all out. No hedging, no shortcuts. The deliverable must be complete (except assets the user must provide).
- Dream big and bold. Distinct, beautiful, outstanding and highly inspiring work.
- Verify in bounded passes, not a loop, and the ceiling covers the whole cycle: screenshots, defect scans, micro-edits, and rebuilds alike. Build fully, inspect once with a batched round (desktop and mobile together on the web; the shipped device classes on a native platform), fix everything it shows in one batch, confirm with at most one more round, and stop polishing. Open-ended self-QA burns the user's money doing worse what the finish handoffs do better.
Setup
- Run
<skill-base-dir>/scripts/impeccable contextonce per session, where<skill-base-dir>is the directory that contains this SKILL.md (the skill folder, not a plugin root two levels above it); keep cwd at the user's project. That base directory resolves every.github/skills/impeccable/scripts/impeccable <verb>command in this skill and its references, and.github/skills/impeccable/scriptsis the fallback only when the runtime reports no base directory. On a Windows shell withoutsh, call.github/skills/impeccable/scripts/impeccable.cmdinstead. The launcher runs a self-contained binary that ships next to it or is downloaded once on first run; no Node or other runtime is required. Pass a named source file or route as--target <path>. It loads PRODUCT.md, DESIGN.md, the matching surface brief, and native-platform guidance when applicable; follow its directives and do not rerun it. - Load the request's playbook: its Commands-table reference for an explicit/implied sub-command, or reference/new-work.md for a new surface or replacement visual world. Inspect target and incumbent visual truth before editing. When the app cannot run, start with committed visual-regression goldens or screenshot fixtures; verify target and freshness against current tokens, CSS, components, or assets, resolve conflicts, and compare theme/variant captures.
- After resolving analysis and direction, read reference/craft-floor.md immediately before any UI edit, including small refinements. It carries the quality floor, the absolute bans, and the reflexes no detector catches. Do not load it for planning-only work.
Launcher unavailable: On refusal or failure, send a separate message before the next tool call: “Context loading did not run; I’ll read the existing project context directly.” Then read existing PRODUCT.md and DESIGN.md without inventing missing context, follow applicable steps 2–3, and continue through permitted tools. This applies to planning and editing; launcher failure alone does not block either.
How to design
- The brief wins. Honor pinned aesthetics, eras, materials, fonts, and palettes even when they conflict with a saturated-pattern warning. Redirecting a clear brief toward your taste is failure.
- Refinement preserves; redesign replaces. Refinement keeps the incumbent identity, behavior, copy, and everything outside scope. Ask before replacing factual copy or adding claims. Redesign keeps product truth, content, function, native affordances, and constraints, but treats the old look as evidence and anti-reference; choose a replacement world in new-work and replace DESIGN.md. Never split the difference into polish on the discarded look.
- Visual authority is evidence, not a filename. Missing DESIGN.md alone does not make a project greenfield; new-work decides whether to preserve, expand, or replace the incumbent world.
Modes
The mode names what the visitor's success looks like on this surface.
- Persuade: the visitor decides and acts; design is the product. Landing pages, marketing, campaigns, pricing. Earn attention and action. Ship real imagery when the brief needs it; follow the committed world, not category habit.
- Operate: the visitor completes a task. App UI, dashboards, editors, admin, settings, tools. Scanability, consistency, native expectations, and the real usage scene outrank expression. Brand lives in precise details.
- Read: the visitor understands something. Docs, articles, guides, help, changelogs. Structure for comprehension, then make the reading experience worth staying in.
- Experience: the visitor is inside the work itself. Portfolios, galleries, showcases. Let the artifact lead from the first viewport; the interface recedes.
Choose the mode from the requested surface, not the product, and persist it only in that surface brief. A tool's landing page is still Persuade; a fashion house's documentation is still Read; a docs index is Read, not Persuade. See new-work.md for new surfaces and operate.md for deeper Operate/Read guidance.
Commands
| Command | Category | Description | Reference |
|---|---|---|---|
craft [feature] |
Build | Deprecated alias for an ordinary new-work request | reference/craft.md |
shape [feature] |
Build | Plan UX/UI before writing code | reference/shape.md |
init |
Build | Capture durable product context in PRODUCT.md | reference/init.md |
document |
Build | Generate DESIGN.md from existing project code | reference/document.md |
extract [target] |
Build | Pull reusable tokens and components into design system | reference/extract.md |
critique [target] |
Evaluate | UX design review with heuristic scoring | reference/critique.md |
audit [target] |
Evaluate | Technical quality checks (a11y, perf, responsive) | reference/audit.md · native: reference/audit.native.md |
polish [target] |
Refine | Final quality pass before shipping | reference/polish.md |
bolder [target] |
Refine | Amplify safe or bland designs | reference/bolder.md |
quieter [target] |
Refine | Tone down aggressive or overstimulating designs | reference/quieter.md |
distill [target] |
Refine | Strip to essence, remove complexity | reference/distill.md |
harden [target] |
Refine | Production-ready: errors, i18n, edge cases | reference/harden.md |
onboard [target] |
Refine | Design first-run flows, empty states, activation | reference/onboard.md |
animate [target] |
Enhance | Add purposeful animations and motion | reference/animate.md |
colorize [target] |
Enhance | Add strategic color to monochromatic UIs | reference/colorize.md |
typeset [target] |
Enhance | Improve typography hierarchy and fonts | reference/typeset.md |
layout [target] |
Enhance | Fix spacing, rhythm, and visual hierarchy | reference/layout.md |
delight [target] |
Enhance | Add personality and memorable touches | reference/delight.md |
overdrive [target] |
Enhance | Push past conventional limits | reference/overdrive.md |
clarify [target] |
Fix | Improve UX copy, labels, and error messages | reference/clarify.md |
adapt [target] |
Fix | Adapt for different devices and screen sizes | reference/adapt.md · native: reference/adapt.native.md |
optimize [target] |
Fix | Diagnose and fix UI performance | reference/optimize.md |
live |
Iterate | Visual variant mode: pick elements in the browser, generate alternatives | reference/live.md |
Routing:
- No argument: read routing.md and present its context-aware menu; never auto-run a command.
- Explicit or clearly implied request to run a command: load its reference (native variant on native platforms) and follow it. Ask once if two commands fit.
- Workflow or command-selection question: read Workflow questions.
- Otherwise: treat the request as general design work. Missing PRODUCT.md routes a new surface or replacement world through init, then new-work; a narrow refinement of existing code proceeds on the incumbent implementation as
impeccable contextdirects, offering init afterward rather than blocking on it. teachaliasesinit.craftis a deprecated alias for ordinary new-work and adds nothing.shapeowns task discovery, then enters new-work only for visual-world and surface-concept decisions.
After init writes PRODUCT.md, resume without rerunning impeccable context; init loads the native platform reference itself when the platform it recorded is ios, android, or adaptive.
Pin / Unpin: .github/skills/impeccable/scripts/impeccable pin <pin|unpin> <command> creates or removes a standalone /<command> shortcut. Report the script's result concisely; relay stderr verbatim on error.
Hooks: /impeccable hooks <on|off|status|ignore-rule|ignore-file|ignore-value|reset> manages the design detector hook for this project (auto-runs the detector after UI file edits and surfaces findings). Load reference/hooks.md when the user invokes it with any argument.
Doctor: /impeccable doctor reports and repairs drift between this project's Impeccable artifacts (PRODUCT.md, DESIGN.md and its sidecar, config, surface briefs, the hook) and what this version reads. Load reference/doctor.md when the user invokes it, or when they ask what is out of date, stale, or needs refreshing. A CONTEXT_STALE directive in Setup's output is the cheap subset of the same report; act on it there per its own instructions rather than running doctor unasked.
Never repair drift as a side effect of a design task. A CONTEXT_STALE finding is reported, not acted on, unless the user asks. The one exception is a finding marked auto, which the next write to that file performs anyway.
04 同仓库更多 Skills
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
AI 机会创意生成
idea-forge
当团队需要 AI 机会创意时,在网络上调研客户的业务、行业及公开声明的优先事项。按复杂度提出内部和外部创意,并为选定的创意准备待审批的简报,供 AI Agent Creator 使用。
Azure 云架构图绘制
cloud-architecture-diagram
创建、编辑或审查 Azure 和 Microsoft 生态系统架构、GitHub CI/CD 以及认证/API 图表,以可编辑的 draw.io 文件形式呈现;解析 Microsoft 和 GitHub 图标。用于架构可视化、图表评审或缺失图标处理。仅在明确要求时才处理 Azure DevOps。不适用于竞争云架构、部署、实时发现、安全认证或无关图表。
微软云AI智能体架构设计
ai-agent-creator
面向新应用、平台管理的智能体或现有系统中 AI 能力的架构优先的微软云 AI 设计。当需求调研、功能/技术规格、可编辑的 draw.io 视图、AI token 与平台消耗估算、成本场景以及实施计划必须先于代码时使用。为每个确认的架构生成必需的 cost-estimate.md。在交付包完成后提供可选的线框原型,然后进行交接;独立的 SDK 帮助、现有智能体运维、实施、部署和故障排查使用其他工作流。
Foundry 多智能体编排
foundry-workflows
Microsoft Foundry 中的多智能体编排 —— 声明式工作流 vs A2A 工具调用 vs Connected Agents 模式;Microsoft Agent Framework (MAF) 模式,包括 Magentic manager/planner。当将场景适配为多智能体编排时使用。
Foundry 工具箱集成
foundry-toolboxes
策划基于意图的 Microsoft Foundry 工具箱(预览版)—— 一个兼容 MCP 的端点,捆绑 MCP、Web 搜索、Azure AI Search、代码解释器(Code Interpreter)、文件搜索、OpenAPI、A2A、浏览器自动化和计算机使用(Computer Use)工具。当场景需要工具箱集成时使用。