@ia-ccun/code-agent-cli 0.0.59-beta.4 → 0.0.59-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/agent/extensions/aicode-provider-scope.ts +388 -0
- package/config/agent/mcp.json +5 -0
- package/config/agent/skills/agent-browser/LICENSE +201 -0
- package/config/agent/skills/agent-browser/SKILL.md +55 -0
- package/config/agent/skills/codebase-design/DEEPENING.md +37 -0
- package/config/agent/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
- package/config/agent/skills/{chroma → codebase-design}/LICENSE +1 -1
- package/config/agent/skills/codebase-design/SKILL.md +118 -0
- package/config/agent/skills/codebase-design/agents/openai.yaml +3 -0
- package/config/agent/skills/domain-modeling/ADR-FORMAT.md +47 -0
- package/config/agent/skills/domain-modeling/GLOSSARY-FORMAT.md +61 -0
- package/config/agent/skills/{fireworks-tech-graph → domain-modeling}/LICENSE +1 -1
- package/config/agent/skills/domain-modeling/SKILL.md +78 -0
- package/config/agent/skills/domain-modeling/agents/openai.yaml +3 -0
- package/config/agent/skills/frontend-design/SKILL.md +55 -26
- package/config/agent/skills/grill-with-docs/LICENSE +21 -0
- package/config/agent/skills/grill-with-docs/SKILL.md +21 -0
- package/config/agent/skills/grill-with-docs/agents/openai.yaml +5 -0
- package/config/agent/skills/grilling/LICENSE +21 -0
- package/config/agent/skills/grilling/SKILL.md +34 -0
- package/config/agent/skills/grilling/agents/openai.yaml +3 -0
- package/config/agent/skills/tdd/LICENSE +21 -0
- package/config/agent/skills/tdd/SKILL.md +42 -0
- package/config/agent/skills/tdd/agents/openai.yaml +3 -0
- package/config/agent/skills/tdd/mocking.md +59 -0
- package/config/agent/skills/tdd/tests.md +77 -0
- package/config/agent/skills/ui-taste/CHECKSUMS.sha256 +25 -0
- package/config/agent/skills/{milvus-skill → ui-taste}/LICENSE +12 -23
- package/config/agent/skills/ui-taste/MANIFEST.json +256 -0
- package/config/agent/skills/ui-taste/MODIFICATIONS.md +23 -0
- package/config/agent/skills/ui-taste/NOTICE +74 -0
- package/config/agent/skills/ui-taste/SKILL.md +90 -0
- package/config/agent/skills/ui-taste/agents/openai.yaml +4 -0
- package/config/agent/skills/ui-taste/reference/anti-slop-craft.md +138 -0
- package/config/agent/skills/ui-taste/reference/audit.md +71 -0
- package/config/agent/skills/ui-taste/reference/audit.native.md +78 -0
- package/config/agent/skills/ui-taste/reference/craft.md +48 -0
- package/config/agent/skills/ui-taste/reference/distill.md +20 -0
- package/config/agent/skills/ui-taste/reference/image-assets.md +31 -0
- package/config/agent/skills/ui-taste/reference/ios.md +35 -0
- package/config/agent/skills/ui-taste/reference/mobile-controls.md +37 -0
- package/config/agent/skills/ui-taste/reference/mobile-state-performance.md +34 -0
- package/config/agent/skills/ui-taste/reference/native-verification.md +33 -0
- package/config/agent/skills/ui-taste/reference/new-work.md +87 -0
- package/config/agent/skills/ui-taste/reference/operate.md +37 -0
- package/config/agent/skills/ui-taste/reference/overdrive.md +65 -0
- package/config/agent/skills/ui-taste/reference/polish.md +63 -0
- package/config/agent/skills/ui-taste/reference/research.md +45 -0
- package/config/agent/skills/ui-taste/references/uizze-image-to-ui.md +77 -0
- package/config/agent/skills/ui-taste/references/uizze-reference-policy.md +27 -0
- package/config/agent/skills/ui-taste/references/uizze-visual-verification.md +62 -0
- package/config/agent/skills/ui-taste/scripts/verify-visual-evidence.mjs +108 -0
- package/package.json +5 -5
- package/scripts/postinstall.js +19 -0
- package/config/agent/extensions/aicode-safety-guard.ts +0 -924
- package/config/agent/skills/chroma/chroma-local/SKILL.md +0 -165
- package/config/agent/skills/chroma/chroma-local/cli.md +0 -48
- package/config/agent/skills/chroma/chroma-local/data-model.md +0 -103
- package/config/agent/skills/chroma/chroma-local/error-handling/python.md +0 -166
- package/config/agent/skills/chroma/chroma-local/error-handling/typescript.md +0 -231
- package/config/agent/skills/chroma/chroma-local/local-chroma/python.md +0 -95
- package/config/agent/skills/chroma/chroma-local/local-chroma/typescript.md +0 -101
- package/config/agent/skills/chroma/chroma-local/metadata/python.md +0 -154
- package/config/agent/skills/chroma/chroma-local/metadata/typescript.md +0 -153
- package/config/agent/skills/chroma/chroma-local/querying/python.md +0 -147
- package/config/agent/skills/chroma/chroma-local/querying/typescript.md +0 -157
- package/config/agent/skills/chroma/chroma-local/regex/python.md +0 -69
- package/config/agent/skills/chroma/chroma-local/regex/typescript.md +0 -71
- package/config/agent/skills/chroma/chroma-local/understanding-a-codebase.md +0 -80
- package/config/agent/skills/chroma/chroma-local/updating-deleting/python.md +0 -159
- package/config/agent/skills/chroma/chroma-local/updating-deleting/typescript.md +0 -228
- package/config/agent/skills/find-skills/SKILL.md +0 -137
- package/config/agent/skills/fireworks-tech-graph/README.md +0 -528
- package/config/agent/skills/fireworks-tech-graph/README.zh.md +0 -499
- package/config/agent/skills/fireworks-tech-graph/SKILL.md +0 -538
- package/config/agent/skills/fireworks-tech-graph/agentloop-core.svg +0 -101
- package/config/agent/skills/fireworks-tech-graph/agents/openai.yaml +0 -4
- package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style1-flat.png +0 -0
- package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style2-dark.png +0 -0
- package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style3-blueprint.png +0 -0
- package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style4-notion.png +0 -0
- package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style5-glass.png +0 -0
- package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style6-claude.png +0 -0
- package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style7-openai.png +0 -0
- package/config/agent/skills/fireworks-tech-graph/fixtures/agent-memory-types-style4.json +0 -181
- package/config/agent/skills/fireworks-tech-graph/fixtures/api-flow-style7.json +0 -40
- package/config/agent/skills/fireworks-tech-graph/fixtures/mem0-style1.json +0 -297
- package/config/agent/skills/fireworks-tech-graph/fixtures/microservices-style3.json +0 -64
- package/config/agent/skills/fireworks-tech-graph/fixtures/multi-agent-style5.json +0 -45
- package/config/agent/skills/fireworks-tech-graph/fixtures/system-architecture-style6.json +0 -48
- package/config/agent/skills/fireworks-tech-graph/fixtures/tool-call-style2.json +0 -182
- package/config/agent/skills/fireworks-tech-graph/package.json +0 -42
- package/config/agent/skills/fireworks-tech-graph/references/icons.md +0 -406
- package/config/agent/skills/fireworks-tech-graph/references/style-1-flat-icon.md +0 -108
- package/config/agent/skills/fireworks-tech-graph/references/style-2-dark-terminal.md +0 -107
- package/config/agent/skills/fireworks-tech-graph/references/style-3-blueprint.md +0 -113
- package/config/agent/skills/fireworks-tech-graph/references/style-4-notion-clean.md +0 -94
- package/config/agent/skills/fireworks-tech-graph/references/style-5-glassmorphism.md +0 -125
- package/config/agent/skills/fireworks-tech-graph/references/style-6-claude-official.md +0 -209
- package/config/agent/skills/fireworks-tech-graph/references/style-7-openai.md +0 -215
- package/config/agent/skills/fireworks-tech-graph/references/style-diagram-matrix.md +0 -135
- package/config/agent/skills/fireworks-tech-graph/references/svg-layout-best-practices.md +0 -100
- package/config/agent/skills/fireworks-tech-graph/scripts/README.md +0 -244
- package/config/agent/skills/fireworks-tech-graph/scripts/generate-diagram.sh +0 -157
- package/config/agent/skills/fireworks-tech-graph/scripts/generate-from-template.py +0 -1556
- package/config/agent/skills/fireworks-tech-graph/scripts/test-all-styles.sh +0 -135
- package/config/agent/skills/fireworks-tech-graph/scripts/validate-svg.sh +0 -292
- package/config/agent/skills/fireworks-tech-graph/templates/agent-architecture.svg +0 -28
- package/config/agent/skills/fireworks-tech-graph/templates/architecture.svg +0 -23
- package/config/agent/skills/fireworks-tech-graph/templates/comparison-matrix.svg +0 -14
- package/config/agent/skills/fireworks-tech-graph/templates/data-flow.svg +0 -28
- package/config/agent/skills/fireworks-tech-graph/templates/er-diagram.svg +0 -21
- package/config/agent/skills/fireworks-tech-graph/templates/flowchart.svg +0 -21
- package/config/agent/skills/fireworks-tech-graph/templates/sequence.svg +0 -20
- package/config/agent/skills/fireworks-tech-graph/templates/state-machine.svg +0 -20
- package/config/agent/skills/fireworks-tech-graph/templates/timeline.svg +0 -19
- package/config/agent/skills/fireworks-tech-graph/templates/use-case.svg +0 -21
- package/config/agent/skills/hello/SKILL.md +0 -26
- package/config/agent/skills/librarian/SKILL.md +0 -199
- package/config/agent/skills/milvus-skill/README.md +0 -37
- package/config/agent/skills/milvus-skill/SKILL.md +0 -259
- package/config/agent/skills/milvus-skill/references/collection.md +0 -86
- package/config/agent/skills/milvus-skill/references/database.md +0 -24
- package/config/agent/skills/milvus-skill/references/index.md +0 -69
- package/config/agent/skills/milvus-skill/references/partition.md +0 -29
- package/config/agent/skills/milvus-skill/references/patterns.md +0 -150
- package/config/agent/skills/milvus-skill/references/user-role.md +0 -90
- package/config/agent/skills/milvus-skill/references/vector.md +0 -247
- package/config/agent/skills/pr/SKILL.md +0 -59
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Third-Party Notices
|
|
2
|
+
|
|
3
|
+
This project includes content derived from third-party work, used under the terms of its original license.
|
|
4
|
+
|
|
5
|
+
## Impeccable
|
|
6
|
+
|
|
7
|
+
Copyright 2025 Paul Bakaus.
|
|
8
|
+
Original work: https://github.com/pbakaus/impeccable
|
|
9
|
+
Original license: Apache-2.0 (included in LICENSE).
|
|
10
|
+
|
|
11
|
+
Uizze modifies and redistributes design guidance, including creation, craft,
|
|
12
|
+
refinement, web and native audits, and Overdrive, under Uizze product terminology.
|
|
13
|
+
This is an adaptation, not an endorsement by the original author.
|
|
14
|
+
See MODIFICATIONS.md and MANIFEST.json in each package for pinned sources.
|
|
15
|
+
|
|
16
|
+
## Platform Design Skills
|
|
17
|
+
|
|
18
|
+
The `reference/ios.md` playbook includes material distilled from ehmo's
|
|
19
|
+
`platform-design-skills` (Apple Human Interface Guidelines).
|
|
20
|
+
|
|
21
|
+
**Original work:** https://github.com/ehmo/platform-design-skills
|
|
22
|
+
**Original license:** MIT
|
|
23
|
+
**Author:** ehmo
|
|
24
|
+
|
|
25
|
+
MIT License
|
|
26
|
+
|
|
27
|
+
Copyright (c) 2026
|
|
28
|
+
|
|
29
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
30
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
31
|
+
in the Software without restriction, including without limitation the rights
|
|
32
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
33
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
34
|
+
furnished to do so, subject to the following conditions:
|
|
35
|
+
|
|
36
|
+
The above copyright notice and this permission notice shall be included in all
|
|
37
|
+
copies or substantial portions of the Software.
|
|
38
|
+
|
|
39
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
40
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
41
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
42
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
43
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
44
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
45
|
+
SOFTWARE.
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
## Appllama
|
|
49
|
+
|
|
50
|
+
Research playbooks and craft guidance adapted from https://github.com/Appllama/appllama-skills
|
|
51
|
+
Pinned revision: dd5caaec3d5d50ad7fc0324da238119c6b7c3707.
|
|
52
|
+
The original MIT notice applies to this material; it is not replaced by the package Apache-2.0 license.
|
|
53
|
+
|
|
54
|
+
MIT License
|
|
55
|
+
|
|
56
|
+
Copyright (c) 2026 Antmind Ventures Private Limited (appllama.io)
|
|
57
|
+
|
|
58
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
59
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
60
|
+
in the Software without restriction, including without limitation the rights
|
|
61
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
62
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
63
|
+
furnished to do so, subject to the following conditions:
|
|
64
|
+
|
|
65
|
+
The above copyright notice and this permission notice shall be included in all
|
|
66
|
+
copies or substantial portions of the Software.
|
|
67
|
+
|
|
68
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
69
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
70
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
71
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
72
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
73
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
74
|
+
SOFTWARE.
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ui-taste
|
|
3
|
+
description: Give your coding agent better UI taste. Build and polish web and iOS interfaces with Uizze's anti-ui-slop playbooks and optional real-product references. Use for UI design, implementation, redesign, critique, or a final visual review in Claude Code, Codex, Cursor, or Copilot.
|
|
4
|
+
license: Apache-2.0; see LICENSE and NOTICE for third-party attribution
|
|
5
|
+
metadata:
|
|
6
|
+
version: "0.3.0"
|
|
7
|
+
author: "UIZZE <business@uizze.com>"
|
|
8
|
+
compatibility: "Designed for Claude Code, Codex, Cursor, and GitHub Copilot; works in any agent that can read project files and fetch a URL."
|
|
9
|
+
tags: "ui-design, design-system, design-review, frontend, web-ui, ios-ui"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+

