arkaos 4.12.0 → 4.13.0

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.
Files changed (65) hide show
  1. package/README.md +2 -2
  2. package/VERSION +1 -1
  3. package/arka/SKILL.md +1 -1
  4. package/arka/skills/flow/SKILL.md +11 -4
  5. package/config/claude-agents/content-researcher.md +51 -0
  6. package/config/claude-agents/frontend-dev.md +1 -1
  7. package/config/claude-agents/info-compiler.md +51 -0
  8. package/config/claude-agents/scriptwriter.md +9 -7
  9. package/config/claude-agents/trends-analyst.md +51 -0
  10. package/config/claude-agents/ux-designer.md +1 -1
  11. package/config/claude-agents/video-producer.md +51 -0
  12. package/config/claude-agents/visual-designer.md +1 -1
  13. package/config/constitution.yaml +1 -0
  14. package/config/mcp-policy.yaml +8 -0
  15. package/core/governance/__pycache__/evidence_checks.cpython-313.pyc +0 -0
  16. package/core/governance/__pycache__/phantom_action_check.cpython-313.pyc +0 -0
  17. package/core/governance/__pycache__/phantom_action_check.cpython-314.pyc +0 -0
  18. package/core/governance/evidence_checks.py +70 -0
  19. package/core/hooks/__pycache__/pre_tool_use.cpython-313.pyc +0 -0
  20. package/core/hooks/__pycache__/pre_tool_use.cpython-314.pyc +0 -0
  21. package/core/hooks/__pycache__/stop.cpython-313.pyc +0 -0
  22. package/core/hooks/__pycache__/stop.cpython-314.pyc +0 -0
  23. package/core/hooks/pre_tool_use.py +8 -2
  24. package/core/runtime/__pycache__/model_routing_context.cpython-313.pyc +0 -0
  25. package/core/runtime/model_routing_context.py +4 -0
  26. package/core/workflow/__pycache__/frontend_gate.cpython-313.pyc +0 -0
  27. package/core/workflow/__pycache__/frontend_gate_telemetry.cpython-313.pyc +0 -0
  28. package/core/workflow/__pycache__/frontend_gate_telemetry_cli.cpython-313.pyc +0 -0
  29. package/core/workflow/__pycache__/plan_approval.cpython-314.pyc +0 -0
  30. package/core/workflow/frontend_gate.py +118 -25
  31. package/core/workflow/frontend_gate_telemetry.py +129 -0
  32. package/core/workflow/frontend_gate_telemetry_cli.py +53 -0
  33. package/departments/brand/agents/ux-designer.yaml +1 -1
  34. package/departments/brand/agents/visual-designer.yaml +1 -1
  35. package/departments/brand/references/uiux-knowledge-and-tools.md +73 -0
  36. package/departments/brand/skills/colors/SKILL.md +76 -3
  37. package/departments/brand/skills/design-review/SKILL.md +81 -31
  38. package/departments/brand/skills/design-system/SKILL.md +32 -0
  39. package/departments/brand/skills/identity-system/SKILL.md +65 -4
  40. package/departments/brand/skills/logo-brief/SKILL.md +81 -3
  41. package/departments/brand/skills/mockup-generate/SKILL.md +82 -3
  42. package/departments/brand/skills/ux-audit/SKILL.md +74 -5
  43. package/departments/brand/skills/wireframe/SKILL.md +75 -3
  44. package/departments/content/SKILL.md +16 -2
  45. package/departments/content/agents/production/content-researcher.yaml +68 -0
  46. package/departments/content/agents/production/info-compiler.yaml +68 -0
  47. package/departments/content/agents/production/trends-analyst.yaml +69 -0
  48. package/departments/content/agents/production/video-producer.yaml +77 -0
  49. package/departments/content/agents/scriptwriter.yaml +29 -10
  50. package/departments/content/skills/research-compile/SKILL.md +75 -0
  51. package/departments/content/skills/short-form/SKILL.md +3 -1
  52. package/departments/content/skills/trend-hunt/SKILL.md +74 -0
  53. package/departments/content/skills/video-produce/SKILL.md +98 -0
  54. package/departments/content/skills/video-setup/SKILL.md +91 -0
  55. package/departments/content/squad.yaml +6 -0
  56. package/departments/content/workflows/shorts-social.yaml +83 -0
  57. package/departments/content/workflows/video-production.yaml +142 -0
  58. package/departments/content/workflows/youtube.yaml +3 -0
  59. package/departments/dev/agents/frontend-dev.yaml +1 -1
  60. package/installer/doctor.js +56 -1
  61. package/knowledge/agents-registry-v2.json +209 -14
  62. package/knowledge/commands-keywords.json +1388 -234
  63. package/knowledge/commands-registry.json +132 -3
  64. package/package.json +1 -1
  65. package/pyproject.toml +1 -1
