STOP - Read before ANY tool call
- Read
{{GUARDRAILS_PATH}} - Read
_shared/sdd-artifacts/SESSION.md; load session-state for$Cwd - If the relevant gate is not approved: STOP - ask user (pt-BR) - do NOT Write/Shell
- SDD/develop skills: after ONE step/task, STOP session - handoff only
- This skill body is English; user-facing prompts may be (pt-BR)
Step -1 - Gate check (report in chat before continuing)
Gate check:
[ ] guardrails.mdc read
[ ] SESSION.md read; session-state loaded
[ ] User confirmed current action (sim)
-> If any unchecked: STOP
Inspired by pbakaus/impeccable — this skill is a partial toolkit harness, not a full port. See docs/CREDITS.md.
Trigger
Use when user asks for /impeccable, /impeccable, or any Impeccable command (shape, audit, polish, craft, etc.).
Invocation forms:
| User says | Behavior |
|---|---|
/impeccable |
Context-aware menu; no auto-run |
/impeccable <command> [target] |
Load reference/<command>.md and execute |
/impeccable-shape |
Alias: shape command |
/impeccable-audit |
Alias: audit command |
Outcome
Production-grade UI design artifacts and/or code per upstream Impeccable command flow. shape/craft shape phase writes docs/DESIGN-BRIEF.md after user confirmation.
Lazy-load (mandatory per command)
| When | Path (after sync-cursor.ps1) |
|---|---|
| Any sub-command | {{TOOLKIT_ROOT}}/skills/impeccable/reference/<command>.md - required before acting |
| Register | reference/brand.md or reference/product.md per routing rules below |
| DESIGN-BRIEF contract | {{TOOLKIT_ROOT}}/skills/impeccable/reference/DESIGN-BRIEF-TEMPLATE.md |
| Hooks / live install | reference/hooks.md + docs/impeccable-integration.md |
| Integration docs | docs/impeccable-integration.md in toolkit repo |
Do not preload all 28 references. Load only the command reference + register for the current task.
Setup (every session, before commands)
- Project context: Read
PRODUCT.mdfrom workspace root (or monorepo target path). If missing -> STOP and runinitflow (reference/init.md) before any other command. - If
DESIGN.mdexists, read it. If the user named a target path in a monorepo, scope context to that path. - Sub-command: If the user invoked a command (
craft,shape,audit, …), readreference/<command>.mdnext. Non-optional. - Code familiarity: Read at least one project UI file (CSS/tokens/theme/representative component).
- Register (non-optional): Marketing/landing/portfolio ->
reference/brand.md. App UI/dashboard/tool ->reference/product.md. Use task cue, then surface in focus, thenregisterin PRODUCT.md. - New project palette: If no committed brand colors in tokens, compose OKLCH palette per register refs. Skip if existing tokens define brand colors.
Design guidance (summary - full rules in references)
Produce production-grade code and design choices. Match-and-refuse absolute bans:
- Side-stripe borders, gradient text, glassmorphism as default
- Hero-metric template, identical card grids, eyebrow on every section
- Numbered section markers (01/02/03) as default scaffolding
- Text overflow at breakpoints; cream/sand/beige body backgrounds (OKLCH warm-neutral band)
- Near-black + single acid-green / vermilion accent as an unearned default (same cluster family as cream+serif+terracotta and broadsheet-hairline layouts)
- Overused fonts (Inter as default); bounce/elastic easing;
transition-allreflex - Cards as lazy default; nested cards always wrong
- Image hover transforms (Tailwind group-hover on images)
Signature: Spend boldness once. Name one memorable motif that carries the brief; keep surroundings quiet. Cut decoration that does not serve that motif (Chanel cut).
Hero as thesis: Open with the most characteristic thing in the subject's world (headline, image, motion, live demo)—not a generic metric strip unless that is the product story.
Typography: body ≤65-75ch; display clamp max ≤6rem; letter-spacing floor ≥-0.04em on display headings.
Motion: ease-out-quart/quint/expo; @media (prefers-reduced-motion: reduce) on every animation. Prefer one orchestrated moment over scattered effects.
Color: OKLCH; verify contrast (4.5:1 body, 3:1 large); pick color strategy (Restrained / Committed / Full palette / Drenched) before picking colors.
Slop test: If someone could say "AI made that" without doubt, it failed. Run first-order and second-order category-reflex checks (see register refs).
External note: Anthropic frontend-design is optional inspiration only—not a Core sibling. See docs/CREDITS.md. Canonical path remains impeccable → DESIGN-BRIEF → *-developer.
Commands
| Command | Category | Reference |
|---|---|---|
init |
Build | reference/init.md |
shape [feature] |
Build | reference/shape.md |
craft [feature] |
Build | reference/craft.md |
document |
Build | reference/document.md (not bundled - suggest npx impeccable or sync refs) |
extract [target] |
Build | not bundled initially |
critique [target] |
Evaluate | reference/critique.md |
audit [target] |
Evaluate | reference/audit.md |
polish [target] |
Refine | reference/polish.md |
harden [target] |
Refine | reference/harden.md |
onboard [target] |
Refine | reference/onboard.md |
animate, colorize, typeset, layout, bolder, quieter, distill, delight, overdrive, clarify, adapt, optimize |
Various | sync additional refs via sync-impeccable-refs.ps1 |
live |
Iterate | requires per-project install (see below) |
hooks |
Manage | reference/hooks.md - requires per-project install |
teach is deprecated alias for init.
Routing rules
- No command argument: Context-aware menu. If
PRODUCT.mdmissing, you are ininit. Otherwise recommend 2-3 commands with one-line reasons, then full menu. Never auto-run. - First word matches a command: Load its reference and follow it. Remainder is the target.
- Intent maps clearly to one command (e.g. "fix spacing" ->
layout): load that reference. Ask once if ambiguous. - No clear match: Apply setup, general rules, and register reference.
Detector bridge (audit, optional pre-polish)
When reference/audit.md calls for detector output, run:
npx impeccable detect --json <paths>
- No project install required;
npxfetches the npm package transiently. - Requires Node/npm and
write_confirmed/ shell gate approval. - Fold JSON hits into the audit report per
audit.mdscoring (5 dimensions, P0-P3).
If npx fails, continue with manual audit per reference; note detector was skipped.
Per-project install (live, design hook) - never automatic
npx impeccable install writes .cursor/hooks.json, .impeccable/, and local skill copy. Violates toolkit guardrails if run without explicit user consent.
When user requests live or design hook:
- STOP - ask user (pt-BR): "Isso exige
npx impeccable installneste projeto (grava.cursor/hooks.jsone.impeccable/). Posso rodar? (sim / não)" - Only after sim -> Shell with install.
- Document hook coexistence: merge with toolkit hooks per
docs/HOOKS.mdanddocs/impeccable-integration.md.
DESIGN-BRIEF handoff (shape / craft)
After user confirms the design brief:
- Write
docs/DESIGN-BRIEF.mdusingreference/DESIGN-BRIEF-TEMPLATE.md(stack-neutral sections 1-10). - Set
target_stackfrom workspace detection or user input. - For Blip plugins (
blip-dsinpackage.json): document BDS components, iframe constraints, and Lite vs Full profile notes in brief section 9; implementation usesreact-developer+blip-guidelines/. - STOP session - one session = design OR implementation, not both.
- Ask user (pt-BR): "Brief salvo. Inicie nova conversa com
/<stack>-developerpara implementar."
target_stack |
Next skill |
|---|---|
react |
/react-developer |
react-native |
/react-native-developer |
angular |
/angular-developer |
vue |
/vue-developer |
blazor |
/blazor-developer |
electron |
/electron-developer |
html-css / vanilla |
/javascript-developer |
| ambiguous | /developer (router) |
SDD composability: shape may also feed PRD sections when user is in SDD flow; prefer DESIGN-BRIEF.md for frontend handoff.
SDD session rule
One invocation = one Impeccable command outcome. After shape brief is saved, or after polish/audit report, STOP. Do not continue to react-developer in the same session.
Handoff
| Situation | Next |
|---|---|
| Brief confirmed | New session -> react-developer / angular-developer / developer |
| Large feature + PRD | sdd-spec -> sdd-plan -> sdd-develop |
| Commit design artifacts | /commit (user request only) |
| More Impeccable commands | New session -> /impeccable <command> |