Full Report
Contents6 sections
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:
# npm
npx flawless-ui-ux@latest install
# pnpm
pnpm dlx flawless-ui-ux@latest install
# Bun
bunx flawless-ui-ux@latest installRequires 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:
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.
npx skills add smokeeaasd/flawless-ui-ux --skill flawless-ui-uxThis 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 /absolute/path/flawless-ui-ux/install.sh --codex --projectThe Bash alternative requires --project for local installation; its default is global. Windows users need Git Bash or WSL.
Use the skill
Describe the interface you need and name the skill:
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:
| Task | Example request |
|---|---|
| Create | Build a landing page for an app that coordinates deployments and incident handoffs. |
| Redesign | Redesign this account screen for mobile using the supplied brand palette. Preserve its content and behavior. |
| Refine | Give the main action more presence while preserving the page's visual character. |
| Focus | Improve typography and spacing. Preserve wording, colors, and functionality. |
| Review | Review 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
npx flawless-ui-ux context --project . --format json
npx flawless-ui-ux inspect --project . --source src/App.tsx --format jsonCheck the running interface
Start your app and prepare the browser once:
npx [email protected] install chromium
# or: pnpm dlx [email protected] install chromium
# or: bunx [email protected] install chromiumInspect the actual development-server URL and save a baseline:
npx flawless-ui-ux inspect --project . --source src/App.tsx --url http://localhost:5173 --output ../app-before --format jsonAfter corrections, repeat the saved scope:
npx flawless-ui-ux verify ../app-before/run.json --output ../app-after --format jsonThe comparison separates persistent, new, and no-longer-observed findings. Missing confirmed targets and changed conditions remain unverified.
| Area | Evidence collected |
|---|---|
| Accessibility | Selected axe contrast and accessible-name rules, including incomplete results for review |
| Text and layout | Computed font sizes and horizontal overflow at the sampled widths |
| Assets and runtime | Visible broken images and uncaught JavaScript errors |
| Copy and icons | Exact repeated phrases and arrow cues for contextual review |
| Source | Literal pixel font sizes and arrow/icon cues in selected files |
- Default viewport samples are 1440 × 900 and 390 × 844. Repeat
--viewport WIDTHxHEIGHTto choose others. - Repeat
--sourcefor additional files, or use--selectorto inspect a region. - Use
--browser-executableorFLAWLESS_BROWSER_EXECUTABLEto select an installed compatible Chromium. Keep browser conditions consistent between runs. - With
--output, a new directory receivesrun.jsonand 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.
(注:更多技术实现细节与完整 API 文档请查阅原项目 README)