@@ -1,10 +1,10 @@
1
1
  ---
2
2
  name: brand/design-review
3
3
  description: >
4
- Visual review of live designs against brand guidelines opens Figma,
5
- Sketch, or Canva desktop via Computer Use, screenshots each artboard, and
6
- annotates palette, typography, spacing, and logo deviations. Requires
7
- Computer Use (/mcp -> computer-use). TRIGGER: "/brand design-review",
4
+ Visual review of live designs against brand guidelines and a named
5
+ benchmark screenshots the real UI (Playwright MCP first, claude-in-chrome
6
+ second, Computer Use for native design tools), and annotates palette,
7
+ typography, spacing, and logo deviations. TRIGGER: "/brand design-review",
8
8
  "design review", "visual review", "revê o design", "compara com o
9
9
  brandbook", "está on-brand?", "visual QA", "UI review" of mockups or
10
10
  screenshots, design file paths (*.fig, *.sketch, Canva links). SKIP:
@@ -17,49 +17,99 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent]
17
17
 
18
18
  # Design Review — `/brand design-review`
19
19
 
20
- > **Agent:** Valentina (Creative Director) | Requires: Computer Use (`/mcp` `computer-use`)
20
+ > **Agent:** Valentina (Creative Director) | **Framework:** Brand fidelity + benchmark comparison
21
+ > **Squad reference:** `departments/brand/references/uiux-knowledge-and-tools.md` (§3 tokens, §8 anti-default, §9 marker)
21
22
 
22
23
  ## Command
23
24
 
24
25
  ```
25
- /brand design-review <app-or-file>
26
+ /brand design-review <url-or-app-or-file>
26
27
  ```
27
28
 
28
- App can be: Figma, Sketch, Canva, or a direct file path to a design file.
29
+ Target can be: a running app URL (preferred), Figma, Sketch, Canva, or a
30
+ direct design-file path.
29
31
 
30
- ## What It Does
32
+ ## Load design intelligence (MANDATORY — excellence-mandate)
31
33
 
32
- Opens a design tool and compares live designs against brand guidelines. Screenshots and annotates differences.
34
+ Do this BEFORE reviewing, in this order, and record what actually loaded:
33
35
 
34
- ## Workflow
36
+ 1. **`Skill(frontend-design)`** — the reviewer's calibration: the three
37
+ AI-default looks are findings when detected; signature-element
38
+ discipline is the bar.
39
+ 2. **`Skill(ui-ux-pro-max)`** — palette/typography/guideline data to
40
+ make deviations checkable, not vibes-based.
41
+ 3. **Read the brand guidelines / design system** — the review compares
42
+ against the project's OWN tokens (`design-system.yaml`, brandbook,
43
+ or §3 of the squad reference as fallback).
35
44
 
36
- 1. **Check computer-use availability** follow [Computer Use Availability Check](/arka)
37
- 2. **Open** the design tool or file
38
- 3. **Navigate** to the relevant artboards/pages
39
- 4. **Compare** against brand guidelines:
40
- - Color palette accuracy (hex values, contrast)
41
- - Typography (font family, sizes, weights)
42
- - Spacing and layout consistency
43
- - Logo usage and clear space
44
- - Icon style consistency
45
- 5. **Screenshot** each artboard with annotations of issues found
46
- 6. **Generate report** with side-by-side comparisons
45
+ ### Graceful degradation (honest, never silent)
47
46
 
48
- ## Example
47
+ If a plugin skill is NOT installed: say so explicitly, fall back to §3 +
48
+ §8 of the squad reference, and emit the marker with
49
+ `skills=degraded:<missing-name>`. Never claim a load that did not
50
+ happen; never proceed as if it had.
49
51
 
50
- ```
51
- /brand design-review Figma
52
- /brand design-review ~/Documents/Homepage-v3.sketch
53
- /brand design-review "CanvaSocial Media Templates"
54
- ```
52
+ ## Benchmark first
53
+
54
+ NAME the reference company this design is judged against (from the
55
+ `[arka:design]` marker of the work under review when present hold the
56
+ work to ITS declared benchmark; pick and state one when absent).
55
57
 
56
- ## Fallback (No Computer Use)
58
+ ## Design marker (before any file edit)
57
59
 
58
60
  ```
59
- Computer Use required for design tool interaction.
60
- Enable via: /mcp → computer-use (macOS only, Pro/Max plan required)
61
+ [arka:design] benchmark=<Company> skills=<comma,list> tokens=<path|none>
61
62
  ```
62
63
 