|
|
13
|
+
|
|
14
|
+
# UI Taste by Uizze
|
|
15
|
+
|
|
16
|
+
**Stop shipping the same AI slop.**
|
|
17
|
+
|
|
18
|
+
“Make it look better” gets old after the tenth prompt. Give your agent a workflow for choosing layouts, fixing visual hierarchy, and polishing the details you notice when you use the app.
|
|
19
|
+
|
|
20
|
+
Built on [Uizze's](https://uizze.com) anti-ui-slop workflow. Focused design playbooks for web and iOS, including native audits, with optional real-product references, fonts and icons through Uizze MCP.
|
|
21
|
+
|
|
22
|
+
**Free skill. No account required.** Agent-connected references and materials use the optional paid MCP.
|
|
23
|
+
|
|
24
|
+
## Prerequisites
|
|
25
|
+
|
|
26
|
+
- A screen or component to build, redesign, or review — a file path or a short description.
|
|
27
|
+
- Existing components, design tokens, and visual language, when available. For a new project, establish a small coherent system from the brief rather than requiring an existing one.
|
|
28
|
+
- Optional access to the paid Uizze MCP for focused references and hosted materials.
|
|
29
|
+
|
|
30
|
+
## Authentication
|
|
31
|
+
|
|
32
|
+
- The free skill and public catalogue work without an account, token, MCP connection, dependency, script, or executable.
|
|
33
|
+
- The optional full UIZZE MCP may use the host's normal connection and authentication flow. Never claim it is connected without an actual host result.
|
|
34
|
+
|
|
35
|
+
## Work from the product
|
|
36
|
+
|
|
37
|
+
Read the brief, existing UI, components, tokens, assets, and any PRODUCT.md or DESIGN.md before designing. The user's request and project constraints outrank this skill. Preserve an established visual system for extensions and polish; replace it only for an approved redesign. A new project does not require those files.
|
|
38
|
+
|
|
39
|
+
Identify the audience, primary task, important states, and intended result. Ask only about missing choices that would materially change the work. A precise request is enough to proceed; do not turn a small fix into a discovery workshop.
|
|
40
|
+
|
|
41
|
+
## Research before choosing the target
|
|
42
|
+
|
|
43
|
+
For a new design, an approved redesign or a substantive improvement, use [the research playbook](reference/research.md): the agent discovers and inspects relevant screens and flow steps, selects useful examples, and turns their lessons into a checkable specification. Do this automatically before generating a new target; do not require manual browsing, a saved collection or shortlist approval. Supplied references and existing product constraints retain authority when present; small technical fixes need no research ceremony.
|
|
44
|
+
|
|
45
|
+
Apply [anti-slop craft](reference/anti-slop-craft.md) for visual consistency and, when relevant, navigation and motion. Preserve deliberate brand exceptions and native platform behavior.
|
|
46
|
+
|
|
47
|
+
Load these supporting playbooks only when the task needs them:
|
|
48
|
+
|
|
49
|
+
- Native inputs, sheets and menus: [mobile controls](reference/mobile-controls.md).
|
|
50
|
+
- Data-backed flows, recovery, typing or measured latency: [state and performance](reference/mobile-state-performance.md).
|
|
51
|
+
- New or revised illustrations and imagery: [image assets](reference/image-assets.md).
|
|
52
|
+
- Native screen, gesture and full-flow checks: [native verification](reference/native-verification.md).
|
|
53
|
+
|
|
54
|
+
## Image first, then implement
|
|
55
|
+
|
|
56
|
+
Follow [Uizze's image-to-UI workflow](references/uizze-image-to-ui.md) before visual implementation. When an authorized image-generation tool is available, new visual work and approved redesigns start with a realistic UI image, inspected before code. An approved supplied image takes precedence. Save its actual dimensions and build the target 1:1 with semantic components and real controls, not a screenshot background.
|
|
57
|
+
|
|
58
|
+
Render at that viewport once assets and fonts load, compare with the stable target, correct visible mismatches and inspect again. Preserve the approved identity at other sizes. A small technical fix or read-only audit does not need a new image; if image tools are unavailable, explain that and use an existing target or the project's conventions without pretending generation or visual verification succeeded.
|
|
59
|
+
|
|
60
|
+
## Select the workflow
|
|
61
|
+
|
|
62
|
+
Load the playbook for the requested action, plus the platform and craft guidance needed to execute it:
|
|
63
|
+
|
|
64
|
+
- New interface or major redesign: [new-work](reference/new-work.md)
|
|
65
|
+
- Product or dashboard work: [operate](reference/operate.md)
|
|
66
|
+
- Refinement and polish: [polish](reference/polish.md)
|
|
67
|
+
- Simplification: [distill](reference/distill.md)
|
|
68
|
+
- Explicit web audit: [audit](reference/audit.md), read-only unless fixes were requested
|
|
69
|
+
- Native iOS: [iOS](reference/ios.md), alongside the action's playbook; for an audit, use [native audit](reference/audit.native.md) instead of a DOM scan
|
|
70
|
+
- Explicit `/overdrive`, “Uizze Overdrive”, or a request for exceptional interaction work: [Overdrive](reference/overdrive.md)
|
|
71
|
+
|
|
72
|
+
For implementation, use [craft](reference/craft.md) after the direction is settled. Load only relevant files; multiple complementary playbooks are allowed. Overdrive is opt-in, not the default for ordinary UI work. It requires a chosen direction before implementation.
|
|
73
|
+
|
|
74
|
+
“Use Uizze Overdrive on this screen” works through this router; a native slash command depends on the host. These are self-contained Markdown playbooks, not an installer, background service, or executable engine.
|
|
75
|
+
|
|
76
|
+
## Optional Uizze evidence
|
|
77
|
+
|
|
78
|
+
Read [the reference policy](references/uizze-reference-policy.md) before using `find_ui_references` or `find_ui_materials`. Inspect relevant visual evidence when it can inform the layout, state, interaction, or assets. Use the host's available tools, not invented calls or connections. Paid retrieval is optional; missing access does not block local design work.
|
|
79
|
+
|
|
80
|
+
Distinguish an exact reference, a related example, no match, and a service error. Briefly disclose a limitation that affected the result. Never claim an image was inspected or a state was found without evidence.
|
|
81
|
+
|
|
82
|
+
## Finish
|
|
83
|
+
|
|
84
|
+
Build the requested scope and exercise its important states. Render and inspect the real result at representative desktop/mobile sizes or native device classes, including the user's reported failing size. Compare it with the chosen direction or supplied reference, not just with the absence of runtime errors.
|
|
85
|
+
|
|
86
|
+
Fix material problems in a batch, then render and inspect again. Stop once the requested result is verified; do not keep inventing work. If a bounded pass cannot resolve an issue, report it instead of claiming a pass. When rendering is unavailable, distinguish code checks from visual verification.
|
|
87
|
+
|
|
88
|
+
Save the actual captures, tested states and source hashes using [visual verification](references/uizze-visual-verification.md). Its optional local integrity check rejects missing or stale evidence; it does not judge aesthetics or replace inspection. Link the receipt in the handoff and keep blocked checks explicit.
|
|
89
|
+
|
|
90
|
+
Keep the handoff concise: what changed, what was actually tested, and any remaining limitation. A skill does not authorize publishing, purchases, new dependencies, account changes, or destructive actions.
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
# Anti-slop craft: consistency, navigation and motion
|
|
2
|
+
|
|
3
|
+
This playbook carries Appllama's navigation, anti-slop and motion laws, preserving their wording except for the Uizze name and the verification link. Source: design skill v1.3.0 at `dd5caaec3d5d50ad7fc0324da238119c6b7c3707`, MIT; see NOTICE and the package manifest.
|
|
4
|
+
|
|
5
|
+
Apply these as design guidance within the user's task and existing product system. The visual consistency rules apply to web and native UI; navigation API names below are Expo/React Native examples. Preserve SwiftUI, UIKit, web routing or other existing frameworks and use their equivalent native mechanisms. Verify installed API support before adopting an example; this guidance does not authorize a framework migration or new dependencies.
|
|
6
|
+
|
|
7
|
+
The user's intentional brand choices and supported platform conventions take precedence. An accent is a primary interaction color, not every color in a chart, photograph, status message or user content. Preserve semantic success/warning/error colors and justified typography systems. Record exceptions that matter to the change; do not flatten an expressive product into a generic single-color template.
|
|
8
|
+
|
|
9
|
+
Use motion and navigation checks only where the task touches those behaviors. No simulator, recorder or representative device means those checks are unverified, not a reason to invent measurements or block unrelated useful work. Finish with the scoped evidence in [visual verification](../references/uizze-visual-verification.md), not an unbounded perfection loop.
|
|
10
|
+
|
|
11
|
+
## Navigation laws
|
|
12
|
+
|
|
13
|
+
Navigation is the part of a screen a screenshot can't show, and users feel
|
|
14
|
+
it in ten seconds. Every transition answers three questions: what is the
|
|
15
|
+
destination to here, must the user be able to come back, and what does back
|
|
16
|
+
(chevron, iOS edge swipe, Android hardware back) do afterwards.
|
|
17
|
+
|
|
18
|
+
1. **Push goes deeper, replace moves on.** `router.push` when the user will
|
|
19
|
+
want to return here; `router.replace` / `<Redirect>` when coming back
|
|
20
|
+
would land in a state the world has moved past; `router.dismissTo(href)`
|
|
21
|
+
for "finish this flow and land on X". Back undoes *navigation*, never
|
|
22
|
+
*events*.
|
|
23
|
+
2. **Presentation is meaning.** A self-contained task with steps →
|
|
24
|
+
`presentation: 'modal'` with its own stack and its own Cancel/Done; a
|
|
25
|
+
short interruption (picker, filters, item options) → `formSheet` with
|
|
26
|
+
detents, drag-to-dismiss; immersive content → `fullScreenModal` with an
|
|
27
|
+
explicit Close; something floating over a still-visible screen (confirm
|
|
28
|
+
card, lightbox, coach mark) → `transparentModal` overlay; destructive
|
|
29
|
+
confirms → action sheet; item actions → native context menu; share /
|
|
30
|
+
web / photo picking → the system controller, never a rebuilt route. A
|
|
31
|
+
sheet that grows a second step was a modal all along; if a link could
|
|
32
|
+
open it, it is a route, not a `useState` sheet.
|
|
33
|
+
3. **One-way doors leave the stack.** Sign-in on a wall app, finished
|
|
34
|
+
onboarding (Skip included), a purchase, a completed session: guard with
|
|
35
|
+
`Stack.Protected` and land with `replace`, so back can never re-enter
|
|
36
|
+
the old state — Android back from home exits the app, never shows
|
|
37
|
+
Login; a paid paywall never re-opens. But keep the user's *place*:
|
|
38
|
+
sign-in demanded by one action (save, follow, buy) is a modal over the
|
|
39
|
+
screen that completes the action where it was tapped, and a paywall
|
|
40
|
+
opened from a feature dismisses back onto the feature, unlocked — never
|
|
41
|
+
`replace('/(tabs)')` from there.
|
|
42
|
+
4. **Back is blocked in exactly two cases** — an irreversible request in
|
|
43
|
+
flight (seconds, with visible progress) and unsaved work in a modal
|
|
44
|
+
(ask first), both via `usePreventRemove` on the modal's root screen.
|
|
45
|
+
Transient in-screen state (selection mode, an expanded search, an open
|
|
46
|
+
in-screen sheet) consumes the first back, then back leaves. Anything
|
|
47
|
+
else that traps back — a funnel, a rating prompt — is a defect; the
|
|
48
|
+
edge swipe works everywhere else.
|
|
49
|
+
5. **Tabs are peers.** No slide between tabs, each tab keeps its own stack,
|
|
50
|
+
re-tapping the active tab pops to its root; full-attention screens
|
|
51
|
+
(composer, player, checkout) live in the root stack *above* the tabs.
|
|
52
|
+
Deep links land with a real stack underneath (`initialRouteName` /
|
|
53
|
+
`withAnchor`); cold start lands by state, splash held until session
|
|
54
|
+
state has resolved — never a Login flash before Home.
|
|
55
|
+
6. **Study the grammar, not just the pixels.** Walking a winning flow on
|
|
56
|
+
Uizze, note what each step *is* — push, modal, sheet — and copy that
|
|
57
|
+
consistency.
|
|
58
|
+
|
|
59
|
+
## Anti-slop laws
|
|
60
|
+
|
|
61
|
+
AI-built apps share a look, and users file it under "template" within seconds.
|
|
62
|
+
Each of these is a *default ban* — there is always an override when the brand
|
|
63
|
+
explicitly asks for the thing AND you can articulate why it fits this product.
|
|
64
|
+
|
|
65
|
+
1. **No AI-default styling.** Purple/indigo gradient CTAs with a glow,
|
|
66
|
+
glassmorphism on every card, mesh-gradient heroes, confetti for minor
|
|
67
|
+
events, sparkles in headings — that is the model's house style, not
|
|
68
|
+
design. Your palette, materials, and layout come from the reference
|
|
69
|
+
screens you studied, never from the priors you'd reach for unprompted.
|
|
70
|
+
2. **One accent, locked.** Pick one accent color and it is THE accent on
|
|
71
|
+
every screen — no blue CTA on one screen and teal on the next, no new hue
|
|
72
|
+
appearing in screen seven. Neutrals carry the app; the accent is spent
|
|
73
|
+
where the money is (primary action, active state, progress).
|
|
74
|
+
3. **One grey family.** Warm greys or cool greys — never both in one app.
|
|
75
|
+
4. **Shape lock.** One corner-radius scale, stated as a rule ("actions are
|
|
76
|
+
pills, cards 16, inputs 8") and never violated. Mixed radii without a
|
|
77
|
+
stated rule read as assembled-from-parts.
|
|
78
|
+
5. **No emoji as iconography.** Icons are SF Symbols / Material Symbols
|
|
79
|
+
(fidelity law 3). Emoji appear only when the product's voice is genuinely
|
|
80
|
+
chat-native or playful — sparingly, in content, never in chrome.
|
|
81
|
+
6. **One label per intent.** "Get started", "Start now", and "Begin" are the
|
|
82
|
+
same intent — pick one phrasing and use it everywhere it appears.
|
|
83
|
+
7. **Emphasis stays in the family.** Emphasize a word with weight or italic
|
|
84
|
+
of the same typeface; injecting a serif word into a sans headline (or vice
|
|
85
|
+
versa) for visual interest is amateur.
|
|
86
|
+
8. **Ship full state cycles, not the happy path.** Static-successful-state-
|
|
87
|
+
only is the default failure mode: skeletons must match the final layout's
|
|
88
|
+
shape, empty states are composed (and say how to fill them), errors are
|
|
89
|
+
inline and specific.
|
|
90
|
+
9. **The slop pre-flight is mechanical.** Before any flow reaches the
|
|
91
|
+
simulator pass, count: distinct accent hues (must be 1), distinct corner
|
|
92
|
+
radii (all from the stated scale), emoji in UI chrome (0), gradients
|
|
93
|
+
without a brand reason (0), duplicate labels for one intent (0). A failed
|
|
94
|
+
count is a fix, not a judgment call.
|
|
95
|
+
|
|
96
|
+
## Motion laws
|
|
97
|
+
|
|
98
|
+
Motion is the highest-leverage polish surface and the easiest to overdo.
|
|
99
|
+
Decide in this order:
|
|
100
|
+
|
|
101
|
+
- **The frequency gate comes first.** Met 100+ times a day (tab switch,
|
|
102
|
+
keyboard, scroll, back) → the platform default and nothing else; tens a
|
|
103
|
+
day (press, row select) → near-imperceptible, under 150 ms; occasional
|
|
104
|
+
(sheets, modals, toasts) → standard motion; delight only on rare,
|
|
105
|
+
first-time moments. Tabs never slide; screen transitions stay native.
|
|
106
|
+
Passing this gate with zero lines of code is a success — when unsure,
|
|
107
|
+
the strongest move is to delete the animation.
|
|
108
|
+
- **Name the purpose in one word** — feedback, spatial continuity, state
|
|
109
|
+
change, preventing a jarring cut, explanation, delight — or don't build
|
|
110
|
+
it. Data the user is reading never moves for style.
|
|
111
|
+
- **If a finger was involved, it's a spring.** Start from the live value
|
|
112
|
+
(capture it on grab), hand the release velocity into the spring, pick
|
|
113
|
+
the target from projected momentum so a flick commits, rubber-band past
|
|
114
|
+
boundaries, stay grabbable mid-flight. One vocabulary per app —
|
|
115
|
+
`{ duration: 400, dampingRatio: 1 }` to settle, `{ 300, 0.8 }` for
|
|
116
|
+
sheets — and bounce only when the gesture carried momentum.
|
|
117
|
+
- **Everything else is timing, under 300 ms, strong ease-out**
|
|
118
|
+
(`Easing.bezier(0.23, 1, 0.32, 1)` — built-in curves are too weak; never
|
|
119
|
+
ease-in on an entrance). Press feedback lands on press-*in*, 100–150 ms:
|
|
120
|
+
scale 0.97 on buttons and cards, a background highlight (never scale) on
|
|
121
|
+
list rows, opacity on bar buttons. Exits are faster than entrances and
|
|
122
|
+
leave the way they came in; enter from `scale(0.95)` + fade, never
|
|
123
|
+
`scale(0)`; menus grow from their trigger (centered modals exempt).
|
|
124
|
+
- **Gesture → animation never hops the JS thread.** Worklets + shared
|
|
125
|
+
values (`.get()`/`.set()`; `scheduleOnRN` — Reanimated 4's `runOnJS` —
|
|
126
|
+
only at gesture end), `transform`/`opacity` only, no `entering` on
|
|
127
|
+
recycled list rows, never animate a header's height (translate inside a
|
|
128
|
+
fixed clip), keyboard-tracking UI via `react-native-keyboard-controller`
|
|
129
|
+
— never a keyboard listener plus a guessed duration.
|
|
130
|
+
- **Respect Reduce Motion**: your spatial motion collapses to cross-fades;
|
|
131
|
+
native transitions stay the system's.
|
|
132
|
+
- The bar: 60 fps through the hero flow, measured on a **release build on
|
|
133
|
+
the slowest device you support** — Expo Go and dev builds hide exactly
|
|
134
|
+
the jank you're hunting
|
|
135
|
+
([visual verification](../references/uizze-visual-verification.md)). Watch the
|
|
136
|
+
recording once for feel, once frame by frame, and again next day with
|
|
137
|
+
fresh eyes.
|
|
138
|
+
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Audit an implemented web interface
|
|
2
|
+
|
|
3
|
+
Run a read-only technical quality audit of what can be observed in source and the rendered experience. Do not fix the product unless the user also asked for fixes. This is not permission to redesign, invent requirements, replace the incumbent visual identity, or turn personal taste into a defect.
|
|
4
|
+
|
|
5
|
+
For native iOS/iPadOS, use [native audit](audit.native.md) instead. Browser DOM results do not establish native coverage. For a mixed app, report web and native surfaces separately.
|
|
6
|
+
|
|
7
|
+
## Establish scope and evidence
|
|
8
|
+
|
|
9
|
+
Identify the requested screens, primary task, supported browsers, viewports, themes, states, roles, and input methods from the project. Read relevant design guidance and representative components. Preserve the user's scope and established system; do not demand a theme, breakpoint, dependency, or feature the product does not support.
|
|
10
|
+
|
|
11
|
+
Use the host's available source inspection, running preview, browser accessibility tree, screenshots, interaction tools, and existing project checks. No separate detector, launcher, installation, or background service is required. Treat automated findings as candidates to verify in context, not proof of failure or quality.
|
|
12
|
+
|
|
13
|
+
Record the URL/build or revision, browser/engine, viewport, states, and input method actually inspected. Separate source-confirmed issues, reproduced runtime defects, suspected risks, and checks that could not run. An unavailable preview, failed scan, empty result, inaccessible frame, unloaded screen, or incomplete traversal means unknown or partial coverage, not a clean audit.
|
|
14
|
+
|
|
15
|
+
## Inspect actual visible surfaces
|
|
16
|
+
|
|
17
|
+
Walk the task, not just the initial viewport. Open applicable menus, popovers, dialogs, tabs, and disclosures; inspect scroll regions, sticky/fixed bars, and reachable loading, empty, error, disabled, success, permission, and recovery states.
|
|
18
|
+
|
|
19
|
+
- **Visibility:** inspect rendered bounds, clipping, overflow, overlap, stacking, and occlusion. A node's presence in the DOM or accessibility tree does not prove that a user can see or activate it. Check labels, validation messages, primary actions, focus rings, and overlay escape from clipping ancestors.
|
|
20
|
+
- **Hidden content:** distinguish intentional collapsed/inactive content, responsive alternatives, and off-screen scrollable content from accidentally unreachable information. Reveal a control in the state where it is meant to appear before evaluating it. Hidden content can still be an accessibility defect if it incorrectly remains in the focus or reading order.
|
|
21
|
+
- **Contrast:** resolve the actual foreground and effective background at the visible content. Account for inherited colors, opacity and compositing, translucent overlays, dark/light themes, disabled states, gradients, and image backgrounds. Do not assume a white background or infer a ratio from token names. For variable backgrounds, inspect the affected region and worst relevant state; if a reliable ratio cannot be established, request/record manual assessment rather than manufacture a passing number.
|
|
22
|
+
- **Reachability:** prove that content can be reached through the intended scroll, keyboard, pointer, or touch path. A screenshot cannot establish focus order or gesture behavior, and a DOM-only scan cannot establish a visible, usable control.
|
|
23
|
+
|
|
24
|
+
## Five diagnostic dimensions
|
|
25
|
+
|
|
26
|
+
### 1. Accessibility
|
|
27
|
+
|
|
28
|
+
- Check semantic headings and landmarks, native control semantics, accessible names, roles, states, meaningful image alternatives, form labels, instructions, errors, and recovery.
|
|
29
|
+
- Exercise keyboard navigation, visible and unobscured focus, logical order, dialogs' focus handling, and escape from traps. Inspect screen-reader names and state announcements with the tools actually available.
|
|
30
|
+
- Check text contrast against the real background: normally 4.5:1 for text and 3:1 for qualifying large text under WCAG AA. Check applicable control/state indicators and focus visibility requirements separately; do not call every low-contrast decorative or exempt element a failure.
|
|
31
|
+
- Check zoom/text enlargement, reflow, color-independent feedback, reduced-motion alternatives, and disruptive flashing. Reduced motion must preserve useful state feedback; an indiscriminate near-zero-duration override can remove essential information.
|
|
32
|
+
- Evaluate target size and separation using the applicable standard, including WCAG 2.2's minimum target-size rule and its exceptions. A 44 CSS-pixel target is a useful touch recommendation, not a blanket WCAG AA requirement.
|
|
33
|
+
|
|
34
|
+
### 2. Performance
|
|
35
|
+
|
|
36
|
+
- Inspect observed startup/loading delays, layout shift, image loading, interaction latency, scrolling, and animation frame stability. Distinguish measured behavior from source-level risks.
|
|
37
|
+
- Look for repeated layout reads/writes, unnecessary work on interaction paths, excessive blur/filter/shadow effects, broad permanent `will-change`, oversized assets, and unnecessary imports.
|
|
38
|
+
- Check image dimensions, appropriate responsive sources, and appropriate deferred loading; do not prescribe lazy loading for the critical above-the-fold image. Recommend rendering optimizations only for demonstrated unnecessary work, not memoization everywhere.
|
|
39
|
+
- State when no profiler, representative network/device, or runtime evidence was available. Static code alone does not prove smooth performance.
|
|
40
|
+
|
|
41
|
+
### 3. Theming and system consistency
|
|
42
|
+
|
|
43
|
+
- Check semantic token use and stable state meanings against the project's own conventions. A justified asset color or local value is not automatically drift.
|
|
44
|
+
- Exercise every supported appearance and theme switch; look for stale values, inverted assets, missing variants, and illegible text, controls, overlays, or focus.
|
|
45
|
+
- Verify actual rendered combinations, not just token definitions. Do not penalize an unsupported dark theme or demand a new token framework merely to improve an audit score.
|
|
46
|
+
|
|
47
|
+
### 4. Responsive layout and input
|
|
48
|
+
|
|
49
|
+
- Inspect relevant narrow, intermediate, and wide sizes, long content, enlarged text, structural reflow, fixed widths, horizontal overflow, and actions hidden by bars or overlays.
|
|
50
|
+
- Exercise custom sliders, drags, and scrollable control strips with touch when the host supports it. Check page-scroll cooperation and cleanup after cancel, lost capture, interruption, or blur. Mouse handlers or a mobile-sized screenshot do not prove touch works.
|
|
51
|
+
- Record whether evidence came from viewport emulation, synthesized touch (and which engine), or physical hardware, and which inputs remain untested.
|
|
52
|
+
|
|
53
|
+
### 5. Implementation integrity
|
|
54
|
+
|
|
55
|
+
- Verify repeated shortcuts, incomplete or misleading states, inconsistent shared components, and departures from the established product system. Tie each finding to an observed implementation and user impact.
|
|
56
|
+
- Check that controls and content serve the real task rather than acting as decorative stand-ins. Do not label a user-approved aesthetic, familiar product pattern, or deliberate exception a defect merely for being conventional.
|
|
57
|
+
- Group recurring root causes while retaining affected locations. Reject false positives; separate measurable failures from design judgment.
|
|
58
|
+
|
|
59
|
+
## Report evidence, impact, and limits
|
|
60
|
+
|
|
61
|
+
Lead with blocking findings and the implementation-integrity assessment, bounded to the inspected scope. Include:
|
|
62
|
+
|
|
63
|
+
1. **Coverage:** screens/states, environment, source/runtime methods, completed checks, partial checks, and unavailable checks for all five dimensions.
|
|
64
|
+
2. **Prioritized findings:** **P0** blocks task completion or risks data loss; **P1** materially impairs use or confirms a relevant accessibility failure; **P2** causes friction with a workaround; **P3** is minor polish. Do not flood the report with preference-only P3s.
|
|
65
|
+
3. **Each finding:** category; exact screen/state and file/line when known; reproducible evidence and method; user impact; applicable standard only when verified; smallest concrete correction. Label suspected risks separately from confirmed defects.
|
|
66
|
+
4. **Patterns and positives:** recurring root causes, affected locations, intentional exceptions, and practices worth preserving.
|
|
67
|
+
5. **Next actions:** specific corrections in priority order, with a final refinement and re-audit after authorized fixes. Recommend ordinary host-native actions or available local playbooks, not invented commands.
|
|
68
|
+
|
|
69
|
+
Only if the user requests a health score, use 0–4 per dimension: 0 unusable/systemic failure, 1 major gaps, 2 partial with significant issues, 3 isolated minor issues, 4 no material defects in the inspected scope with sufficient evidence. Mark insufficiently assessed dimensions **not assessed**, not zero or four; do not compute a total out of 20 when any dimension lacks coverage. A score is a scoped triage aid, not certification or proof that untested states pass.
|
|
70
|
+
|
|
71
|
+
If nothing material is found, say “no material findings in the inspected scope” and name that scope and remaining limits. Do not silently fix issues, claim complete WCAG conformance from a scan, or call unavailable/empty evidence clean.
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Audit a native iOS interface
|
|
2
|
+
|
|
3
|
+
Run a read-only technical audit of a native iOS/iPadOS app, including SwiftUI, UIKit, React Native, Expo, or Flutter shipping to Apple devices. Review source and the actual native experience; do not fix files, change the design direction, or modify product behavior unless the user also requested fixes. Preserve the project's approved identity and scope.
|
|
4
|
+
|
|
5
|
+
This playbook is self-contained. Use the project's conventions and Apple's canonical [Human Interface Guidelines](https://developer.apple.com/design/human-interface-guidelines/), including [accessibility](https://developer.apple.com/design/human-interface-guidelines/accessibility). Platform interaction and accessibility matter more than imposing a particular visual style. Apply the target platform's official guidance for any non-Apple native surface; do not blindly apply iOS units or navigation rules to it.
|
|
6
|
+
|
|
7
|
+
## Establish native coverage
|
|
8
|
+
|
|
9
|
+
Identify the screens, primary task, framework, supported OS versions, device classes, orientations, window modes, appearances, roles, and relevant states. Read the corresponding source and established components. Do not invent requirements for an unsupported device, theme, orientation, permission, or service.
|
|
10
|
+
|
|
11
|
+
Use the host's available native simulator/device controls, native accessibility inspection, screenshots, runtime logs, and existing project checks. No detector, launcher, new dependency, shell permission, download, or background engine is required. Use safe navigation and authorized test data; do not submit consequential actions merely to complete an audit.
|
|
12
|
+
|
|
13
|
+
Record the build/revision, OS, device or simulator identity, orientation, window size, appearance, text size, screen/state, and inspection method. Identify the exact target when several devices or windows are running. Screenshots must come from the actual native app on a simulator or device; a browser rendering or responsive preview is not native-device evidence.
|
|
14
|
+
|
|
15
|
+
A browser DOM scan does not cover a native interface. An empty or unavailable DOM result, failed native launch, inaccessible window, empty accessibility tree, or missing screenshot is **not a clean audit**. State what was inspected and what remains unknown. Separate source-confirmed defects, reproduced native defects, suspected risks, and checks that could not run. An accessibility-tree inspection is not a completed VoiceOver session, and a screenshot cannot prove navigation, focus order, keyboard handling, or touch gestures.
|
|
16
|
+
|
|
17
|
+
## Inspect actual surfaces and states
|
|
18
|
+
|
|
19
|
+
Walk the supported task through arrival, navigation, input, save/cancel, dismissal, and recovery with the available native tools. Inspect applicable loading, empty, error, success, disabled, offline, permission-denied, and long/missing-content states. Do not invent unreachable states or claim unavailable service paths were exercised.
|
|
20
|
+
|
|
21
|
+
Check scroll regions, lists, navigation bars, tab bars, sheets, alerts, menus, and keyboards in the states users encounter. Distinguish intentional disclosure, truncation with a usable full-content path, and off-screen scrollable content from required information that is clipped, occluded, or unreachable. A view can exist in source or the accessibility tree while remaining invisible behind another surface. Conversely, hidden/inactive views must not leak into focus or the reading order.
|
|
22
|
+
|
|
23
|
+
For contrast, use the foreground and actual composited background, including semantic colors, opacity, system materials, translucency, overlays, gradients, and images. Check relevant light/dark and increased-contrast appearances. Never assume white, compare token names as if they were pixels, or report a ratio without a reliable background. Flag unresolved measurement as requiring manual assessment, not passing. Assess content when it is actually visible, including opened sheets and keyboard-present states.
|
|
24
|
+
|
|
25
|
+
## Five diagnostic dimensions
|
|
26
|
+
|
|
27
|
+
### 1. Accessibility
|
|
28
|
+
|
|
29
|
+
- Inspect accessible labels, traits/roles, values, selected/disabled/expanded states, grouping, and meaningful image descriptions. Confirm that icon-only controls have useful names and that changed or error states are communicated without color alone.
|
|
30
|
+
- Exercise VoiceOver reading and activation where available. Check order, unreachable or duplicate controls, modal containment, focus after push/pop and dismissal, and announcements of meaningful state changes. If only static labels or a native tree were inspected, say so; do not imply screen-reader behavior was tested.
|
|
31
|
+
- Check Dynamic Type, including a large accessibility size: labels, values, lists, buttons, sheets, errors, and controls must remain readable and reachable without overlap or essential truncation. A fixed text size is a risk to investigate, not automatic proof of a defect when scaling is otherwise supported.
|
|
32
|
+
- Check at least 44 by 44 point tappable areas on iOS and separation between adjacent targets. Inspect the actual hit region, not just the visible icon. Do not confuse points with screenshot pixels or CSS pixels.
|
|
33
|
+
- Check text/control contrast and focus visibility against the real rendered surface and relevant accessibility standard. Honor Reduce Motion with a usable alternative preserving state feedback; also inspect increased-contrast and reduced-transparency behavior where supported.
|
|
34
|
+
- Exercise external-keyboard or switch/focus navigation when applicable and available. Mark it untested when only touch or pointer input was used.
|
|
35
|
+
|
|
36
|
+
### 2. Performance
|
|
37
|
+
|
|
38
|
+
- Observe startup to usable content, scrolling of representative long lists, image loading, keyboard presentation, navigation, and gesture responsiveness. Use runtime/profiling evidence for frame stability, stalls, or memory claims.
|
|
39
|
+
- Inspect source for heavy launch work, synchronous main-thread work in scroll/gesture paths, unbounded list rendering, unstable row identity, unnecessary re-renders, oversized image decoding, absent appropriate caching, and unused dependencies.
|
|
40
|
+
- Tie recommendations to demonstrated work and the framework's actual behavior. Do not prescribe memoization or replace a list merely because its name differs from a preferred API.
|
|
41
|
+
- Distinguish source-level performance risks from measured failures. A simulator can provide layout and interaction coverage, but does not certify physical-device startup, thermal behavior, 60/120 Hz frame performance, or real touch latency.
|
|
42
|
+
|
|
43
|
+
### 3. Appearance and theming
|
|
44
|
+
|
|
45
|
+
- Check semantic system colors or the project's adaptive tokens, state meanings, images, and supported appearance changes. Verify actual text, controls, bars, overlays, materials, and focus, not just token definitions.
|
|
46
|
+
- Look for stale theme values, crude inversion, unreadable dark content, and translucency that loses contrast over the content beneath it.
|
|
47
|
+
- Evaluate custom materials, icons, typography, and components against the established product system and platform usability. A user-approved brand face or icon set is not automatically a defect; report concrete legibility, consistency, scaling, or interaction failures instead.
|
|
48
|
+
|
|
49
|
+
### 4. Platform navigation and interaction
|
|
50
|
+
|
|
51
|
+
- Check that top-level destinations, hierarchy, and focused subtasks have predictable navigation. Tabs represent destinations rather than surprise actions; sheets and alerts have clear completion, cancel, and dismissal behavior.
|
|
52
|
+
- Exercise back navigation and the expected edge-back gesture on hierarchical screens, including nested scroll/drag content. Inspect for overlays or gesture recognizers that intercept it. Check focus and state restoration after returning.
|
|
53
|
+
- Check safe-area and content insets around the notch/Dynamic Island, status/navigation bars, home indicator, rounded corners, and presented surfaces. Decorative content may extend edge to edge; essential text and interactive targets must stay usable.
|
|
54
|
+
- Check standard control behavior, selections, menus, pickers, text editing, and feedback. Flag hover-only or website-shaped affordances only when they impair native use or conflict with binding project/platform conventions, not merely because they are custom.
|
|
55
|
+
- Check dismissal and data-preservation behavior without committing destructive actions. Identify unintended loss, blocked recovery, or misleading completion state from authorized evidence.
|
|
56
|
+
|
|
57
|
+
### 5. Device adaptivity and keyboard
|
|
58
|
+
|
|
59
|
+
- Inspect representative shipped iPhone sizes and iPad when supported, supported orientations, long content, and large text. Check iPad resizable windows/multitasking where supported rather than assuming a full-screen screenshot covers them.
|
|
60
|
+
- Ensure larger screens use the product's intended adaptive structure, with usable navigation, sheets/popovers, and controls; a different layout is not required just to satisfy taste.
|
|
61
|
+
- Focus inputs and inspect keyboard presentation, inset adjustment, scrolling to the active field, error visibility, and access to submit/cancel/dismiss controls. Check field-to-field traversal, appropriate input/return behavior, and keyboard dismissal without losing work.
|
|
62
|
+
- Reinspect after rotation/window resizing, keyboard show/hide, navigation, and interrupted gestures where applicable. A keyboard-hidden screenshot does not establish keyboard coverage, and simulator taps do not prove physical-device gestures.
|
|
63
|
+
|
|
64
|
+
## Report evidence, impact, and limits
|
|
65
|
+
|
|
66
|
+
Lead with blocking findings and a scoped platform-conformance assessment: does the inspected path behave predictably for a native user, and what concrete violations were observed? Do not pass/fail a whole app from one screen or make branding conformity a proxy for quality.
|
|
67
|
+
|
|
68
|
+
Include:
|
|
69
|
+
|
|
70
|
+
1. **Coverage by dimension:** source and native runtime methods, devices/OS versions, states, orientations/windows, input methods, accessibility settings, completed checks, partial checks, and unavailable checks.
|
|
71
|
+
2. **Prioritized findings:** **P0** blocks the task or risks data loss; **P1** materially impairs use or confirms a relevant accessibility/platform failure; **P2** causes friction with a workaround; **P3** is minor polish. Avoid preference-only noise.
|
|
72
|
+
3. **Each finding:** category; exact screen/state and source location when known; reproducible evidence and whether it came from source, simulator, hardware, or accessibility tools; user impact; verified guideline when applicable; smallest concrete correction. Keep suspected risks distinct from confirmed defects.
|
|
73
|
+
4. **Patterns and positives:** recurring root causes and affected screens, deliberate exceptions, and working native/accessibility practices to retain.
|
|
74
|
+
5. **Next actions:** specific corrections in priority order, then refinement and a native re-audit after authorized fixes. Use ordinary host-native steps, not invented native commands or detector results.
|
|
75
|
+
|
|
76
|
+
Only if the user requests a health score, use 0–4 for each dimension: 0 unusable/systemic failure, 1 major gaps, 2 partial with significant issues, 3 isolated minor issues, 4 no material defects in the inspected scope with sufficient evidence. Mark insufficiently assessed dimensions **not assessed**, not zero or four. Do not produce a total out of 20 if any dimension lacks coverage. A score is a scoped triage aid, not accessibility certification or proof that untested devices pass.
|
|
77
|
+
|
|
78
|
+
If nothing material is found, say “no material findings in the inspected scope,” list that scope, and preserve all verification limits. Never treat missing native tools, an empty DOM scan, or a source-only review as a clean native audit. Auditing remains read-only unless fixes were explicitly requested.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Uizze craft checks
|
|
2
|
+
|
|
3
|
+
Adapted from Impeccable's `reference/craft-floor.md`, not its deprecated craft command alias. Apply after choosing the direction, not as a substitute for one. The project's established system and explicit user choices take priority over general aesthetic preferences. Use the host's available inspection tools; this playbook requires no hook or design engine.
|
|
4
|
+
|
|
5
|
+
## Establish the visual target
|
|
6
|
+
|
|
7
|
+
Apply the [Uizze image-first → 1:1 policy](../references/uizze-image-to-ui.md) before visual implementation, not as a final cosmetic step. Inspect and reuse a supplied/approved target. For new visual work or an approved redesign, use an available authorized image tool to make a realistic, straight-on UI image before coding; inspect real copy, controls, assets, legibility and platform constraints, then save its actual dimensions and keep it stable. Do not create a provider or regenerate an approved image.
|
|
8
|
+
|
|
9
|
+
For scoped refinement, use the incumbent screenshot and approved changes as the constraint; generate a constrained proposal only when needed and available, not a new identity. Audits and small technical fixes need no new concept. If generation is unavailable, use a supplied target or disclose the limitation and follow existing conventions; no real target means no 1:1 claim. Craft rules do not authorize aesthetic drift from the approved target or changes to product/data/auth contracts.
|
|
10
|
+
|
|
11
|
+
## Inspect the built interface
|
|
12
|
+
|
|
13
|
+
Check these together while exercising the actual screen. A rule written in a plan is not evidence that the render passes it; reuse one batched inspection rather than taking separate screenshots for every item.
|
|
14
|
+
|
|
15
|
+
- **Hierarchy and coverage:** the primary task or message reads first, supporting information is subordinate, and every brief requirement is present and findable within seconds. Use scale, weight, alignment and grouping before adding containers.
|
|
16
|
+
- **Target fidelity:** compare the actual render at the saved target's dimensions and state, including native configuration when relevant. Inspect layout/proportions, line wrapping, typography, spacing, color, icons, borders and image crops against the image, not memory. Report missing fonts/assets and explicit safety/accessibility departures; a visual target never licenses an asset or permits flattened screenshot UI.
|
|
17
|
+
- **Typography:** use coherent scale and obvious weight steps, balanced headings, readable line height and real copy at each breakpoint. A web reading measure around 65–75ch is a useful starting point, not a mobile minimum. For unconstrained web display text, about 6rem and tracking no tighter than -0.04em are floor-check guardrails, not ceilings on an approved composition or native Dynamic Type. Inspect computed values and the render for clipped ascenders, awkward wraps, crowded tracking and truncated essential labels.
|
|
18
|
+
- **Type character:** a system/workhorse face is appropriate for operational and native UI. For an approved expressive display direction, do not silently replace its lettering with the nearest installed heavy font and call it matched. Use an available, appropriately licensed face and report substitutions or loading gaps.
|
|
19
|
+
- **Spacing:** related controls form tight groups; sections have generous separation and normally more space above a heading than below. Optical alignment should agree with the grid. Inspect computed spacing or native layout metrics rather than trusting source declarations.
|
|
20
|
+
- **Color and contrast:** body and placeholder text normally need 4.5:1 contrast, large text 3:1. Tint secondary text in harmony with a colored ground or foreground rather than automatically adding neutral gray; measure the resulting contrast. Keep semantic roles, readable error/disabled states and visible focus. Never use color alone to communicate meaning.
|
|
21
|
+
- **Depth and surfaces:** borders, radii and depth form one system. Shadows used for elevation normally have an offset and soft blur; a zero-offset colored halo is decoration, not depth. A hard block shadow belongs to a world that deliberately chose it. Check seams, crop/aspect ratio, asset sharpness and duplicate device/status chrome.
|
|
22
|
+
- **Controls and states:** use recognizable controls, action-specific labels, sensible focus order, keyboard operation and usable touch targets. Exercise relevant hover, focus, disabled, loading, empty, error, success and recovery states. Loading explains progress; errors name the problem and recovery. Do not add impossible states just to fill a checklist.
|
|
23
|
+
- **Layout:** inspect the requested width, a narrow/mobile width and the principal desktop/native device classes. Long names, real copy, empty collections, large text, keyboard insets and overflowing menus must not break the task.
|
|
24
|
+
- **Motion:** author one coherent moment or grammar, not scattered effects or the same entrance on every section. Start from visible content, honor reduced motion, and test interruption/reversal. A quick ease-out can fit responsive feedback; choose easing for the actual direction. Blur, masks, clipping or shadows may participate only when smooth and accessible, not as an obligation to animate expensive properties.
|
|
25
|
+
- **Browser details:** on web surfaces, inspect selection, caret, focus rings, underline offset, scrollbars and tabular numerals as part of the palette. Theme what benefits the system without losing contrast, forced-colors support, native scroll affordances or platform usability. Use tabular numerals for comparisons; keep visible focus. On native surfaces use the platform's corresponding controls, text behavior and accessibility conventions rather than imitating browser CSS.
|
|
26
|
+
- **Content:** use the product's language and credible data. Controls name their action; errors name the problem and recovery. Label fixtures as illustrative. Never invent customers, testimonials, capabilities or performance results.
|
|
27
|
+
|
|
28
|
+
## Detect habitual design
|
|
29
|
+
|
|
30
|
+
These are signals to examine, not arbitrary bans on a user-approved aesthetic. When the direction leaves a choice open, replace a habit that adds no information rather than disguising it with another skin.
|
|
31
|
+
|
|
32
|
+
- Equal icon-title-text cards as the whole page, nested panels without distinct grouping needs, and the big-number/small-label/supporting-metrics hero used instead of product substance.
|
|
33
|
+
- Eyebrows that merely repeat a heading and numbered sections that communicate no meaningful sequence.
|
|
34
|
+
- A modal when the task needs neither interruption nor protected focus.
|
|
35
|
+
- Gradient headlines, glass/blur decoration, thick colored side borders and hard offset shadows imported into an unrelated visual world.
|
|
36
|
+
- Sparklines, progress rings, soft rounded rectangles or empty charts standing in for real content.
|
|
37
|
+
- Monospace as a technical costume rather than for code, data or measurement; an automatic display-font association instead of an intentional choice.
|
|
38
|
+
- Mixed Unicode/emoji stand-ins for a coherent icon system. Use the project's actual library or appropriately authored icons with consistent weight and stroke unless the brief deliberately calls for emoji.
|
|
39
|
+
- Geometric cutouts pretending to follow an organic photographic contour. Use a real alpha matte/cutout asset or omit the effect; inspect fine edges against light and dark grounds.
|
|
40
|
+
- Light or dark selected from the product category rather than the user's real setting and ambient light.
|
|
41
|
+
|
|
42
|
+
Ask what the screen actually communicates and enables. “It compiles” and “nothing overlaps” do not establish visual quality. The mechanical floor never selects the direction: compare the rendered hierarchy, detail and commitment with the user's target, not only a defect checklist. Do not add effects to manufacture novelty.
|
|
43
|
+
|
|
44
|
+
## Close the loop
|
|
45
|
+
|
|
46
|
+
Capture after fonts/images load and motion settles, at the target's actual dimensions and intended screen/state/scroll position. Compare full context and detail crops side by side or with an overlay. Fix layout/proportions before type, spacing, colors and assets; batch material corrections, recapture affected sizes/states and inspect again. For refinement, check unchanged regions against the incumbent baseline. Check actual controls as well as screenshots. Run relevant project checks when the task calls for them. Keep fix-and-reinspect passes bounded and stop an iteration that resolves nothing; report unresolved material findings rather than self-certifying.
|
|
47
|
+
|
|
48
|
+
Report the target, its actual dimensions, capture environment, comparison method and scope actually inspected, plus checks exercised and remaining mismatches. A 1:1 claim requires a real target and inspected same-size render with no unresolved visible mismatch in that scope; code review or a successful build is not enough. An unavailable browser, failed service call, skipped device, missing reference or unresolved finding is not a pass; if rendering/comparison is unavailable, visual matching remains unverified. Optional paid references/materials follow the [Uizze reference policy](../references/uizze-reference-policy.md); local craft work does not depend on access.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Simplify an interface
|
|
2
|
+
|
|
3
|
+
Remove obstacles between the user and the main task without removing necessary capability.
|
|
4
|
+
|
|
5
|
+
## Find the excess
|
|
6
|
+
|
|
7
|
+
- Identify the primary goal and the information required to complete it.
|
|
8
|
+
- Remove repeated copy, duplicate actions, decorative noise, and containers that do not clarify grouping.
|
|
9
|
+
- Reduce unnecessary variation in colors, type sizes, button styles, spacing, and surface treatments.
|
|
10
|
+
- Prefer one obvious primary action and a small number of clearly subordinate actions.
|
|
11
|
+
- Use progressive disclosure for advanced or infrequent controls, but keep essential information visible.
|
|
12
|
+
|
|
13
|
+
## Preserve clarity
|
|
14
|
+
|
|
15
|
+
- Do not hide required actions behind mystery interactions.
|
|
16
|
+
- Do not remove labels, focus states, accessibility semantics, error messages, or recovery paths.
|
|
17
|
+
- Do not flatten genuinely complex information until it becomes harder to understand.
|
|
18
|
+
- Prefer spacing and alignment over nested cards; prefer plain language over explanatory copy.
|
|
19
|
+
|
|
20
|
+
Verify that the simplified result still supports the complete task, including its important states, at the relevant screen sizes.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Coherent image and illustration assets
|
|
2
|
+
|
|
3
|
+
Use when the requested interface needs new or revised artwork. Reuse appropriate licensed product assets first. A typography, layout or form fix does not need an illustration. Preserve the existing visual identity and use only available, authorized tools; missing generation access is a limitation, not permission to install a service or spend money.
|
|
4
|
+
|
|
5
|
+
Adapted from Appllama's MIT-licensed image-assets.md; immutable source is in MANIFEST.json and attribution in NOTICE.
|
|
6
|
+
|
|
7
|
+
## Define the set before generating it
|
|
8
|
+
|
|
9
|
+
Record a short art direction: style family, palette from the product tokens, surface color or transparency, lighting/texture, line weight and subject/composition rules. Use the same direction across the set. An approved existing asset is a stronger anchor than a generic style adjective.
|
|
10
|
+
|
|
11
|
+
For generation, combine that direction with the specific subject and placement. Reserve clear space for real interface text and controls. Keep ordinary labels in the implementation instead of baking them into the image. Empty-state art should support the recovery action; decorative content must not imply data or features the product does not have.
|
|
12
|
+
|
|
13
|
+
Generate a few candidates when the task and tool budget justify it, inspect them, and choose a consistent direction before expanding the set. Do not regenerate approved work or multiply variants by default. Use an existing symbol set for functional icons; a generated illustration sheet does not automatically provide accessible, legible UI icons.
|
|
14
|
+
|
|
15
|
+
## Size for the actual placement
|
|
16
|
+
|
|
17
|
+
Calculate the needed raster size from rendered logical dimensions and device scale: 200 points at 3× needs 600 pixels across before any intentional oversampling. Export suitable sizes using the project's asset pipeline. Do not upscale a tiny source and claim it is sharp. Preserve crop, focal point and consistent padding across variants.
|
|
18
|
+
|
|
19
|
+
Request true transparency for cutouts when supported, or the exact intended background. Inspect at normal size and enlarged: reject halos, fringe, jagged edges, accidental text, watermarks and inconsistent light or texture. Do not use post-processing to disguise a provenance or licensing problem.
|
|
20
|
+
|
|
21
|
+
Check the actual composite on every supported appearance/surface used by the task. For a dual-theme product, use transparent assets that work on both grounds, justified theme variants, or a deliberate theme-invariant surface. Verify contrast and meaning without relying on color alone.
|
|
22
|
+
|
|
23
|
+
## Integrate and inspect
|
|
24
|
+
|
|
25
|
+
Render the asset in the real layout, including narrow sizes and long copy. Check that the subject is not cropped by safe areas or obscured by an action. Supply alternative text when the image carries information; mark pure decoration appropriately.
|
|
26
|
+
|
|
27
|
+
Inspect compression artifacts and transfer/decode cost at the displayed size. Select a supported format and an appropriate file budget rather than shipping the largest generation. Keep editable/source assets separate from optimized runtime files using the project's convention.
|
|
28
|
+
|
|
29
|
+
For an app icon or store asset explicitly in scope, verify the current target platform's export/masking requirements before producing it and inspect the icon at its smallest real placement. This playbook does not add store or marketing work to an interface task.
|
|
30
|
+
|
|
31
|
+
Finish with inspected in-layout captures and asset paths in [visual verification](../references/uizze-visual-verification.md). “Generated” is not the same as “reviewed in the product.”
|