Files
MyAiConfiguration/shared/skills/ui-workflow/SKILL.md
T
Julian Lechner c3e22eb902
CI / CI configuration security checks (push) Successful in 6s
CI / Python tests and compilation (push) Failing after 12s
CI / QMD unit tests (push) Skipped
CI / Capabilities and shell quality (push) Successful in 1m50s
CI / Build and inspect generated packages (push) Skipped
CI / Bash integration and installation guards (push) Skipped
CI / Installed client configuration smoke tests (push) Skipped
CI / PowerShell tests on Ubuntu (push) Failing after 7m24s
corrections
2026-11-19 10:30:43 +01:00

5.6 KiB
Raw Blame History

name, description
name description
ui-workflow MUST load before UI planning, edits, debugging, or review, including accessibility, responsive behavior, UI copy, and frontend performance, to run Impeccable and Apple Design as one design loop. Backend-only tasks skip it.

UI Workflow

MUST load impeccable and apple-design before UI planning, edits, debugging, or review, including accessibility, responsive behavior, UI copy, and frontend performance. Backend-only tasks skip this layer. If one is missing, report it once and run the other alone. Follow installed context setup, relevant references, and launcher fallback within permissions. Preserve the brief and existing design system. Report unavailable previews honestly. Superpowers owns process.

The two skills work as one design team, each covering the other's blind spot:

  • Impeccable leads direction and execution: project context (PRODUCT.md, DESIGN.md), surface mode, visual world, commands, craft floor, edits, rendered verification, and its detector.
  • Apple Design leads evidence: platform conventions and accessibility from the Human Interface Guidelines, its eight principles, five lenses, severity scale, and framework translation. It reads the guideline pages before citing them as file.md › Heading.

Run each UI task as one loop:

  1. Context: run Impeccable's context setup. Apple Design pins platform, framework, and the screen's single job, loads its always-load set plus the pages for the components in scope, and hands Impeccable the resulting constraints: target sizes, type minimums, contrast, navigation pattern, and modality rules.
  2. Direction: Impeccable shapes the work within those constraints. For a new surface or redesign, Apple Design checks the plan once with its improvement-mode critique (would the same plan fit another product?) and names system components for navigation and controls.
  3. Build: Impeccable reads its craft floor and edits. Navigation and controls use the components Apple Design named; identity lives in color, type, imagery, voice, and a few defining moments.
  4. Review: run Impeccable critique or audit, Apple Design's lens review, and the ui-ux-review checks on the same rendered result. Merge them into one report in the review-pull-request finding schema, mapping Apple Design's severity onto its scale (Critical to blocking, High to important, Medium and Low to minor), with Apple Design's citations, Impeccable's evidence and detector output, and ui-ux-review's task impact. Never deliver separate reports. When the change is a finished build, include impeccable-finish-reviewer. When it adds or changes motion, include impeccable-motion-reviewer. Both are read-only, and an authorized UI task covers them. Codex registers the Impeccable agents with underscores (impeccable_finish_reviewer, and likewise for the others); without them Impeccable runs its degraded in-context review.
  5. Fix: resolve Critical and High findings through the matching Impeccable command (harden, adapt, clarify, layout, typeset, polish), then run one bounded confirmation pass with both. Do not loop again without new evidence.

Precedence, highest first; a higher source wins every conflict with a lower one:

  1. The user's direct and personal instructions.
  2. Project rules: the project's AGENTS.md or CLAUDE.md, PRODUCT.md, DESIGN.md, a pinned brief, and the existing design system and components.
  3. The shared UI/UX rules (rules-ui-ux).
  4. Apple Design for accessibility and platform conventions, cited from a guideline page that was read.
  5. Impeccable for visual direction, brand, mode, and ambition, within everything above. Apple Design's craft lens advises it and never flattens personality.

Accessibility failures are always reported, even when a higher source causes them; name the trade-off and let the user decide. Never silently override a higher source to satisfy a lower one.

Platform scope: Apple platform conventions apply only where the product targets iOS, iPadOS, or macOS. For web, Android, Windows (WPF, WinUI), and Linux, Apple Design contributes its principles and foundations (accessibility, color, typography, layout, writing) only; that platform's own conventions decide navigation, menus, settings, and window behavior (Material on Android, Fluent and Windows conventions on Windows, browser conventions on the web), together with the matching technology rules such as rules-wpf or rules-angular.

Supporting skills join the same loop instead of running beside it. Each keeps its specialty, and the precedence above decides conflicts:

  • Copy has one writer. Impeccable writes interface and marketing copy (clarify for fixes). Apple Design's writing lens and the shared content rules check the result in the review step. humanizer runs last on new or rewritten copy and keeps labels, terms, length, and platform capitalization. Persuasion stays honest: no fake scarcity, dark patterns, or manipulation.
  • media prepares and optimizes images, video, and audio inside Impeccable's visual world. impeccable-asset-producer may produce raster assets from an approved mock.
  • impeccable-documenter writes DESIGN.md after a finished build, but only when the project keeps one or the user asks. impeccable-manual-edit-applier runs only for Impeccable's live edit batches. Both write files, so they stay within the task's scope.
  • Technical reviews such as wpf-review and the Angular or WPF rules add their findings to the same merged report.

Visual restraint from the shared rules is the default for Impeccable's Operate and Read modes. In Persuade and Experience modes, Impeccable's mode sets the ambition unless a higher source pins it.