64
+ Emit on its own line BEFORE writing the review. Full contract: §9 of the
65
+ squad reference.
66
+
67
+ ## Capture order (screenshots are the evidence — no screenshot, no review)
68
+
69
+ 1. **Playwright MCP** (primary, no Computer Use needed):
70
+ `mcp__playwright__browser_navigate` → `browser_take_screenshot` at
71
+ 1440 and 390 widths for every reviewed surface.
72
+ 2. **claude-in-chrome MCP** (second): same capture flow in the user's
73
+ Chrome when Playwright is unavailable.
74
+ 3. **Computer Use** (last, native design tools only): open Figma /
75
+ Sketch / Canva desktop and screenshot artboards.
76
+ 4. **Manual fallback**: ask the operator for screenshots — the review
77
+ does not proceed on imagination.
78
+
79
+ Store captures under `.arka/evidence/ui/<yyyy-mm-dd>/<surface>.png` in
80
+ the project — the path the Quality Gate's mechanical `ui-screenshot`
81
+ evidence check reads (`core.governance.evidence_checks`): UI-touching
82
+ changes with no recent capture (PNG > 10KB, last 24h) fail the evidence
83
+ report, and Francisca judges the artifact it points at against the
84
+ marker's benchmark.
85
+
86
+ ## Review dimensions
87
+
88
+ For every captured surface, annotate deviations with exact values
89
+ (found vs expected):
90
+
91
+ - **Palette** — hex fidelity, accent overuse vs the 60/25/15 ratio (§3),
92
+ contrast (AA minimum).
93
+ - **Typography** — families, sizes, weights vs the type scale; line
94
+ length and hierarchy integrity.
95
+ - **Spacing/layout** — grid conformity, spacing-scale drift (arbitrary
96
+ values are findings), alignment.
97
+ - **Logo/iconography** — clear space, min sizes, stroke consistency,
98
+ forbidden treatments.
99
+ - **Anti-default (§8)** — does any surface read as one of the three
100
+ AI-default looks? Is there ONE signature element, and is boldness
101
+ spent only there?
102
+ - **Benchmark contrast** — for each major finding, one line on what the
103
+ named benchmark does instead.
104
+
105
+ ## Verdict
106
+
107
+ `ON-BRAND` / `DEVIATIONS (n)` / `OFF-BRAND` — with the annotated
108
+ screenshot list, exact-value deviation table, and fix list ranked by
109
+ visual impact. A review with zero captured screenshots is INVALID.
110
+
63
111
  ## Output
64
112
 
65
- Design review report saved to Obsidian: `Projects/<ecosystem>/Brand/Reviews/<date>.md`
113
+ Design review report saved to Obsidian:
114
+ `Projects/<ecosystem>/Brand/Reviews/<date>.md`, linking every annotated
115
+ capture in `.arka/evidence/ui/<date>/`.
@@ -22,6 +22,38 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
22
22
  # Design System — `/brand design-system`
23
23
 
24
24
  > **Lead:** Sofia D. (UX Designer) + Isabel (Visual Designer) | **Framework:** Atomic Design (Brad Frost) + Design Tokens + WCAG 2.2 AA
25
+ > **Squad reference:** `departments/brand/references/uiux-knowledge-and-tools.md` (§3 tokens, §8 anti-default, §9 marker)
26
+
27
+ ## Load design intelligence (MANDATORY — excellence-mandate)
28
+
29
+ Do this BEFORE defining a single token, in this order, and record what
30
+ actually loaded:
31
+
32
+ 1. **`Skill(frontend-design)`** — anti-default doctrine: the token plan
33
+ (palette, type pairing, signature) is critiqued BEFORE it becomes
34
+ `design-tokens.json`.
35
+ 2. **`Skill(ui-ux-pro-max)`** — 161 palettes + 57 font pairings as
36
+ comparative evidence for the primitive layer; never a pick-list.
37
+ 3. **Motion tokens involved?** Load the GSAP skills (`gsap-core`,
38
+ `gsap-timeline`; `gsap-performance` as the review bar).
39
+ 4. **Aesthetic seed (optional, no visual history only)** — a curated
40
+ TypeUI direction (`npx typeui.sh pull <slug>`, §10 of the squad
41
+ reference) may seed primitives; it is never the final system.
42
+
43
+ ### Graceful degradation (honest, never silent)
44
+
45
+ If a plugin skill is NOT installed: say so explicitly, fall back to §3 +
46
+ §8 of the squad reference, and emit the marker with
47
+ `skills=degraded:<missing-name>`. Never claim a load that did not
48
+ happen; never proceed as if it had.
49
+
50
+ Then NAME the benchmark company the system is judged against, and emit
51
+ the structured marker before any file edit (full contract: §9 of the
52
+ squad reference):
53
+
54
+ ```
55
+ [arka:design] benchmark=<Company> skills=<comma,list> tokens=<path|none>
56
+ ```
25
57
 
