@equal-experts/kuat-react 0.13.1 → 0.14.0-beta.1
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/README.md +49 -49
- package/agent-docs/AGENTS.md +2 -2
- package/agent-docs/README.md +1 -1
- package/agent-docs/bundle-manifest.json +12 -20
- package/agent-docs/components/components.manifest.json +3 -0
- package/agent-docs/external/kuat-agent-rules/reference/accessibility/README.md +7 -0
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/foundations → reference/accessibility}/accessibility.md +12 -10
- package/agent-docs/external/kuat-agent-rules/reference/brand/README.md +9 -0
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/foundations → reference/brand}/brand.md +21 -11
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/foundations → reference/brand}/logo.md +5 -4
- package/agent-docs/external/kuat-agent-rules/reference/brand/voice-and-tone.md +166 -0
- package/agent-docs/external/kuat-agent-rules/reference/content/README.md +12 -0
- package/agent-docs/external/kuat-agent-rules/reference/content/formatting.md +120 -0
- package/agent-docs/external/kuat-agent-rules/reference/content/numbers.md +87 -0
- package/agent-docs/external/kuat-agent-rules/reference/content/punctuation.md +94 -0
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/foundations → reference}/content/writing-style.md +7 -2
- package/agent-docs/external/kuat-agent-rules/reference/design-language/README.md +11 -0
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/foundations/design → reference/design-language}/borders.md +3 -2
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/foundations/design → reference/design-language}/colours.md +38 -10
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/foundations/design → reference/design-language}/design-language.md +11 -10
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/foundations/design → reference/design-language}/spacing.md +4 -3
- package/agent-docs/external/kuat-agent-rules/reference/design-language/tokens/README.md +29 -0
- package/agent-docs/external/kuat-agent-rules/reference/design-language/tokens/colors.tokens.json +84 -0
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/foundations/design → reference/design-language}/typography.md +5 -4
- package/agent-docs/external/kuat-agent-rules/reference/media-types/web-marketing/README.md +10 -0
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/marketing → reference/media-types/web-marketing}/content/README.md +2 -2
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/marketing → reference/media-types/web-marketing}/content/blog-posts.md +1 -5
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/marketing → reference/media-types/web-marketing}/content/marketing-content.md +2 -6
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/marketing → reference/media-types/web-marketing}/content/seo.md +2 -6
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/marketing → reference/media-types/web-marketing}/emails.md +3 -9
- package/agent-docs/external/kuat-agent-rules/reference/media-types/web-marketing/patterns/README.md +7 -0
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/marketing/scenarios → reference/media-types/web-marketing/patterns}/marketing-pages.md +3 -3
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/marketing → reference/media-types/web-marketing}/website.md +7 -22
- package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/README.md +16 -0
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/accessibility.md +2 -12
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/component-decision-tree.md +3 -18
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/component-registry.md +3 -22
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/content/README.md +2 -2
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/content/actions.md +1 -7
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/content/confirmations.md +0 -6
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/content/empty-states.md +0 -6
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/content/errors.md +0 -6
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/content/forms.md +1 -7
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/content/product-content.md +1 -11
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/design.md +6 -36
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/emails.md +3 -9
- package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/patterns/README.md +10 -0
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product/scenarios → reference/media-types/web-product/patterns}/authentication.md +3 -3
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product/scenarios → reference/media-types/web-product/patterns}/dashboards.md +2 -2
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product/scenarios → reference/media-types/web-product/patterns}/documentation.md +3 -3
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product/scenarios → reference/media-types/web-product/patterns}/forms.md +3 -3
- package/agent-docs/kuat-docs/rules/README.md +37 -30
- package/agent-docs/kuat-docs/rules/design/layouts.md +1 -1
- package/agent-docs/kuat-docs/rules/scenarios/README.md +1 -1
- package/agent-docs/manifest.json +3 -3
- package/agent-docs/rules/LOADING-consumer.md +5 -5
- package/dist/components/ui/carousel/carousel.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/LOADING.md +0 -166
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/README.md +0 -28
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/formatting.md +0 -93
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/numbers.md +0 -69
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/punctuation.md +0 -75
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/voice-and-tone.md +0 -263
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/README.md +0 -28
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/scenarios/README.md +0 -18
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/DEPRECATIONS.md +0 -28
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/README.md +0 -65
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/review-checklist.md +0 -57
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/review-context.md +0 -44
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/README.md +0 -82
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/technical.md +0 -488
package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/voice-and-tone.md
DELETED
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
# Voice and Tone
|
|
2
|
-
|
|
3
|
-
Universal voice and tone for Equal Experts content. Applies to all platforms and media. Read this before any platform-specific content guide.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Overview
|
|
8
|
-
|
|
9
|
-
These guidelines ensure consistent voice and tone across all Equal Experts communications, regardless of platform or medium.
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
## Quick Reference
|
|
14
|
-
|
|
15
|
-
**Always:**
|
|
16
|
-
- Be clear and direct
|
|
17
|
-
- Focus on audience needs
|
|
18
|
-
- Use plain language
|
|
19
|
-
- Be specific, not vague
|
|
20
|
-
|
|
21
|
-
**Never:**
|
|
22
|
-
- Use "revolutionize", "transform", "disrupt" without specific evidence
|
|
23
|
-
- Hide behind jargon
|
|
24
|
-
- Speak down to audience
|
|
25
|
-
- Be vague or ambiguous
|
|
26
|
-
|
|
27
|
-
---
|
|
28
|
-
|
|
29
|
-
## Content Voice and Tone
|
|
30
|
-
|
|
31
|
-
### Universal Principles
|
|
32
|
-
|
|
33
|
-
#### Clear and Direct
|
|
34
|
-
- Get to the point quickly
|
|
35
|
-
- Use plain language
|
|
36
|
-
- Avoid unnecessary words
|
|
37
|
-
- Be specific, not vague
|
|
38
|
-
|
|
39
|
-
#### Helpful and Respectful
|
|
40
|
-
- Anticipate audience needs
|
|
41
|
-
- Provide guidance when needed
|
|
42
|
-
- Respect audience's time and intelligence
|
|
43
|
-
- Never talk down to people
|
|
44
|
-
|
|
45
|
-
#### Confident but Humble
|
|
46
|
-
- Show expertise through clarity
|
|
47
|
-
- Admit when something isn't available
|
|
48
|
-
- Provide alternatives when possible
|
|
49
|
-
- Build trust through honesty
|
|
50
|
-
|
|
51
|
-
#### Consistent and Predictable
|
|
52
|
-
- Use the same terms for the same concepts
|
|
53
|
-
- Follow established patterns
|
|
54
|
-
- Maintain consistent tone across touchpoints
|
|
55
|
-
- Set clear expectations
|
|
56
|
-
|
|
57
|
-
---
|
|
58
|
-
|
|
59
|
-
## Content Principles
|
|
60
|
-
|
|
61
|
-
### 1. Audience-First Thinking
|
|
62
|
-
|
|
63
|
-
Before creating content, define:
|
|
64
|
-
- The specific aim
|
|
65
|
-
- The target audience
|
|
66
|
-
- How it helps the audience achieve their goals
|
|
67
|
-
- What question it answers
|
|
68
|
-
|
|
69
|
-
### 2. Clarity Over Cleverness
|
|
70
|
-
|
|
71
|
-
Prioritize:
|
|
72
|
-
- Clear communication
|
|
73
|
-
- Easy comprehension
|
|
74
|
-
- Quick understanding
|
|
75
|
-
|
|
76
|
-
Avoid:
|
|
77
|
-
- Clever wordplay that obscures meaning
|
|
78
|
-
- Jokes that might confuse
|
|
79
|
-
- Metaphors that require explanation
|
|
80
|
-
- Industry jargon without context
|
|
81
|
-
|
|
82
|
-
### 3. Be Clear and Concise
|
|
83
|
-
|
|
84
|
-
- Use plain English where possible
|
|
85
|
-
- Don't use 10 words when 3 will do
|
|
86
|
-
- Avoid jargon-laden complexity
|
|
87
|
-
- Give yourself the best chance of being read and understood
|
|
88
|
-
|
|
89
|
-
### 4. Consistency Matters
|
|
90
|
-
|
|
91
|
-
- Use the same terms for the same concepts
|
|
92
|
-
- Follow established patterns
|
|
93
|
-
- Maintain consistent tone
|
|
94
|
-
- Set clear expectations
|
|
95
|
-
|
|
96
|
-
### 5. Test, Iterate and Learn
|
|
97
|
-
|
|
98
|
-
Test new content, improve based on feedback, share learnings across the team.
|
|
99
|
-
|
|
100
|
-
---
|
|
101
|
-
|
|
102
|
-
## Audience Considerations
|
|
103
|
-
|
|
104
|
-
### Technical Audiences (Developers, Engineers)
|
|
105
|
-
|
|
106
|
-
**Tone:** Pragmatic, evidence-based, respectful of expertise
|
|
107
|
-
|
|
108
|
-
**Use:**
|
|
109
|
-
- Specific technical details
|
|
110
|
-
- Code examples and practical patterns
|
|
111
|
-
- Trade-offs and architectural decisions
|
|
112
|
-
|
|
113
|
-
**Avoid:**
|
|
114
|
-
- Over-simplification
|
|
115
|
-
- Buzzwords without substance
|
|
116
|
-
- Marketing language
|
|
117
|
-
|
|
118
|
-
### Business Stakeholders (Product Owners, Leaders)
|
|
119
|
-
|
|
120
|
-
**Tone:** Outcome-focused, clear, strategic
|
|
121
|
-
|
|
122
|
-
**Use:**
|
|
123
|
-
- Business metrics and outcomes
|
|
124
|
-
- Efficiency gains and ROI
|
|
125
|
-
- Impact statements
|
|
126
|
-
|
|
127
|
-
**Avoid:**
|
|
128
|
-
- Deep technical detail without context
|
|
129
|
-
- Acronyms without explanation
|
|
130
|
-
- Technology for technology's sake
|
|
131
|
-
|
|
132
|
-
### General Audiences
|
|
133
|
-
|
|
134
|
-
**Tone:** Helpful, clear, accessible
|
|
135
|
-
|
|
136
|
-
**Use:**
|
|
137
|
-
- Plain language
|
|
138
|
-
- Clear explanations
|
|
139
|
-
- Practical examples
|
|
140
|
-
|
|
141
|
-
**Avoid:**
|
|
142
|
-
- Any unnecessary words
|
|
143
|
-
- Corporate speak
|
|
144
|
-
- Jargon or technical terms
|
|
145
|
-
|
|
146
|
-
---
|
|
147
|
-
|
|
148
|
-
## Common Anti-Patterns
|
|
149
|
-
|
|
150
|
-
### Buzzword Bingo
|
|
151
|
-
Using trendy terminology without substance.
|
|
152
|
-
|
|
153
|
-
❌ "Leveraging synergistic blockchain-enabled AI solutions"
|
|
154
|
-
✅ "We automated invoice processing using existing APIs"
|
|
155
|
-
|
|
156
|
-
### Feature Dump
|
|
157
|
-
Listing features without context or benefit.
|
|
158
|
-
|
|
159
|
-
❌ "Features: Dashboard, Reports, Analytics, Integrations"
|
|
160
|
-
✅ "The dashboard surfaces the three metrics teams check daily"
|
|
161
|
-
|
|
162
|
-
### Vague Promise
|
|
163
|
-
Making claims without evidence or specifics.
|
|
164
|
-
|
|
165
|
-
❌ "We'll dramatically improve your performance"
|
|
166
|
-
✅ "Teams typically see 40-60% reduction in deployment time"
|
|
167
|
-
|
|
168
|
-
### Over-Explanation
|
|
169
|
-
Explaining things that don't need explanation.
|
|
170
|
-
|
|
171
|
-
❌ "Click the button below to continue to the next screen"
|
|
172
|
-
✅ [Continue]
|
|
173
|
-
|
|
174
|
-
---
|
|
175
|
-
|
|
176
|
-
## Content Quality Checklist
|
|
177
|
-
|
|
178
|
-
### The Clarity Test
|
|
179
|
-
Can it be understood in 30 seconds of skimming?
|
|
180
|
-
|
|
181
|
-
### The Purpose Test
|
|
182
|
-
Does this answer a specific question or solve a problem?
|
|
183
|
-
|
|
184
|
-
### The Consistency Test
|
|
185
|
-
Does it use consistent terminology and follow established patterns?
|
|
186
|
-
|
|
187
|
-
### The Audience Test
|
|
188
|
-
Is this appropriate for the intended audience?
|
|
189
|
-
|
|
190
|
-
### The Accessibility Test
|
|
191
|
-
Does it work for all people, including those using assistive technologies?
|
|
192
|
-
|
|
193
|
-
---
|
|
194
|
-
|
|
195
|
-
## Tone Adaptation Guide
|
|
196
|
-
|
|
197
|
-
### For Seriousness Levels
|
|
198
|
-
|
|
199
|
-
**Standard:** Friendly, approachable, professional
|
|
200
|
-
**High Stakes:** Serious, direct, solution-focused
|
|
201
|
-
**Celebratory:** Warm, enthusiastic, appreciative
|
|
202
|
-
**Difficult News:** Empathetic, honest, supportive
|
|
203
|
-
|
|
204
|
-
---
|
|
205
|
-
|
|
206
|
-
## For AI Content Generation
|
|
207
|
-
|
|
208
|
-
### Before Generating
|
|
209
|
-
|
|
210
|
-
Confirm:
|
|
211
|
-
1. **Content type** - What format?
|
|
212
|
-
2. **Audience** - Who will read this?
|
|
213
|
-
3. **Purpose** - What outcome does this serve?
|
|
214
|
-
4. **Context** - Do you have enough information?
|
|
215
|
-
|
|
216
|
-
**If unclear, ask clarifying questions.**
|
|
217
|
-
|
|
218
|
-
### While Generating
|
|
219
|
-
|
|
220
|
-
**Do:**
|
|
221
|
-
- Use specific examples
|
|
222
|
-
- Include evidence when claiming results
|
|
223
|
-
- Default to plain English
|
|
224
|
-
- Apply appropriate tone for audience
|
|
225
|
-
|
|
226
|
-
**Don't:**
|
|
227
|
-
- Generate generic content
|
|
228
|
-
- Make claims without evidence
|
|
229
|
-
- Use "revolutionize", "transform", "disrupt" without proof
|
|
230
|
-
- Write like typical AI-generated content
|
|
231
|
-
|
|
232
|
-
### After Generating
|
|
233
|
-
|
|
234
|
-
Apply quality tests:
|
|
235
|
-
1. Clarity Test
|
|
236
|
-
2. Purpose Test
|
|
237
|
-
3. Consistency Test
|
|
238
|
-
4. Audience Test
|
|
239
|
-
5. Accessibility Test
|
|
240
|
-
|
|
241
|
-
**Red flags:**
|
|
242
|
-
- Generic phrases applicable to any context
|
|
243
|
-
- Lack of specific examples
|
|
244
|
-
- Over-use of buzzwords
|
|
245
|
-
- Tone mismatch with audience
|
|
246
|
-
|
|
247
|
-
---
|
|
248
|
-
|
|
249
|
-
## Platform-Specific Content
|
|
250
|
-
|
|
251
|
-
For platform-specific content guidance:
|
|
252
|
-
|
|
253
|
-
- **Web Marketing** - See [types/web/marketing/](../../types/web/marketing/)
|
|
254
|
-
- **Web Product** - See [types/web/product/](../../types/web/product/)
|
|
255
|
-
- **Slides** - See [types/slides/](../../types/slides/)
|
|
256
|
-
|
|
257
|
-
---
|
|
258
|
-
|
|
259
|
-
## Related Documentation
|
|
260
|
-
|
|
261
|
-
- [Brand Guidelines](../brand.md) - Brand voice and values
|
|
262
|
-
- [Writing style](./writing-style.md) - Active voice, plain language, conventions
|
|
263
|
-
- [Design](../design/README.md) - Visual design principles
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Design Rules
|
|
2
|
-
|
|
3
|
-
Visual design tokens and principles for Equal Experts. Apply across all platforms (web, slides, graphics, photography).
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Overview
|
|
8
|
-
|
|
9
|
-
These rules define the design language: colours, typography, spacing, borders, and high-level design principles. Load with [foundations brand and logo](../brand.md) and [foundations content](../content/) as needed.
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
## Files
|
|
14
|
-
|
|
15
|
-
| File | Description |
|
|
16
|
-
|------|-------------|
|
|
17
|
-
| [design-language.md](./design-language.md) | Design principles and token overview |
|
|
18
|
-
| [colours.md](./colours.md) | Brand colour palette and usage |
|
|
19
|
-
| [typography.md](./typography.md) | Fonts and type scale |
|
|
20
|
-
| [spacing.md](./spacing.md) | Spacing system |
|
|
21
|
-
| [borders.md](./borders.md) | Border philosophy and specifications |
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
## Related
|
|
26
|
-
|
|
27
|
-
- [Foundations](../README.md) – Brand, logo, accessibility
|
|
28
|
-
- [Content](../content/README.md) – Writing and style
|
package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/scenarios/README.md
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# Marketing Scenarios
|
|
2
|
-
|
|
3
|
-
Applied layout and design patterns for marketing website page types.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Available Scenarios
|
|
8
|
-
|
|
9
|
-
| Scenario | Use For | Base Layout |
|
|
10
|
-
|----------|---------|-------------|
|
|
11
|
-
| [marketing-pages.md](./marketing-pages.md) | Landing pages, pricing, features, case studies | Horizontal Navigation |
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
## Related Documentation
|
|
16
|
-
|
|
17
|
-
- [Marketing Website](../website.md) - Marketing website guidelines
|
|
18
|
-
- [Foundations Accessibility](../../../../foundations/accessibility.md) - Accessibility principles
|
package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/DEPRECATIONS.md
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Web product — deprecations
|
|
2
|
-
|
|
3
|
-
Assets superseded by package/overlay component guides and consumption architecture.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
| Asset | Status | Replacement |
|
|
8
|
-
|-------|--------|-------------|
|
|
9
|
-
| [examples/react/components.md](./examples/react/components.md) | Deprecated | `shadcn:button` etc. → package `agent-docs/components/{slug}.md` |
|
|
10
|
-
| [examples/vue/components.md](./examples/vue/components.md) | Deprecated | Same |
|
|
11
|
-
| Full CVA source listings in examples | Deprecated | [component-registry.md](./component-registry.md) + overlay docs |
|
|
12
|
-
| Duplicate consumer setup in [technical.md](./technical.md) | Trimmed | Package README + `agent-docs/AGENTS.md` |
|
|
13
|
-
| [kuat-docs/.tmp/documentation-agent.md](../../../.tmp/documentation-agent.md) | Moved | `kuat-mono/contribution-docs/component-documentation-agent.md` (mono plan) |
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
## Examples directory policy
|
|
18
|
-
|
|
19
|
-
[examples/](./examples/) remains for **create** sessions as illustrative token/layout syntax. Do **not** treat example component source as canonical API.
|
|
20
|
-
|
|
21
|
-
Load [examples/README.md](./examples/README.md) for scope. Prefer component IDs when generating UI.
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
## Related
|
|
26
|
-
|
|
27
|
-
- [component-registry.md](./component-registry.md)
|
|
28
|
-
- [consumption-architecture.md](../../../../setup/consumption-architecture.md)
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# Web product rules
|
|
2
|
-
|
|
3
|
-
Guidelines for Equal Experts web applications, dashboards, internal tools, and product emails.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
**Prerequisites:** Load [foundations](../../../foundations/) first.
|
|
8
|
-
|
|
9
|
-
**Architecture:** [consumption-architecture.md](../../../../setup/consumption-architecture.md) — entry points and package bundling.
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
## Core files
|
|
14
|
-
|
|
15
|
-
| File | Purpose |
|
|
16
|
-
|------|---------|
|
|
17
|
-
| [design.md](./design.md) | Layout, navigation, product visual patterns |
|
|
18
|
-
| [accessibility.md](./accessibility.md) | Product accessibility requirements |
|
|
19
|
-
| [technical.md](./technical.md) | Stack, tokens, integration (summary; consumer setup in package README) |
|
|
20
|
-
| [component-decision-tree.md](./component-decision-tree.md) | Which component source to use (Blocks → Kuat → shadcn → custom) |
|
|
21
|
-
| [component-registry.md](./component-registry.md) | Stable component IDs → overlay/package docs |
|
|
22
|
-
| [review-context.md](./review-context.md) | Product context for review at `product_ux` / `full` depth |
|
|
23
|
-
| [review-checklist.md](./review-checklist.md) | Review checklist |
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
## Subdirectories
|
|
28
|
-
|
|
29
|
-
| Directory | Purpose |
|
|
30
|
-
|-----------|---------|
|
|
31
|
-
| [content/](./content/) | UX copy (actions, errors, forms, confirmations) |
|
|
32
|
-
| [scenarios/](./scenarios/) | Page-type patterns (auth, forms, dashboards, documentation) |
|
|
33
|
-
| [examples/](./examples/) | Framework code samples — **create only**; see [DEPRECATIONS.md](./DEPRECATIONS.md) |
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## Component-level guides
|
|
38
|
-
|
|
39
|
-
Per-component usage, variants, API, and accessibility behaviour live in the **implementation overlay** or **npm package** `agent-docs/components/`, not in this upstream tree.
|
|
40
|
-
|
|
41
|
-
1. Look up the ID in [component-registry.md](./component-registry.md).
|
|
42
|
-
2. Resolve `components/{slug}.md` via `components.manifest.json` in:
|
|
43
|
-
- `node_modules/@equal-experts/kuat-react/agent-docs/`, or
|
|
44
|
-
- `KUAT_RULES_OVERLAY_PATH` (e.g. `kuat-mono/kuat-docs/`).
|
|
45
|
-
|
|
46
|
-
Upstream scenarios cite IDs (e.g. `shadcn:button`) — load the matching component doc when implementing or reviewing that primitive.
|
|
47
|
-
|
|
48
|
-
---
|
|
49
|
-
|
|
50
|
-
## LOADING summary
|
|
51
|
-
|
|
52
|
-
| Intent | Load |
|
|
53
|
-
|--------|------|
|
|
54
|
-
| **review** | design, accessibility, component-decision-tree, review-context, review-checklist + relevant scenario; skip `examples/` |
|
|
55
|
-
| **create** | Above + scenarios/content as needed + `examples/` when generating code |
|
|
56
|
-
|
|
57
|
-
Full index: [LOADING.md](../../../LOADING.md).
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
|
-
## Related
|
|
62
|
-
|
|
63
|
-
- [Web rules parent](../README.md)
|
|
64
|
-
- [consumption-architecture.md](../../../../setup/consumption-architecture.md)
|
|
65
|
-
- [DEPRECATIONS.md](./DEPRECATIONS.md)
|
package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/review-checklist.md
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# Web Product — Review Checklist
|
|
2
|
-
|
|
3
|
-
Use for **review** intent at any depth. Pair with [review-context.md](./review-context.md) when depth is `product_ux` or `full`.
|
|
4
|
-
|
|
5
|
-
**See also:** [design.md](./design.md), [accessibility.md](./accessibility.md), [component-decision-tree.md](./component-decision-tree.md), [kuat-review](../../../../skills/kuat-review/SKILL.md).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## Brand compliance (all depths)
|
|
10
|
-
|
|
11
|
-
- [ ] Colours from approved palette / semantic tokens — no arbitrary hex in UI
|
|
12
|
-
- [ ] Typography uses defined scale (Lexend, type roles)
|
|
13
|
-
- [ ] Spacing follows 4px grid
|
|
14
|
-
- [ ] Logo usage follows [foundations/logo.md](../../../foundations/logo.md) if present
|
|
15
|
-
- [ ] Border radius: 0px static content, 6px interactive, 4px inputs
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
## Accessibility (all depths)
|
|
20
|
-
|
|
21
|
-
- [ ] Single logical H1 per view (or equivalent page title pattern)
|
|
22
|
-
- [ ] Heading hierarchy is sequential
|
|
23
|
-
- [ ] Text contrast meets WCAG AA (4.5:1 body, 3:1 large text/UI)
|
|
24
|
-
- [ ] Focus states visible for keyboard users
|
|
25
|
-
- [ ] Images have appropriate alt text (decorative: empty alt)
|
|
26
|
-
- [ ] Interactive controls have accessible names
|
|
27
|
-
|
|
28
|
-
See [accessibility.md](./accessibility.md) for full requirements.
|
|
29
|
-
|
|
30
|
-
---
|
|
31
|
-
|
|
32
|
-
## Product patterns (all depths)
|
|
33
|
-
|
|
34
|
-
- [ ] Product layout uses dark navigation pattern where applicable ([design.md](./design.md))
|
|
35
|
-
- [ ] Components sourced per [component-decision-tree.md](./component-decision-tree.md)
|
|
36
|
-
- [ ] Primitives match component guides for cited IDs (`shadcn:button`, `kuat:*`) from package `agent-docs/` or overlay
|
|
37
|
-
- [ ] No inline styles for themeable properties — use design tokens
|
|
38
|
-
|
|
39
|
-
---
|
|
40
|
-
|
|
41
|
-
## Product / UX fit (`product_ux` or `full` only)
|
|
42
|
-
|
|
43
|
-
**Blocked** until [review-context.md](./review-context.md) items are supplied. Do not score this section without user story and scope.
|
|
44
|
-
|
|
45
|
-
- [ ] Primary actions and labels support the stated job-to-be-done ([content/actions.md](./content/actions.md))
|
|
46
|
-
- [ ] Copy enables task completion — not marketing tone ([content/product-content.md](./content/product-content.md))
|
|
47
|
-
- [ ] Errors, empty, and loading states match scoped flows (see relevant [scenarios/](./scenarios/) file)
|
|
48
|
-
- [ ] Form labels and validation align with scenario rules if applicable
|
|
49
|
-
- [ ] Screen content reflects stated success criteria from review context — cite evidence
|
|
50
|
-
|
|
51
|
-
If context missing: mark section **Blocked** and list required items under Open questions.
|
|
52
|
-
|
|
53
|
-
---
|
|
54
|
-
|
|
55
|
-
## Report usage
|
|
56
|
-
|
|
57
|
-
Map failures to [kuat-review](../../../../skills/kuat-review/SKILL.md) violation table. Cite the rule file for each finding.
|
package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/review-context.md
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# Web Product — Review Context
|
|
2
|
-
|
|
3
|
-
Product and research context to gather **before** reviewing web features at `product_ux` or `full` depth. See skill [kuat-review](../../../../skills/kuat-review/SKILL.md).
|
|
4
|
-
|
|
5
|
-
**Skip this file** when review depth is `brand_compliance` only — note in the report that UX/content fit is out of scope.
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## Mandatory questions
|
|
10
|
-
|
|
11
|
-
Ask for anything missing in the grouped intake message:
|
|
12
|
-
|
|
13
|
-
| Context | Ask for |
|
|
14
|
-
|---------|---------|
|
|
15
|
-
| **User story / job-to-be-done** | Who is the user, what are they trying to do, what outcome counts as success? |
|
|
16
|
-
| **Research & evidence** | Insights, interview themes, analytics, usability findings — or explicit "none yet" |
|
|
17
|
-
| **Constraints** | Deadlines, tech limits, policy, must-use patterns |
|
|
18
|
-
| **Scope** | Which screens/states (happy path only vs errors, empty, loading, edge cases) |
|
|
19
|
-
| **Known decisions** | What discovery already decided (avoid relitigating settled choices) |
|
|
20
|
-
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
## Optional but useful
|
|
24
|
-
|
|
25
|
-
- Competitor or reference examples the team used
|
|
26
|
-
- Prior iteration feedback
|
|
27
|
-
- Accessibility audit or QA results
|
|
28
|
-
- Links to tickets, PRDs, or Figma flows
|
|
29
|
-
|
|
30
|
-
---
|
|
31
|
-
|
|
32
|
-
## If context is withheld
|
|
33
|
-
|
|
34
|
-
- Proceed at `brand_compliance` if the user confirms, or
|
|
35
|
-
- Produce **provisional** UX notes with assumptions listed under **Open questions** in the report
|
|
36
|
-
- Do **not** invent user stories or research conclusions
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
## Related
|
|
41
|
-
|
|
42
|
-
- [review-checklist.md](./review-checklist.md)
|
|
43
|
-
- [kuat-review/SKILL.md](../../../../skills/kuat-review/SKILL.md)
|
|
44
|
-
- [content/product-content.md](./content/product-content.md)
|
package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/README.md
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
# Product Scenarios
|
|
2
|
-
|
|
3
|
-
Applied layout and design patterns for web application page types.
|
|
4
|
-
|
|
5
|
-
Each scenario combines foundational rules and web product rules into actionable guidance for building complete pages.
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## When to Use Scenarios
|
|
10
|
-
|
|
11
|
-
Load a scenario guide when:
|
|
12
|
-
|
|
13
|
-
- Building a specific page type (login, dashboard, settings)
|
|
14
|
-
- Need composition guidance beyond foundational design rules
|
|
15
|
-
- Want consistent patterns for common UI challenges
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
## Available Scenarios
|
|
20
|
-
|
|
21
|
-
| Scenario | Use For | Base Layout |
|
|
22
|
-
|----------|---------|-------------|
|
|
23
|
-
| [authentication.md](./authentication.md) | Login, registration, password flows, MFA | Single Column |
|
|
24
|
-
| [dashboards.md](./dashboards.md) | Analytics, data tables, metrics, reporting | Sidebar Navigation |
|
|
25
|
-
| [forms.md](./forms.md) | Settings, multi-step forms, data entry | Varies |
|
|
26
|
-
| [documentation.md](./documentation.md) | Docs sites, knowledge bases, API reference | Sidebar + Split |
|
|
27
|
-
|
|
28
|
-
---
|
|
29
|
-
|
|
30
|
-
## Scenario Structure
|
|
31
|
-
|
|
32
|
-
Each scenario file follows a consistent structure:
|
|
33
|
-
|
|
34
|
-
| Section | Purpose |
|
|
35
|
-
|---------|---------|
|
|
36
|
-
| **Principles** | Core UX principles, user goals, success metrics |
|
|
37
|
-
| **Layout** | Which base layout to use, page structure, regions |
|
|
38
|
-
| **Design** | Color tokens, typography, spacing, components |
|
|
39
|
-
| **Content** | Content hierarchy, microcopy, error messaging |
|
|
40
|
-
| **Accessibility** | Scenario-specific a11y requirements (references base docs) |
|
|
41
|
-
| **Implementation** | Component composition, state patterns, responsive behavior |
|
|
42
|
-
| **Best Practices** | Do's/Don'ts, common mistakes, edge cases |
|
|
43
|
-
|
|
44
|
-
---
|
|
45
|
-
|
|
46
|
-
## How Scenarios Reference Foundations
|
|
47
|
-
|
|
48
|
-
Scenarios build on foundational documentation:
|
|
49
|
-
|
|
50
|
-
```
|
|
51
|
-
┌─────────────────────────────────────────┐
|
|
52
|
-
│ SCENARIOS │
|
|
53
|
-
│ (authentication, dashboards, etc.) │
|
|
54
|
-
├─────────────────────────────────────────┤
|
|
55
|
-
│ References: │
|
|
56
|
-
│ ├── rules/foundations/* │
|
|
57
|
-
│ ├── rules/types/web/product/design.md │
|
|
58
|
-
│ ├── rules/types/web/product/ │
|
|
59
|
-
│ │ accessibility.md │
|
|
60
|
-
│ └── rules/foundations/accessibility.md│
|
|
61
|
-
└─────────────────────────────────────────┘
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
---
|
|
65
|
-
|
|
66
|
-
## For AI Agents
|
|
67
|
-
|
|
68
|
-
When building a specific page type:
|
|
69
|
-
|
|
70
|
-
1. Load the relevant scenario file
|
|
71
|
-
2. Follow the recommended base layout from product design rules
|
|
72
|
-
3. Reference accessibility requirements from foundations and web accessibility docs
|
|
73
|
-
4. Use design tokens from foundations colours and typography
|
|
74
|
-
|
|
75
|
-
---
|
|
76
|
-
|
|
77
|
-
## Related Documentation
|
|
78
|
-
|
|
79
|
-
- [Product Design](../design.md) - Layout patterns
|
|
80
|
-
- [Product Accessibility](../accessibility.md) - Technical implementation
|
|
81
|
-
- [Foundations Accessibility](../../../../foundations/accessibility.md) - Principles
|
|
82
|
-
- [Foundations](../../../../foundations/) - Brand design rules
|