impeccable
Impeccable
Overview
Use this skill when the user wants stronger frontend design quality inside NextClaw.
This marketplace skill adapts the upstream pbakaus/impeccable project into a single installable NextClaw skill package with:
- one top-level workflow router,
- bundled local references for typography, color and contrast, layout, motion, interaction, responsive design, and UX writing,
- bundled workflow guides for shaping, crafting, critique, audit, polish, and design-system extraction,
- and an optional upstream
impeccabledetector CLI for deterministic anti-pattern scans.
Be explicit about the boundary:
- This skill owns design-context gating, workflow selection, expectation-setting, and detector readiness guidance.
- The bundled local references own the detailed design vocabulary.
- The optional upstream
impeccableCLI owns deterministic anti-pattern detection. - NextClaw, the current repository rules, and the active runtime own actual implementation and execution.
Do not present third-party detector output as built-in NextClaw capability. Do not pretend the detector is ready when it is not.
What This Skill Covers
- design context setup before UI work,
- feature shaping before code is written,
- distinctive frontend implementation guidance that avoids generic AI aesthetics,
- focused passes on typography, color, layout, motion, interaction, responsive behavior, and microcopy,
- design critique and technical UI audit,
- final polish before shipping,
- design-system extraction from repeated patterns,
- optional detector-assisted anti-pattern scans when the upstream CLI is available.
What This Skill Does Not Cover
- inferring the real audience or brand tone purely from code,
- silently installing npm packages or downloading the detector runtime,
- claiming detector-based evidence when Node/npm or the CLI are unavailable,
- overriding a stricter local design system or project rulebook,
- turning every design request into the same maximalist or marketing-style aesthetic,
- pretending that an upstream multi-command ecosystem maps one-to-one onto NextClaw command surfaces.
Install Boundary
Always distinguish these paths:
- NextClaw marketplace install:
nextclaw skills install impeccable - Installed NextClaw skill assets:
<workspace>/skills/impeccable/ - Optional upstream detector runtime:
npm install -g impeccable - Upstream standalone bundles for other tools:
https://github.com/pbakaus/impeccable
Installing the marketplace skill does not install the upstream detector automatically.
Deterministic First-Use Workflow
When this skill triggers, follow this order.
Step 0: Verify the bundled assets exist
Check:
test -f skills/impeccable/SKILL.md
test -f skills/impeccable/references/typography.md
test -f skills/impeccable/workflows/critique.md
If any of these checks fail, the skill is not correctly installed in the current workspace.
Step 1: Classify the user's need
Choose the smallest matching workflow:
- design context setup,
- feature shaping,
- build or redesign,
- design critique,
- technical audit,
- final polish,
- design-system extraction,
- focused pass: typography, color, layout, motion, interaction, responsive behavior, or UX copy.
Step 2: Gate on design context before real design work
Before doing meaningful design work, confirm these minimum inputs:
- target audience,
- primary use cases or jobs to be done,
- brand personality or interface tone.
Do not infer these from code alone.
If the user already supplied them in the current conversation, proceed.
If not, ask the smallest number of targeted questions needed to unblock the work.
If the user wants this context persisted for future sessions, ask before writing a local .impeccable.md.
Step 3: Load only the matching local workflow
Prefer the smallest relevant asset instead of reading everything:
- feature shaping: workflows/shape.md
- build or redesign: workflows/craft.md
- design critique: workflows/critique.md
- technical audit: workflows/audit.md
- final polish: workflows/polish.md
- design-system extraction: workflows/extract.md
For focused passes, load only the relevant references:
- typography: references/typography.md
- color and contrast: references/color-and-contrast.md
- layout and spacing: references/spatial-design.md
- motion: references/motion-design.md
- interaction: references/interaction-design.md
- responsive behavior: references/responsive-design.md
- UX writing: references/ux-writing.md
For critique scoring or persona framing, also load:
- references/critique-cognitive-load.md
- references/critique-heuristics-scoring.md
- references/critique-personas.md
Step 4: Treat the detector CLI as optional runtime, not a default assumption
Only use the upstream detector when the user wants automated anti-pattern evidence, or when audit or critique would materially benefit from it.
First verify runtime prerequisites:
command -v node
node --version
command -v npm
command -v npx
command -v impeccable
If impeccable is already installed, verify it with:
impeccable --help
If the CLI is missing:
- explain that the bundled NextClaw skill is ready, but the optional detector runtime is not,
- keep going with the bundled references when the user only needs design guidance,
- ask before any install or download step because
npm install -g impeccableornpx impeccable ...changes local machine state.
If the detector is available, prefer a read-only smoke before a large scan:
impeccable detect --fast --json <target>
Use --fast for large directories. Narrow scope before scanning very large repos.
Workflow Routing Guidance
New feature or major redesign
Start with:
Then continue with:
Load the minimum supporting references based on the brief.
Existing UI needs feedback
Use:
If the issue sounds implementation-heavy rather than experiential, prefer:
Existing UI is close but not finished
Use:
Existing product has repeated patterns that should become a design system
Use:
Focused fixes without a full redesign
Choose the smallest relevant reference and stay scoped:
- typography issue only: references/typography.md
- color or contrast issue only: references/color-and-contrast.md
- spacing or layout issue only: references/spatial-design.md
- motion or transition issue only: references/motion-design.md
- form, state, or affordance issue only: references/interaction-design.md
- mobile or responsive issue only: references/responsive-design.md
- unclear labels, errors, or empty states: references/ux-writing.md
Safe Usage Rules
- Do not start real design work until the minimum design context is known.
- Prefer shaping before large greenfield frontend work.
- Preserve the existing design system when the user is working within an established product.
- Prefer read-only critique or audit before sweeping rewrites when the problem is still unclear.
- Ask before writing
.impeccable.mdor installing/downloading the detector runtime. - Treat detector findings as evidence, not unquestionable truth; false positives must be called out.
- Be honest when the result still feels generic or AI-generated.
- Keep recommendations grounded in the user's product, not a stock aesthetic template.
Troubleshooting
Design context is missing
- Stop guessing.
- Ask the smallest targeted question set needed to recover the audience, use case, and tone.
The user wants critique or audit, but the detector CLI is unavailable
- Continue with the bundled critique or audit workflow.
- Be explicit that the result is expert review without detector evidence.
- Offer the optional detector install path only if the user wants it.
The current repo already has a stricter design system
- Follow the stricter local system.
- Use Impeccable as a quality and taste layer, not as authority to override established product rules.
Detector output conflicts with good product judgment
- Say so plainly.
- Keep the detector result as a signal, but prioritize verified user impact and visual judgment.
Success Criteria
This skill is working correctly when:
- design work starts from explicit audience, use case, and tone rather than guesswork,
- the smallest relevant workflow or reference is loaded,
- the resulting interface avoids obvious generic AI aesthetics,
- critique and audit outputs are specific, prioritized, and actionable,
- optional detector scans are only used when their runtime is actually ready,
- and the skill raises the design bar without hiding setup reality.
Attribution
This skill adapts the upstream pbakaus/impeccable project for the NextClaw marketplace.
Source mapping is documented in references/SOURCES.md.
More from peiiii/nextclaw
ui-ux-pro-max
Use when the user wants professional UI/UX design guidance, design-system generation, UX review, or stack-specific frontend guidance through a bundled local UI/UX Pro Max dataset and Python search runtime.
2lark-cli
Use when the user wants to operate Lark or Feishu via the local lark-cli (@larksuite/cli), including install, app credentials, OAuth, readiness checks, and safe read/write boundaries.
1opencli
Use when the user wants to use websites, browser login sessions, Electron apps, or external CLIs through a local OpenCLI setup, especially when setup guidance, readiness checks, and safe task execution are needed.
1find-skills
Use when the user wants to discover, evaluate, and install external agent skills from the open skills ecosystem, especially through the Vercel Skills CLI.
1superpowers
Use when the user wants a disciplined software development workflow with design-first planning, implementation plans, TDD, systematic debugging, code review, or verification-before-completion, adapted from obra/superpowers.
1bb-browser
Use when the user wants browser-backed web data access, authenticated fetches, website adapters, or safe browser automation through a local bb-browser installation.
1