26
58
  ## What ships
27
59
 
@@ -21,14 +21,64 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
21
21
  # Identity System — `/brand identity <name>`
22
22
 
23
23
  > **Agent:** Valentina (Creative Director) | **Framework:** Wheeler Process + Primal Branding
24
+ > **Squad reference:** `departments/brand/references/uiux-knowledge-and-tools.md` (§3 tokens, §8 anti-default, §9 marker)
24
25
 
25
- ## What It Does
26
+ ## Load design intelligence (MANDATORY — excellence-mandate)
26
27
 
27
- Full brand identity: strategy, verbal, visual in the correct order (never skip to visuals).
28
+ Do this BEFORE any identity work, in this order, and record what
29
+ actually loaded:
28
30
 
29
- ## Output
31
+ 1. **`Skill(frontend-design)`** — anti-default doctrine; the visual
32
+ phase of this skill lives or dies by it.
33
+ 2. **`Skill(ui-ux-pro-max)`** — 161 palettes + 57 font pairings as
34
+ comparative evidence for the visual phase; never as a pick-list.
35
+ 3. **Aesthetic direction seed (optional)** — when the brand has no
36
+ visual history, consider a curated TypeUI direction
37
+ (`npx typeui.sh pull <slug>`, §10 of the squad reference) as a SEED
38
+ for the token system, never as the final system.
39
+
40
+ ### Graceful degradation (honest, never silent)
41
+
42
+ If a plugin skill is NOT installed: say so explicitly, fall back to §3 +
43
+ §8 of the squad reference, and emit the marker with
44
+ `skills=degraded:<missing-name>`. Never claim a load that did not
45
+ happen; never proceed as if it had.
46
+
47
+ ## Benchmark first
48
+
49
+ NAME the reference company whose brand coherence this identity should be
50
+ judged against (Stripe for system discipline, Apple for reduction,
51
+ Mailchimp for voice…), and state what that company's brand director
52
+ would reject in your current direction.
53
+
54
+ ## Design marker (before any file edit)
55
+
56
+ ```
57
+ [arka:design] benchmark=<Company> skills=<comma,list> tokens=<path|none>
58
+ ```
30
59
 
31
- Complete brand identity package saved to Obsidian
60
+ Emit on its own line BEFORE the first Write/Edit. Full contract: §9 of
61
+ the squad reference.
62
+
63
+ ## Workflow (Wheeler order — never skip to visuals)
64
+
65
+ 1. **Strategy** — audience, positioning, archetype, competitive frame;
66
+ Primal Branding's 7 assets (creation story, creed, icons, rituals,
67
+ lexicon, non-believers, leader) drafted as one-liners. Route deep
68
+ positioning to `brand/positioning-statement` when it deserves it.
69
+ 2. **Verbal** — name rationale (if naming), tagline, voice: 3 traits
70
+ with a do/don't pair each, lexicon (words the brand owns, words it
71
+ never uses). Verbal LOCKS before pixels.
72
+ 3. **Visual** — only now. Run the §8 token-plan-then-critique loop:
73
+ palette (4–6 named hexes via `brand/colors` discipline), type pairing
74
+ (display/body/utility), logo direction (route execution to
75
+ `brand/logo-brief`), iconography style, layout grammar, and the ONE
76
+ signature element the identity is remembered by. Self-test every
77
+ choice: *"would this appear for any other brand?"*
78
+ 4. **System** — assemble tokens into a handoff for
79
+ `brand/design-system` (DTCG-shaped), plus usage rules (clear space,
80
+ min sizes, forbidden treatments).
81
+ 5. **Verification** — check the live surfaces against the system.
32
82
 
33
83
  ## Browser Steps
34
84
 
@@ -43,3 +93,14 @@ Follow the [Browser Integration Pattern](/arka) for availability checking.
43
93
  Follow the [Computer Use Availability Check](/arka) for availability checking.
44
94
 
45
95
  - [COMPUTER] Open design tools (Figma, Canva desktop, Sketch) to verify brand assets match guidelines
96
+
97
+ ## Output
98
+
99
+ Complete brand identity package saved to Obsidian, in Wheeler order:
100
+
101
+ | Phase | Deliverable |
102
+ |---|---|
103
+ | Strategy | positioning + archetype + Primal 7 assets |
104
+ | Verbal | name rationale, tagline, voice traits, lexicon |
105
+ | Visual | palette, type, logo direction, icon style, signature |
106
+ | System | DTCG token handoff + usage rules → `brand/design-system` |
@@ -20,11 +20,89 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
20
20
  # Logo — `/brand logo <brief>`
