feat(plugins): add Apple Design and coordinate it with Impeccable
Install dickwu/apple-design-skill as a managed extension for Claude and Codex. It has no Claude marketplace, so a manifest row with claude_plugin "-" and codex_method "skill" now installs the skill payload into ~/.claude/skills as well. Updates fetch the latest upstream commit. plugin-workflow runs Impeccable and Apple Design as one UI loop: Impeccable leads direction and edits, Apple Design supplies cited platform and accessibility constraints, and both feed one merged review. A precedence list puts user instructions and project rules first. Apple platform conventions apply only to Apple targets. The UI/UX rules and the copy, marketing, image and WPF review skills now point to the same roles. Topic rules allow bolder marketing surfaces, prefer undo for reversible destructive actions, and prefer skeletons inside content. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
53511937b0
commit
abc9ae8e1b
27 files changed
+141
-25
No files matched your search
@@ -24,13 +24,48 @@ Keep Context7 checkpoints within this workflow. Existing authorization stands; a
|
||||
|
||||
MUST load `ponytail` in `ultra` mode before coding, fixing, refactoring, configuring, choosing dependencies, or reviewing. Inspect affected callers and consumers. Prefer existing code, then platform features, then installed dependencies. Implement the smallest complete change; remove speculative abstractions without cutting requested behavior, security, accessibility, or error handling. Verify non-trivial logic proportionally. Apply `ponytail-review` when reviewing changes, inside the existing review phase. For whole-repository quality audits, use `ponytail-audit`; for questions about deferred work or `shortcut:` comments, use `ponytail-debt`. Both are read-only reports. Report skipped checks and material risks concisely.
|
||||
|
||||
## Impeccable: UI
|
||||
## Impeccable and Apple Design: UI
|
||||
|
||||
MUST load `impeccable` before UI planning, edits, debugging, or review, including accessibility, responsive behavior, UI copy, and frontend performance. Follow installed context setup, relevant references, and launcher fallback within permissions. Preserve the brief and existing design system. Verify affected states and layouts; batch findings and bound confirmation passes. Report unavailable previews honestly. Impeccable owns UI decisions; Superpowers owns process. Backend-only tasks skip this layer.
|
||||
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 without duplicates: Apple Design's severity and citations, Impeccable's evidence and detector output, and `ui-ux-review`'s task impact. Never deliver separate reports.
|
||||
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:
|
||||
|
||||
- UI copy has one writer. Impeccable writes interface copy (`clarify` for fixes). `copywriting` writes and `copy-editing` edits marketing and website copy for Persuade and Read surfaces, within Impeccable's direction. 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.
|
||||
- Positioning and structure come before direction. `product-marketing` context feeds Impeccable's PRODUCT.md, and `site-architecture` or `content-strategy` settle page hierarchy and navigation before Impeccable shapes the visual direction.
|
||||
- `cro`, `offers`, and `marketing-psychology` contribute findings in the review step, not separate redesigns. Their suggestions stay honest: no fake scarcity, dark patterns, or manipulation.
|
||||
- `image` prepares and optimizes assets inside Impeccable's visual world.
|
||||
- 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.
|
||||
|
||||
## Modern Web Guidance: web platform
|
||||
|
||||
MUST load `modern-web-guidance` before writing or changing HTML, CSS, or client-side JavaScript/TypeScript, including framework templates and styles; load `chrome-extensions` for browser extension work. Search and retrieve matching guides before ad-hoc code or new dependencies. Impeccable decides design; this layer picks platform APIs and patterns; Context7 still covers framework and library behavior. Its documented `npx` launcher is part of the selected plugin; if the npm registry is blocked or offline, report it and continue with the research gate. Backend, build tooling, scripts, and tests skip this layer.
|
||||
MUST load `modern-web-guidance` before writing or changing HTML, CSS, or client-side JavaScript/TypeScript, including framework templates and styles; load `chrome-extensions` for browser extension work. Search and retrieve matching guides before ad-hoc code or new dependencies. Impeccable and Apple Design decide design; this layer picks platform APIs and patterns; Context7 still covers framework and library behavior. Its documented `npx` launcher is part of the selected plugin; if the npm registry is blocked or offline, report it and continue with the research gate. Backend, build tooling, scripts, and tests skip this layer.
|
||||
|
||||
## REA: reverse engineering
|
||||
|
||||
|
||||
Reference in new issue
Block a user