Flawless UI-UX 技能包发布 一条命令接入多款编码智能体

原标题:Flawless UI-UX Skill 1.0.0
38AI 研判分

Flawless UI-UX 1.0.0 是一个面向编码智能体的 UI/UX 技能包,通过 npx/pnpm/bunx 一条命令安装到项目或全局作用域,并支持 Codex、Devin、Claude Code 等多个智能体目标。它提供交互式选择与显式参数两种安装方式,并返回结构化退出码以便 CI 集成。整体属于开发者工具层面的易用性改进,未披露具体设计方法论或效果数据。

关联知识实体

报道正文

本文目录6 个章节

Build and refine interfaces around your product's audience, content, and identity.

                     

Install · Use the skill · How it works · Inspect and verify · Docs

Install

From your project directory, run one command with your preferred package manager:

BASH
# npm
npx flawless-ui-ux@latest install

# pnpm
pnpm dlx flawless-ui-ux@latest install

# Bun
bunx flawless-ui-ux@latest install

Requires Node 22.12+. In a terminal, choose project or global scope, select one or more agents, and confirm the destinations before copying. Use Space to select and Enter to continue. Ctrl+C cancels before installation files are written.

Explicit flags run directly:

BASH
npx flawless-ui-ux install --codex
npx flawless-ui-ux install --codex --devin
npx flawless-ui-ux install --claude-code --global
npx flawless-ui-ux install --project ./app
npx flawless-ui-ux install --yes

--yes skips the menu and uses the defaults when no other flags are supplied: all supported agents in the current project. JSON output, CI, and non-terminal execution remain noninteractive. Use --format json for machine-readable output.

<details> <summary>Install the skill through skills.sh</summary>
BASH
npx skills add smokeeaasd/flawless-ui-ux --skill flawless-ui-ux

This installs the skill through the Skills CLI. Its runtime requirements and agent selection follow that installer. The inspection CLI is available separately through the npm commands in this guide.

</details> <details> <summary>Install from a checkout with Bash</summary>
BASH
bash /absolute/path/flawless-ui-ux/install.sh --codex --project

The Bash alternative requires --project for local installation; its default is global. Windows users need Git Bash or WSL.

</details>

Use the skill

Describe the interface you need and name the skill:

TEXT
Use the flawless-ui-ux skill to build a financial dashboard for freelancers.

In Codex, invoke $flawless-ui-ux. Hosts with slash commands use /flawless-ui-ux; Pi uses /skill:flawless-ui-ux. You can also request the skill by name through your host's skill mechanism. Start a new session after installation if discovery needs to refresh.

Continue in the same conversation as the interface develops:

TaskExample request
CreateBuild a landing page for an app that coordinates deployments and incident handoffs.
RedesignRedesign this account screen for mobile using the supplied brand palette. Preserve its content and behavior.
RefineGive the main action more presence while preserving the page's visual character.
FocusImprove typography and spacing. Preserve wording, colors, and functionality.
ReviewReview this dashboard for readability, navigation, accessibility, and repeated generic patterns. Report findings without editing files.

How it works

The skill guides design and implementation. It connects product context to composition, typography, color, density, imagery, and interaction. Focused references support creation, redesign, refinement, and review in your existing stack.

Refinement develops the intended character. An interface may need more presence, less competing emphasis, or a more consistent finish. The right intervention depends on the content and task. Generic copy, repetitive decoration, and familiar patterns are reviewed in context, alongside usability and accessibility.

The CLI checks the implementation. Collect project context, inspect selected source files or a running interface, and compare the result after corrections. Your agent makes the changes; the CLI provides observations and records what was actually checked.

Inspect and verify

Use the CLI directly, or ask your agent to include these checks in its work. Replace npx with pnpm dlx or bunx throughout.

Start with context and source

BASH
npx flawless-ui-ux context --project . --format json
npx flawless-ui-ux inspect --project . --source src/App.tsx --format json

Check the running interface

Start your app and prepare the browser once:

BASH
npx [email protected] install chromium
# or: pnpm dlx [email protected] install chromium
# or: bunx [email protected] install chromium

Inspect the actual development-server URL and save a baseline:

BASH
npx flawless-ui-ux inspect --project . --source src/App.tsx --url http://localhost:5173 --output ../app-before --format json

After corrections, repeat the saved scope:

BASH
npx flawless-ui-ux verify ../app-before/run.json --output ../app-after --format json

The comparison separates persistent, new, and no-longer-observed findings. Missing confirmed targets and changed conditions remain unverified.

AreaEvidence collected
AccessibilitySelected axe contrast and accessible-name rules, including incomplete results for review
Text and layoutComputed font sizes and horizontal overflow at the sampled widths
Assets and runtimeVisible broken images and uncaught JavaScript errors
Copy and iconsExact repeated phrases and arrow cues for contextual review
SourceLiteral pixel font sizes and arrow/icon cues in selected files
<details> <summary>Scope, artifacts, and verification limits</summary>
  • Default viewport samples are 1440 × 900 and 390 × 844. Repeat --viewport WIDTHxHEIGHT to choose others.
  • Repeat --source for additional files, or use --selector to inspect a region.
  • Use --browser-executable or FLAWLESS_BROWSER_EXECUTABLE to select an installed compatible Chromium. Keep browser conditions consistent between runs.
  • With --output, a new directory receives run.json and available screenshots; its parent must exist. Existing output directories are preserved. Without it, results go to stdout.

These samples do not establish full WCAG conformance, complete keyboard journeys, business-flow correctness, or visual quality. Small text and repetition require context. Inspection does not edit files, start servers, download browsers, or submit forms.

CLI exit codes: 0 for completed coverage without confirmed errors, 1 for completed coverage with confirmed errors, and 2 for invalid input or incomplete requested coverage. The installer also returns 0 when confirmation is declined and 130 when a prompt is interrupted.

</details>

(注:更多技术实现细节与完整 API 文档请查阅原项目 README)