21
21
 
22
22
  > **Agent:** Isabel (Visual Designer) | **Framework:** Logo Design Principles + AI Generation
23
+ > **Squad reference:** `departments/brand/references/uiux-knowledge-and-tools.md` (§3 tokens, §8 anti-default, §9 marker)
23
24
 
24
- ## What It Does
25
+ ## Load design intelligence (MANDATORY — excellence-mandate)
25
26
 
26
- Logo concept generation: brief, mood references, AI-generated concepts.
27
+ Do this BEFORE any concept work, in this order, and record what actually
28
+ loaded:
29
+
30
+ 1. **`Skill(frontend-design)`** — anti-default doctrine: distinctive
31
+ marks come from the brand's own world; one aesthetic risk, justified.
32
+ 2. **`Skill(ui-ux-pro-max)`** — typography data (57 pairings) for
33
+ wordmark craft and lockup type decisions.
34
+ 3. **Read the brand strategy** — positioning/archetype from the
35
+ identity work; a logo brief without strategy input gets sent back to
36
+ `brand/identity-system`.
37
+
38
+ ### Graceful degradation (honest, never silent)
39
+
40
+ If a plugin skill is NOT installed: say so explicitly, fall back to §3 +
41
+ §8 of the squad reference, and emit the marker with
42
+ `skills=degraded:<missing-name>`. Never claim a load that did not
43
+ happen; never proceed as if it had.
44
+
45
+ ## Benchmark first
46
+
47
+ NAME the reference company whose mark discipline this logo should be
48
+ judged against (FedEx for hidden meaning, Chanel for reduction, Stripe
49
+ for geometric warmth…), and state what that company's design lead would
50
+ reject in your current directions.
51
+
52
+ ## Anti-default check
53
+
54
+ AI-logo defaults: generic geometric animal, gradient hexagon/orbit,
55
+ lowercase-sans-with-one-colored-letter. §8 self-test on every direction:
56
+ *"would this exact mark appear for any other company?"* A mark must
57
+ survive one-color, 16px favicon, and embroidery.
58
+
59
+ ## Design marker (before any file edit)
60
+
61
+ ```
62
+ [arka:design] benchmark=<Company> skills=<comma,list> tokens=<path|none>
63
+ ```
64
+
65
+ Emit on its own line BEFORE the first Write/Edit. Full contract: §9 of
66
+ the squad reference.
67
+
68
+ ## Workflow
69
+
70
+ 1. **Brief decomposition** — what the brand does, for whom, archetype,
71
+ one word the mark must communicate, contexts (app icon? signage?
72
+ embroidery?).
73
+ 2. **Mood references** — 3–5 references from the brand's OWN world
74
+ (materials, tools, geography), each with one line on what to steal
75
+ and what to refuse.
76
+ 3. **Three concept directions** — one wordmark, one monogram/lettermark,
77
+ one symbol/abstract; for each: sketch description, construction notes
78
+ (grid, stroke, negative space), rationale tied to strategy, and the
79
+ §8 self-test verdict.
80
+ 4. **Generation prompts** — engine-ready prompts per direction (flat
81
+ vector language, one-color first, exact hexes only after form is
82
+ locked). Higgsfield MCP (`generate_image`) is the primary backend
83
+ when connected; any capable generator works from the same prompts.
84
+ 5. **Variations grid** — for the recommended direction: horizontal /
85
+ stacked / icon-only lockups, one-color, reversed, min sizes.
86
+ 6. **Usage guidelines** — clear space (in units of the mark), min size
87
+ px/mm, forbidden treatments (§4 motion bans apply to animated use).
27
88
 
28
89
  ## Output
29
90
 
30
- Logo concepts with rationale, variations, and usage guidelines
91
+ | Deliverable | Format |
92
+ |---|---|
93
+ | 3 concept directions | sketch + construction + rationale + self-test |
94
+ | Recommendation | winner + why the losers lost |
95
+ | Prompt set | engine-ready generation prompts per direction |
96
+ | Variations grid | lockups, one-color, reversed, min sizes |
97
+ | Usage guide | clear space, min size, forbidden treatments |
98
+
99
+ Saved to Obsidian under the project's Brand path; feeds
100
+ `brand/mockup-generate` for application scenes.
101
+
102
+ ## Examples
103
+
104
+ ```
105
+ /brand logo "CLI-first agent OS, precision + calm authority"
106
+ /brand logo "artisan coffee roaster, heat + patience as materials"
107
+ /brand logo "pediatric clinic, trust without infantilization"
108
+ ```
@@ -20,11 +20,90 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
20
20
  # Mockup — `/brand mockup <type>`
21
21
 
