corrections
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
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
This commit is contained in:
1 parent
b35e2254b3
commit
c3e22eb902
39 files changed
+246
-151
No files matched your search
@@ -0,0 +1,42 @@
|
||||
---
|
||||
name: ui-workflow
|
||||
description: 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.
|
||||
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"skill_name": "ui-workflow",
|
||||
"evals": [
|
||||
{
|
||||
"id": 1,
|
||||
"prompt": "Review and improve the settings screen of our Flutter iOS app: lib/screens/settings_screen.dart. The toggles feel cramped and the screen looks generic. (Installed: superpowers, ponytail, impeccable, apple-design.)",
|
||||
"expected_output": "This is a UI development task. Should load impeccable and apple-design before planning. Apple Design should pin platform and framework, load its always-load set plus the settings and toggle pages, and supply cited constraints such as target sizes. Impeccable should lead direction and edits within those constraints. Both should review the same result and produce one merged, deduplicated finding list with Apple Design's severity and citations. Accessibility and platform conventions follow the cited guideline; visual identity follows Impeccable. Ends with one bounded confirmation pass.",
|
||||
"assertions": [
|
||||
"Loads both impeccable and apple-design before planning or editing the UI",
|
||||
"Cites Apple Design guideline pages only after reading them",
|
||||
"Lets Impeccable lead visual direction and edits within the platform and accessibility constraints",
|
||||
"Merges both reviews into one deduplicated finding list with severity",
|
||||
"Resolves accessibility or platform conflicts by the cited guideline, not by visual preference",
|
||||
"Runs at most one confirmation pass after fixes unless new evidence appears"
|
||||
],
|
||||
"files": []
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"prompt": "Polish the order list window in our WPF app (Views/OrderListView.xaml). The project's AGENTS.md says: 'All buttons use our 32px compact height from Styles/Buttons.xaml.' (Installed: superpowers, ponytail, impeccable, apple-design.)",
|
||||
"expected_output": "This is a UI development task on Windows. Should load impeccable and apple-design and the WPF rules. Apple Design should contribute only principles and foundations, not macOS conventions such as the menu bar or settings under the app menu; Windows and WPF conventions decide navigation, menus, and settings. The project's 32px button rule outranks both skills and is kept; if it creates an accessibility issue, the issue is reported as a trade-off for the user to decide rather than silently overridden. Delivers one merged review.",
|
||||
"assertions": [
|
||||
"Loads impeccable, apple-design, and the WPF rules before editing",
|
||||
"Does not apply macOS conventions such as menu bar placement or app-menu settings to the WPF app",
|
||||
"Keeps the project's 32px button height instead of overriding it with Apple Design target sizes",
|
||||
"Reports any resulting accessibility concern as a trade-off for the user to decide",
|
||||
"Delivers one merged review instead of separate reports"
|
||||
],
|
||||
"files": []
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"prompt": "Rework the pricing page in src/app/pricing: new headline and plan copy, better conversion, and add a 'Only 3 spots left' banner to push sign-ups. (Installed: superpowers, ponytail, impeccable, apple-design, humanizer.)",
|
||||
"expected_output": "This is a UI development task on a Persuade surface. Impeccable leads visual direction, edits, and the headline and plan copy; humanizer runs last on the new copy, and Apple Design's writing lens checks it in review. The 'Only 3 spots left' banner is not added unless the scarcity is real; the agent asks or flags it as a dark pattern. Delivers one merged report.",
|
||||
"assertions": [
|
||||
"Lets Impeccable lead the visual direction, edits, and copy of the pricing page",
|
||||
"Runs humanizer on the new copy last",
|
||||
"Does not add the scarcity banner without confirming the scarcity is real",
|
||||
"Delivers one merged report instead of separate skill reports"
|
||||
],
|
||||
"files": []
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"prompt": "Finish the onboarding screen redesign we planned, including the new entrance animation.",
|
||||
"expected_output": "Runs the Impeccable and Apple Design UI loop. In the review step it includes impeccable-finish-reviewer for the finished build and impeccable-motion-reviewer for the new animation, without asking for separate subagent approval, and merges their findings into the one report in the review-pull-request schema.",
|
||||
"assertions": [
|
||||
"Uses impeccable-finish-reviewer in the review step",
|
||||
"Uses impeccable-motion-reviewer because motion changed",
|
||||
"Does not ask for extra approval to run these read-only Impeccable agents",
|
||||
"Delivers one merged report"
|
||||
],
|
||||
"files": []
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user