kynjal-cli 4.0.2 → 4.0.4
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/.claude/agents/design/accessibility-auditor.md +308 -0
- package/.claude/agents/design/design-architect.md +208 -0
- package/.claude/agents/design/ui-developer.md +373 -0
- package/.claude/agents/design/ux-researcher.md +212 -0
- package/.claude/helpers/router.cjs +64 -0
- package/.claude/helpers/statusline.cjs +4 -4
- package/.claude/skills/ui-ux-pro-max/SKILL.md +106 -0
- package/dist/src/init/statusline-generator.d.ts +1 -1
- package/dist/src/init/statusline-generator.js +4 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "UI UX Pro Max"
|
|
3
|
+
description: "UI/UX design intelligence for web and mobile. Includes 67 styles, 161 color palettes, 57 font pairings, 161 product types, 99 UX guidelines, and 25 chart types. Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor UI/UX code. Projects: website, landing page, dashboard, SaaS, mobile app. Styles: glassmorphism, brutalism, neumorphism, bento grid, dark mode. Topics: color systems, accessibility, animation, typography, font pairing, spacing."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# UI UX Pro Max
|
|
7
|
+
|
|
8
|
+
## What This Skill Does
|
|
9
|
+
|
|
10
|
+
Provides design intelligence via a BM25 search engine across 12 domains of UI/UX knowledge. Used by the design agent swarm (design-architect, ux-researcher, ui-developer, accessibility-auditor) to research styles, generate design systems, and validate accessibility.
|
|
11
|
+
|
|
12
|
+
## Prerequisites
|
|
13
|
+
|
|
14
|
+
- UI UX Pro Max plugin installed: `/plugin marketplace add nextlevelbuilder/ui-ux-pro-max-skill && /plugin install ui-ux-pro-max@ui-ux-pro-max-skill`
|
|
15
|
+
- Python 3 (for search scripts)
|
|
16
|
+
- Design agents category enabled in kynjalflow init
|
|
17
|
+
|
|
18
|
+
## Quick Start
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
# Search by domain
|
|
22
|
+
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "glassmorphism" --domain style
|
|
23
|
+
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "fintech premium" --domain color
|
|
24
|
+
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "modern elegant" --domain typography
|
|
25
|
+
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "SaaS dashboard" --domain product
|
|
26
|
+
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "touch targets" --domain ux
|
|
27
|
+
|
|
28
|
+
# Generate a full design system
|
|
29
|
+
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "fintech premium" --design-system -p "MyApp"
|
|
30
|
+
|
|
31
|
+
# Persist to files (creates MASTER.md + page overrides)
|
|
32
|
+
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "fintech premium" --design-system --persist -p "MyApp"
|
|
33
|
+
|
|
34
|
+
# Generate page-specific overrides
|
|
35
|
+
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "dashboard analytics" --design-system --persist -p "MyApp" --page dashboard
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Available Domains
|
|
39
|
+
|
|
40
|
+
| Domain | Records | Description |
|
|
41
|
+
|--------|---------|-------------|
|
|
42
|
+
| `style` | 67 | UI styles (glassmorphism, brutalism, etc.) |
|
|
43
|
+
| `color` | 161 | Color palettes by industry/mood |
|
|
44
|
+
| `typography` | 57 | Font pairings with Google Fonts |
|
|
45
|
+
| `product` | 161 | Product type patterns |
|
|
46
|
+
| `ux` | 99 | UX guidelines and rules |
|
|
47
|
+
| `landing` | 24 | Landing page patterns |
|
|
48
|
+
| `chart` | 25 | Chart type recommendations |
|
|
49
|
+
| `google-fonts` | Full DB | Google Fonts database |
|
|
50
|
+
| `icons` | Varies | Icon recommendations |
|
|
51
|
+
| `react` | Varies | React performance rules |
|
|
52
|
+
| `web` | Varies | Web app interface guidelines |
|
|
53
|
+
|
|
54
|
+
## Design System Output
|
|
55
|
+
|
|
56
|
+
When using `--persist`, creates:
|
|
57
|
+
```
|
|
58
|
+
design-system/<project>/
|
|
59
|
+
├── MASTER.md # Global rules: colors, typography, spacing, components
|
|
60
|
+
└── pages/
|
|
61
|
+
└── <page>.md # Page-specific overrides (only deviations)
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
**Hierarchy:** Page overrides > MASTER.md rules.
|
|
65
|
+
|
|
66
|
+
## Priority Rules
|
|
67
|
+
|
|
68
|
+
| Priority | Category | Key Rules |
|
|
69
|
+
|----------|----------|-----------|
|
|
70
|
+
| P1 CRITICAL | Accessibility | 4.5:1 contrast, focus rings, alt text, aria-labels, keyboard nav |
|
|
71
|
+
| P2 CRITICAL | Touch | 44×44pt (iOS) / 48×48dp (Android) targets, 8px spacing |
|
|
72
|
+
| P3 HIGH | Typography | 16px min body, modular scale, max 2 font families |
|
|
73
|
+
| P4 HIGH | Color | CSS tokens only (never hardcoded hex), semantic naming |
|
|
74
|
+
| P5 HIGH | Icons | SVG only (never emoji), Lucide React or Heroicons |
|
|
75
|
+
| P6 MEDIUM | Spacing | 4px base grid, consistent padding/margins |
|
|
76
|
+
| P7 MEDIUM | Motion | 150-300ms transitions, respect prefers-reduced-motion |
|
|
77
|
+
| P8 MEDIUM | Responsive | Mobile-first, breakpoints: 375/768/1024/1440 |
|
|
78
|
+
| P9 LOW | Dark Mode | CSS custom properties, system preference detection |
|
|
79
|
+
| P10 LOW | Charts | Match chart type to data relationship |
|
|
80
|
+
|
|
81
|
+
## Anti-Patterns (Never Do)
|
|
82
|
+
|
|
83
|
+
- Hardcoded hex values — use CSS tokens: `var(--color-primary)`
|
|
84
|
+
- Emoji as icons — use SVG icon libraries
|
|
85
|
+
- Touch targets < 44px — minimum 44×44px clickable area
|
|
86
|
+
- Contrast < 4.5:1 — WCAG AA minimum for normal text
|
|
87
|
+
- Missing focus states — visible focus rings on ALL interactive elements
|
|
88
|
+
- Color as only indicator — never convey info by color alone
|
|
89
|
+
|
|
90
|
+
## Design Agent Swarm
|
|
91
|
+
|
|
92
|
+
This skill is used by the design agent category:
|
|
93
|
+
|
|
94
|
+
| Agent | Role | Uses This Skill For |
|
|
95
|
+
|-------|------|-------------------|
|
|
96
|
+
| **design-architect** | Coordinator | Design system generation, page overrides |
|
|
97
|
+
| **ux-researcher** | Research | Multi-domain searches across all 12 domains |
|
|
98
|
+
| **ui-developer** | Implementation | Reading MASTER.md tokens, component specs |
|
|
99
|
+
| **accessibility-auditor** | Validation | UX domain searches for WCAG guidelines |
|
|
100
|
+
|
|
101
|
+
## Stack Preferences
|
|
102
|
+
|
|
103
|
+
- **Web:** React/Next.js + Tailwind CSS + shadcn/ui
|
|
104
|
+
- **Mobile:** React Native with @expo/vector-icons
|
|
105
|
+
- **Styling:** CSS custom properties for design tokens
|
|
106
|
+
- **Icons:** Lucide React (web), @expo/vector-icons (mobile)
|
|
@@ -13,7 +13,7 @@ import type { InitOptions } from './types.js';
|
|
|
13
13
|
/**
|
|
14
14
|
* Generate optimized statusline script
|
|
15
15
|
* Output format:
|
|
16
|
-
* ▊
|
|
16
|
+
* ▊ KynjalFlow ● user │ ⎇ branch │ Opus 4.6 (1M context)
|
|
17
17
|
* ─────────────────────────────────────────────────────
|
|
18
18
|
* 🏗️ DDD Domains [●●○○○] 2/5 ⚡ HNSW 150x
|
|
19
19
|
* 🤖 Swarm ◉ [ 5/15] 👥 2 🪝 10/17 🟢 CVE 3/3 💾 4MB 🧠 63%
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
/**
|
|
13
13
|
* Generate optimized statusline script
|
|
14
14
|
* Output format:
|
|
15
|
-
* ▊
|
|
15
|
+
* ▊ KynjalFlow ● user │ ⎇ branch │ Opus 4.6 (1M context)
|
|
16
16
|
* ─────────────────────────────────────────────────────
|
|
17
17
|
* 🏗️ DDD Domains [●●○○○] 2/5 ⚡ HNSW 150x
|
|
18
18
|
* 🤖 Swarm ◉ [ 5/15] 👥 2 🪝 10/17 🟢 CVE 3/3 💾 4MB 🧠 63%
|
|
@@ -23,7 +23,7 @@ export function generateStatuslineScript(options) {
|
|
|
23
23
|
const maxAgents = options.runtime.maxAgents;
|
|
24
24
|
return `#!/usr/bin/env node
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* KynjalFlow Statusline Generator (Optimized)
|
|
27
27
|
* Displays real-time V3 implementation progress and system status
|
|
28
28
|
*
|
|
29
29
|
* Usage: node statusline.cjs [--json] [--compact]
|
|
@@ -594,7 +594,7 @@ function generateStatusline() {
|
|
|
594
594
|
const lines = [];
|
|
595
595
|
|
|
596
596
|
// Header
|
|
597
|
-
let header = c.bold + c.brightPurple + '\\u258A
|
|
597
|
+
let header = c.bold + c.brightPurple + '\\u258A KynjalFlow ' + c.reset;
|
|
598
598
|
header += (swarm.coordinationActive ? c.brightCyan : c.dim) + '\\u25CF ' + c.brightCyan + git.name + c.reset;
|
|
599
599
|
if (git.gitBranch) {
|
|
600
600
|
header += ' ' + c.dim + '\\u2502' + c.reset + ' ' + c.brightBlue + '\\u23C7 ' + git.gitBranch + c.reset;
|
|
@@ -805,7 +805,7 @@ export function generateStatuslineHook(options) {
|
|
|
805
805
|
return '#!/bin/bash\n# Statusline disabled\n';
|
|
806
806
|
}
|
|
807
807
|
return `#!/bin/bash
|
|
808
|
-
#
|
|
808
|
+
# KynjalFlow Statusline Hook
|
|
809
809
|
# Source this in your .bashrc/.zshrc for terminal statusline
|
|
810
810
|
|
|
811
811
|
# Function to get statusline
|