22
22
  > **Agent:** Isabel (Visual Designer) | **Framework:** AI Image Generation + Brand Application
23
+ > **Squad reference:** `departments/brand/references/uiux-knowledge-and-tools.md` (§3 tokens, §8 anti-default, §9 marker)
23
24
 
24
- ## What It Does
25
+ ## Load design intelligence (MANDATORY — excellence-mandate)
25
26
 
26
- Generate mockups: product, packaging, social, stationery with brand identity applied.
27
+ Do this BEFORE writing a single generation prompt, in this order, and
28
+ record what actually loaded:
29
+
30
+ 1. **`Skill(frontend-design)`** — anti-default doctrine: the subject's
31
+ own world (materials, instruments, vernacular) is where distinctive
32
+ scenes come from, not stock-photo tropes.
33
+ 2. **`Skill(ui-ux-pro-max)`** — palette/typography data to keep brand
34
+ fidelity checkable in the generated output.
35
+ 3. **Read the brand identity source** — brandbook, `design-system.yaml`,
36
+ or logo package; §3 of the squad reference as in-repo fallback. A
37
+ mockup without the real tokens is fan-art, not brand application.
38
+
39
+ ### Graceful degradation (honest, never silent)
40
+
41
+ If a plugin skill is NOT installed: say so explicitly, fall back to §3 +
42
+ §8 of the squad reference, and emit the marker with
43
+ `skills=degraded:<missing-name>`. Never claim a load that did not
44
+ happen; never proceed as if it had.
45
+
46
+ ## Benchmark first
47
+
48
+ NAME the reference company whose product/packaging photography this
49
+ mockup set should be judged against (Apple for product staging, Aesop
50
+ for material honesty, Notion for illustration-led social…), and state
51
+ what that company's design lead would reject in your current scenes.
52
+
53
+ ## Anti-default check
54
+
55
+ Generic mockup defaults: floating device on gradient, laptop-on-desk
56
+ with latte, gold-foil-on-black packaging. Use §8's self-test — *"would
57
+ this exact scene appear for any other brand?"* — and pull the scene from
58
+ the brand's actual world instead.
59
+
60
+ ## Design marker (before any file edit)
61
+
62
+ ```
63
+ [arka:design] benchmark=<Company> skills=<comma,list> tokens=<path|none>
64
+ ```
65
+
66
+ Emit on its own line BEFORE the first Write/Edit. Full contract: §9 of
67
+ the squad reference.
68
+
69
+ ## Workflow
70
+
71
+ 1. **KB + identity** — pull the real brand tokens (palette hexes, type,
72
+ logo variants, clear-space rules) and cite the source note.
73
+ 2. **Scene selection** — per requested type (product / packaging /
74
+ social / stationery), design 2–3 scenes rooted in the brand's world;
75
+ one sentence of rationale each.
76
+ 3. **Prompt engineering** — one generation prompt per scene specifying:
77
+ subject + environment, camera (focal length, angle), lighting setup,
78
+ material vernacular, exact brand hexes, logo placement + clear space,
79
+ aspect ratio per destination (1:1, 4:5, 16:9, 9:16), and negative
80
+ space reserved for copy. Name the intended engine — the Higgsfield
81
+ MCP (`generate_image`; `remove_background`/`upscale_image` for
82
+ post) is the primary backend when connected; any capable generator
83
+ works from the same prompt set.
84
+ 4. **Brand application rules** — for each scene: logo min-size,
85
+ clear space, color fidelity tolerance, type-in-image rules.
86
+ 5. **Fidelity pass** — after generation, check output against tokens
87
+ (palette drift, logo distortion, off-brand materials) and regenerate
88
+ or post-process what fails; state what was rejected and why.
27
89
 
28
90
  ## Output
29
91
 
30
- Mockup set with AI generation prompts and brand application guidelines
92
+ | Deliverable | Format |
93
+ |---|---|
94
+ | Scene set | 2–3 scenes per type with rationale |
95
+ | Prompt set | engine-ready prompts (subject/camera/light/brand tokens) |
96
+ | Application guide | logo, clear space, color fidelity, type rules |
97
+ | Fidelity report | what was rejected/regenerated and why |
98
+
99
+ Saved to Obsidian under the project's Brand path; images land in the
100
+ project's assets dir with the marker's `tokens=` naming their source.
101
+
102
+ ## Examples
103
+
104
+ ```
105
+ /brand mockup product # hero product shots in the brand's world
106
+ /brand mockup packaging # box/label scenes, material-honest
107
+ /brand mockup social # per-platform templates (1:1, 4:5, 9:16)
108
+ /brand mockup stationery # cards, letterhead, swag
109
+ ```
@@ -18,17 +18,79 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
18
18
  > Full doctrine: `arka/SKILL.md` (KB-First Research).
19
19
  <!-- arka:kb-first-prefix end -->
20
20
 
21
- # Ux Audit — `/brand ux-audit <url>`
21
+ # UX Audit — `/brand ux-audit <url>`
22
22
 
23
23
  > **Agent:** Sofia D. (UX Designer) | **Framework:** Nielsen 10 Heuristics + Laws of UX
24
+ > **Squad reference:** `departments/brand/references/uiux-knowledge-and-tools.md` (§3 tokens, §8 anti-default, §9 marker)
24
25
 
25
- ## What It Does
26
+ ## Load design intelligence (MANDATORY — excellence-mandate)
26
27
 
27
- UX heuristic audit: evaluate interface against Nielsen's 10 heuristics.
28
+ Do this BEFORE auditing, in this order, and record what actually loaded:
28
29
 
29
- ## Output
30
+ 1. **`Skill(ui-ux-pro-max)`** — the 99 UX guidelines are the audit's
31
+ extended checklist beyond Nielsen; cite guideline IDs in findings.
32
+ 2. **`Skill(frontend-design)`** — calibrates the visual-quality half of
33
+ findings (default-look detection is itself a finding: an interface
34
+ that reads as AI-default gets flagged under aesthetic integrity).
35
+ 3. **Read the project design system** — findings that violate the
36
+ project's own tokens rank higher than generic advice.
37
+
38
+ ### Graceful degradation (honest, never silent)
39
+
40
+ If a plugin skill is NOT installed: say so explicitly, fall back to §3 +
41
+ §8 of the squad reference, and emit the marker with
42
+ `skills=degraded:<missing-name>`. Never claim a load that did not
43
+ happen; never proceed as if it had.
44
+
45
+ ## Benchmark first
46
+
47
+ NAME the reference company this interface should be judged against for
48
+ its category (Linear for dashboards, Stripe for checkout/docs, Airbnb
49
+ for browse flows…). Every major finding states what the benchmark does
50
+ instead.
51
+
52
+ ## Design marker (before any file edit)
53
+
54
+ ```
55
+ [arka:design] benchmark=<Company> skills=<comma,list> tokens=<path|none>
56
+ ```
30
57
 
31
- Heuristic audit report with severity ratings and fix recommendations
58
+ Emit on its own line BEFORE writing the report. Full contract: §9 of the
59
+ squad reference.
60
+
61
+ ## The checklist (applied, not name-dropped)
62
+
63
+ **Nielsen's 10** — each scored per flow: (1) visibility of system
64
+ status; (2) match between system and real world; (3) user control and
65
+ freedom (undo/escape); (4) consistency and standards; (5) error
66
+ prevention; (6) recognition rather than recall; (7) flexibility and
67
+ efficiency (shortcuts, defaults); (8) aesthetic and minimalist design;
68
+ (9) help users recognize/recover from errors; (10) help and
69
+ documentation.
70
+
71
+ **Laws of UX (minimum set)** — Fitts (target size/distance), Hick
72
+ (choice overload), Jakob (convention violations), Miller (memory load),
73
+ Peak-End (how flows end), Aesthetic-Usability (and its trap).
74
+
75
+ **Severity scale** — 0 not a problem · 1 cosmetic · 2 minor · 3 major
76
+ (users fail or abandon) · 4 catastrophic (blocks the core job). Every
77
+ finding: heuristic/law violated, severity, evidence (screenshot),
78
+ benchmark contrast, concrete fix.
79
+
80
+ ## Workflow
81
+
82
+ 1. **Scope** — the 2–3 flows that carry the product's core job
83
+ (onboarding, core action, checkout/conversion).
84
+ 2. **Walk the flows in a real browser** (steps below), capturing
85
+ evidence screenshots per finding.
86
+ 3. **Score** every screen against the checklist; log findings as you go
87
+ — no memory-based auditing.
88
+ 4. **Accessibility pass** — keyboard-only run, focus visibility,
89
+ contrast (AA), `prefers-reduced-motion`, semantic landmarks.
90
+ 5. **Responsive pass** — 390 / 768 / 1440; layout integrity, target
91
+ sizes, content parity.
92
+ 6. **Report** — findings ranked by severity, quick-wins vs structural,
93
+ each with its fix and benchmark contrast.
32
94
 
33
95
  ## Browser Steps
34
96
 
@@ -46,6 +108,13 @@ Follow the [Computer Use Availability Check](/arka) for availability checking.
46
108
 
47
109
  - [COMPUTER] Launch the native app, test user flows, screenshot each screen for the audit report
48
110
 
111
+ ## Output
112
+
113
+ Heuristic audit report: severity-ranked findings (heuristic/law +
114
+ evidence screenshot + benchmark contrast + fix), accessibility and
115
+ responsive annexes, quick-win list. Saved to Obsidian under the
116
+ project's UX path.
117
+
49
118
  ## Scheduling ⏰
50
119
 
51
120
  ```
@@ -21,11 +21,83 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
21
21
  # Wireframe — `/brand wireframe <page>`
22
22
 
23
23
  > **Agent:** Sofia D. (UX Designer) | **Framework:** Garrett's 5 Planes + Information Architecture
24
+ > **Squad reference:** `departments/brand/references/uiux-knowledge-and-tools.md` (§3 tokens, §8 anti-default, §9 marker)
24
25
 
25
- ## What It Does
26
+ ## Load design intelligence (MANDATORY — excellence-mandate)
26
27
 
27
- Wireframe design: layout, navigation, content hierarchy, interaction notes.
28
+ Do this BEFORE sketching a single box, in this order, and record what
29
+ actually loaded:
30
+
31
+ 1. **`Skill(frontend-design)`** — anti-default doctrine: layout concepts
32
+ are compared as one-sentence prose + ASCII wireframes BEFORE choosing;
33
+ structure is information, not decoration.
34
+ 2. **`Skill(ui-ux-pro-max)`** — 99 UX guidelines and per-product-type
35
+ interface patterns; use them to pressure-test the information
36
+ architecture, not to pick a template.
37
+ 3. **Read the project design system** — grid, spacing scale, breakpoints
38
+ (`design-system.yaml` or §3 of the squad reference as fallback).
39
+
40
+ ### Graceful degradation (honest, never silent)
41
+
42
+ If a plugin skill is NOT installed: say so explicitly, fall back to §3 +
43
+ §8 of the squad reference, and emit the marker with
44
+ `skills=degraded:<missing-name>`. Never claim a load that did not
45
+ happen; never proceed as if it had.
46
+
47
+ ## Benchmark first
48
+
49
+ NAME the reference company whose information density and hierarchy this
50
+ page should be judged against (Linear for ruthless density, Stripe for
51
+ progressive disclosure, Notion for flexible blocks…), and state what
52
+ that company's design lead would reject in your current structure.
53
+
54
+ ## Anti-default check
55
+
56
+ The wireframe stage is where the broadsheet default (§8) sneaks in —
57
+ numbered markers (01/02/03), hero-with-big-number-and-gradient, dense
58
+ hairline columns. Use a structural device ONLY if it encodes something
59
+ true about the content (a real sequence, a real timeline). Self-test:
60
+ *"would this exact structure appear for any other brief?"*
61
+
62
+ ## Design marker (before any file edit)
63
+
64
+ ```
65
+ [arka:design] benchmark=<Company> skills=<comma,list> tokens=<path|none>
66
+ ```
67
+
68
+ Emit on its own line BEFORE the first Write/Edit. Full contract: §9 of
69
+ the squad reference.
70
+
71
+ ## Workflow (Garrett's 5 Planes, applied)
72
+
73
+ 1. **Strategy** — one sentence: the page's single job and its audience.
74
+ If the brief doesn't pin these, pin them yourself and say so.
75
+ 2. **Scope** — content inventory: every element that must exist, ranked
76
+ by the user's need (not the org chart's pride).
77
+ 3. **Structure** — user flows in/out of the page; navigation model;
78
+ where each ranked element lives. State the ONE thing a first-time
79
+ visitor must understand in 5 seconds.
80
+ 4. **Skeleton** — ASCII wireframes at TWO breakpoints minimum (desktop
81
+ ~1440, mobile ~390), exploring at least TWO structurally different
82
+ layout concepts with a one-sentence rationale each; pick one and say
83
+ why the loser lost.
84
+ 5. **Surface handoff** — annotate: interaction notes (hover, focus,
85
+ empty, error, loading states), component references (map every region
86
+ to a design-system component or flag it as NEW), responsive behavior
87
+ per region, and the intended signature element's location.
28
88
 
29
89
  ## Output
30
90
 
31
- Wireframe spec with annotations, component references, and responsive notes
91
+ An annotated wireframe spec:
92
+
93
+ | Section | Content |
94
+ |---|---|
95
+ | Strategy line | page job + audience + 5-second takeaway |
96
+ | Content inventory | ranked element list |
97
+ | ASCII wireframes | ≥2 concepts × 2 breakpoints, winner + rationale |
98
+ | Annotations | interaction states, component refs, responsive notes |
99
+ | Signature | where the one memorable element lives and why |
100
+
101
+ Saved to Obsidian under the project's Brand/UX path; consumed by
102
+ `brand/mockup-generate` and `dev` implementation with the marker's
103
+ `tokens=` pointing at the same design system.