Quality Standards Reference
This skill defines the quality gates, scoring criteria, and acceptance standards that all designs must meet.
Quality Gates (95% MINIMUM)
All gates must pass for design completion:
| Gate |
Threshold |
Weight |
Mandatory |
| Minimum Iterations |
>= 5 |
- |
Yes |
| Maximum Iterations |
<= 20 |
- |
Yes |
| Overall Score |
>= 9.5/10 (95%) |
- |
Yes |
| WCAG AA Compliance |
100% |
- |
Yes |
| Vibe-Code Probability |
< 1% |
- |
Yes |
| Critical Issues |
0 |
- |
Yes |
| Spatial Score |
>= 9.0/10 |
25% |
Yes |
| Color Score |
>= 9.0/10 |
25% |
Yes |
| Typography Score |
>= 9.0/10 |
25% |
Yes |
| Originality Score |
>= 9.5/10 |
25% |
Yes |
Scoring Rubrics
Spatial Design (0-10)
| Score |
Description |
| 9-10 |
Perfect grid adherence, masterful spacing relationships, balanced composition |
| 7-8 |
Consistent grid usage, good spacing, minor alignment issues |
| 5-6 |
Some grid violations, inconsistent spacing, noticeable balance issues |
| 3-4 |
Frequent off-grid values, poor spacing relationships, unbalanced |
| 1-2 |
No grid system, chaotic spacing, severely unbalanced |
Key Checkpoints:
Color Design (0-10)
| Score |
Description |
| 9-10 |
WCAG AAA, harmonious palette, strong emotional alignment, unique |
| 7-8 |
WCAG AA, cohesive colors, appropriate mood, some customization |
| 5-6 |
Minor contrast issues, acceptable harmony, generic choices |
| 3-4 |
WCAG failures, clashing colors, wrong emotional tone |
| 1-2 |
Multiple accessibility failures, no coherent palette |
Key Checkpoints:
Typography (0-10)
| Score |
Description |
| 9-10 |
Perfect hierarchy, excellent readability, intentional pairing, flawless implementation |
| 7-8 |
Clear hierarchy, good readability, appropriate fonts, minor issues |
| 5-6 |
Adequate hierarchy, acceptable readability, basic font choices |
| 3-4 |
Unclear hierarchy, readability issues, poor font choices |
| 1-2 |
No hierarchy, unreadable, inappropriate fonts |
Key Checkpoints:
Originality (0-10)
| Score |
Description |
| 9-10 |
Highly unique, no generic patterns, strong brand personality |
| 7-8 |
Mostly original, minimal generic patterns, some personality |
| 5-6 |
Some customization, recognizable generic patterns |
| 3-4 |
Mostly generic, obvious AI patterns, no personality |
| 1-2 |
Pure vibe-code, all defaults, completely generic |
Key Checkpoints:
WCAG 2.1 Checklist
Level A (Must Pass)
| Criterion |
Description |
Check |
| 1.1.1 |
Non-text content has alt text |
Images, icons |
| 1.3.1 |
Info and relationships in markup |
Semantic HTML |
| 1.3.2 |
Meaningful sequence |
DOM order matches visual |
| 1.4.1 |
Color not sole indicator |
Don't rely on color alone |
| 2.1.1 |
Keyboard accessible |
All functionality via keyboard |
| 2.1.2 |
No keyboard trap |
Can tab away from all elements |
| 2.4.1 |
Bypass blocks |
Skip links present |
| 2.4.2 |
Page titled |
Descriptive title |
| 2.4.4 |
Link purpose clear |
From link text or context |
| 3.1.1 |
Language of page |
lang attribute on html |
| 4.1.1 |
Valid markup |
No parsing errors |
| 4.1.2 |
Name, role, value |
ARIA where needed |
Level AA (Should Pass)
| Criterion |
Description |
Check |
| 1.4.3 |
Contrast minimum |
4.5:1 normal, 3:1 large |
| 1.4.4 |
Resize text |
Works at 200% zoom |
| 1.4.5 |
Images of text |
Avoid, use real text |
| 2.4.6 |
Headings descriptive |
Clear, meaningful |
| 2.4.7 |
Focus visible |
Clear focus indicators |
| 3.2.3 |
Consistent navigation |
Same order throughout |
| 3.2.4 |
Consistent identification |
Same function = same name |
Level AAA (Recommended)
| Criterion |
Description |
Check |
| 1.4.6 |
Enhanced contrast |
7:1 normal, 4.5:1 large |
| 1.4.8 |
Visual presentation |
Line length, spacing |
| 2.4.9 |
Link purpose alone |
Clear from link text only |
Issue Classification
Critical (Blocks Deployment)
- WCAG Level A failures
- Color contrast below 3:1
- Broken core functionality
- Unreadable text
- Keyboard traps
- Missing skip links
High Priority (Fix Before Launch)
- WCAG Level AA failures
- Color contrast 3:1-4.5:1 (below AA)
- Significant layout issues
- Poor visual hierarchy
- Major spacing inconsistencies
- No focus indicators
Medium Priority (Fix Soon)
- Minor spacing issues
- Suboptimal color choices
- Typography tweaks
- Enhancement opportunities
- WCAG AAA suggestions
Low Priority (Nice to Have)
- Micro-interaction polish
- Animation refinements
- Advanced accessibility features
- Performance optimizations
Iteration Strategy
Explore Phase (Iterations 1-5)
- Try bold, different approaches
- Don't optimize prematurely
- Focus on overall direction
- MUST complete all 5 iterations even if gates pass early
- Use early passing to polish and exceed thresholds
Exploit Phase (Iterations 6-12)
- Refine the best approach
- Fix specific issues identified
- Optimize for quality gates
- Polish and perfect
Pivot Phase (Iterations 13-20)
- If stuck, try completely different direction
- Re-run research with new direction
- Reset assumptions
- Challenge previous decisions
- Consider alternative approaches
Score Calculation
Overall Score = (Spatial × 0.25) + (Color × 0.25) +
(Typography × 0.25) + (Originality × 0.25)
Pass Criteria:
- Minimum iterations >= 5
- Overall >= 9.5 (95%)
- All dimensions >= 9.0
- Originality >= 9.5
- Vibe-code probability < 1%
- Critical issues = 0
- WCAG AA = 100%
Failure Patterns
Score Plateau
Detection: No improvement for 2+ iterations
Action: Switch to Pivot strategy, try different approach
Recurring Issues
Detection: Same issues appear after "fixing"
Action: Address root cause, not symptoms
Regression
Detection: Scores decreasing
Action: Revert to previous best, analyze what broke
Dimension Imbalance
Detection: One dimension consistently low
Action: Focused iteration on weak dimension
1---2name: quality-standards3description: Quality gate definitions, scoring rubrics, and acceptance criteria for the Agentic UI Designer system.4---56# Quality Standards Reference78This skill defines the quality gates, scoring criteria, and acceptance standards that all designs must meet.910## Quality Gates (95% MINIMUM)1112All gates must pass for design completion:1314| Gate | Threshold | Weight | Mandatory |15|------|-----------|--------|-----------|16| Minimum Iterations | >= 5 | - | Yes |17| Maximum Iterations | <= 20 | - | Yes |18| Overall Score | >= 9.5/10 (95%) | - | Yes |19| WCAG AA Compliance | 100% | - | Yes |20| Vibe-Code Probability | < 1% | - | Yes |21| Critical Issues | 0 | - | Yes |22| Spatial Score | >= 9.0/10 | 25% | Yes |23| Color Score | >= 9.0/10 | 25% | Yes |24| Typography Score | >= 9.0/10 | 25% | Yes |25| Originality Score | >= 9.5/10 | 25% | Yes |2627## Scoring Rubrics2829### Spatial Design (0-10)3031| Score | Description |32|-------|-------------|33| 9-10 | Perfect grid adherence, masterful spacing relationships, balanced composition |34| 7-8 | Consistent grid usage, good spacing, minor alignment issues |35| 5-6 | Some grid violations, inconsistent spacing, noticeable balance issues |36| 3-4 | Frequent off-grid values, poor spacing relationships, unbalanced |37| 1-2 | No grid system, chaotic spacing, severely unbalanced |3839**Key Checkpoints:**40- [ ] All spacing values on 8pt grid (or 4pt for micro)41- [ ] Consistent spacing between similar elements42- [ ] Logical spacing hierarchy (related closer, unrelated farther)43- [ ] Proper alignment to grid columns44- [ ] Balanced visual weight distribution45- [ ] Effective use of whitespace4647### Color Design (0-10)4849| Score | Description |50|-------|-------------|51| 9-10 | WCAG AAA, harmonious palette, strong emotional alignment, unique |52| 7-8 | WCAG AA, cohesive colors, appropriate mood, some customization |53| 5-6 | Minor contrast issues, acceptable harmony, generic choices |54| 3-4 | WCAG failures, clashing colors, wrong emotional tone |55| 1-2 | Multiple accessibility failures, no coherent palette |5657**Key Checkpoints:**58- [ ] All text/background combinations meet WCAG AA (4.5:1)59- [ ] UI components meet 3:1 contrast60- [ ] Color palette is harmonious (defined relationship)61- [ ] Colors evoke intended emotional response62- [ ] Colors are appropriate for sector63- [ ] Palette is not generic/default framework colors6465### Typography (0-10)6667| Score | Description |68|-------|-------------|69| 9-10 | Perfect hierarchy, excellent readability, intentional pairing, flawless implementation |70| 7-8 | Clear hierarchy, good readability, appropriate fonts, minor issues |71| 5-6 | Adequate hierarchy, acceptable readability, basic font choices |72| 3-4 | Unclear hierarchy, readability issues, poor font choices |73| 1-2 | No hierarchy, unreadable, inappropriate fonts |7475**Key Checkpoints:**76- [ ] Clear visual hierarchy (size, weight, color)77- [ ] Font pairing is intentional and complementary78- [ ] Line length 50-75 characters79- [ ] Line height appropriate (1.4-1.6 for body)80- [ ] Minimum 16px for body text81- [ ] Consistent usage across similar elements82- [ ] Proper CSS implementation (rem, variables)8384### Originality (0-10)8586| Score | Description |87|-------|-------------|88| 9-10 | Highly unique, no generic patterns, strong brand personality |89| 7-8 | Mostly original, minimal generic patterns, some personality |90| 5-6 | Some customization, recognizable generic patterns |91| 3-4 | Mostly generic, obvious AI patterns, no personality |92| 1-2 | Pure vibe-code, all defaults, completely generic |9394**Key Checkpoints:**95- [ ] No generic gradients (purple-blue, etc.)96- [ ] Layout patterns customized from stock97- [ ] Framework defaults modified98- [ ] Decorative elements are purposeful99- [ ] Real content (not placeholder)100- [ ] Distinct brand personality present101102## WCAG 2.1 Checklist103104### Level A (Must Pass)105106| Criterion | Description | Check |107|-----------|-------------|-------|108| 1.1.1 | Non-text content has alt text | Images, icons |109| 1.3.1 | Info and relationships in markup | Semantic HTML |110| 1.3.2 | Meaningful sequence | DOM order matches visual |111| 1.4.1 | Color not sole indicator | Don't rely on color alone |112| 2.1.1 | Keyboard accessible | All functionality via keyboard |113| 2.1.2 | No keyboard trap | Can tab away from all elements |114| 2.4.1 | Bypass blocks | Skip links present |115| 2.4.2 | Page titled | Descriptive title |116| 2.4.4 | Link purpose clear | From link text or context |117| 3.1.1 | Language of page | `lang` attribute on html |118| 4.1.1 | Valid markup | No parsing errors |119| 4.1.2 | Name, role, value | ARIA where needed |120121### Level AA (Should Pass)122123| Criterion | Description | Check |124|-----------|-------------|-------|125| 1.4.3 | Contrast minimum | 4.5:1 normal, 3:1 large |126| 1.4.4 | Resize text | Works at 200% zoom |127| 1.4.5 | Images of text | Avoid, use real text |128| 2.4.6 | Headings descriptive | Clear, meaningful |129| 2.4.7 | Focus visible | Clear focus indicators |130| 3.2.3 | Consistent navigation | Same order throughout |131| 3.2.4 | Consistent identification | Same function = same name |132133### Level AAA (Recommended)134135| Criterion | Description | Check |136|-----------|-------------|-------|137| 1.4.6 | Enhanced contrast | 7:1 normal, 4.5:1 large |138| 1.4.8 | Visual presentation | Line length, spacing |139| 2.4.9 | Link purpose alone | Clear from link text only |140141## Issue Classification142143### Critical (Blocks Deployment)144- WCAG Level A failures145- Color contrast below 3:1146- Broken core functionality147- Unreadable text148- Keyboard traps149- Missing skip links150151### High Priority (Fix Before Launch)152- WCAG Level AA failures153- Color contrast 3:1-4.5:1 (below AA)154- Significant layout issues155- Poor visual hierarchy156- Major spacing inconsistencies157- No focus indicators158159### Medium Priority (Fix Soon)160- Minor spacing issues161- Suboptimal color choices162- Typography tweaks163- Enhancement opportunities164- WCAG AAA suggestions165166### Low Priority (Nice to Have)167- Micro-interaction polish168- Animation refinements169- Advanced accessibility features170- Performance optimizations171172## Iteration Strategy173174### Explore Phase (Iterations 1-5)175- Try bold, different approaches176- Don't optimize prematurely177- Focus on overall direction178- MUST complete all 5 iterations even if gates pass early179- Use early passing to polish and exceed thresholds180181### Exploit Phase (Iterations 6-12)182- Refine the best approach183- Fix specific issues identified184- Optimize for quality gates185- Polish and perfect186187### Pivot Phase (Iterations 13-20)188- If stuck, try completely different direction189- Re-run research with new direction190- Reset assumptions191- Challenge previous decisions192- Consider alternative approaches193194## Score Calculation195196```197Overall Score = (Spatial × 0.25) + (Color × 0.25) +198 (Typography × 0.25) + (Originality × 0.25)199200Pass Criteria:201- Minimum iterations >= 5202- Overall >= 9.5 (95%)203- All dimensions >= 9.0204- Originality >= 9.5205- Vibe-code probability < 1%206- Critical issues = 0207- WCAG AA = 100%208```209210## Failure Patterns211212### Score Plateau213**Detection:** No improvement for 2+ iterations214**Action:** Switch to Pivot strategy, try different approach215216### Recurring Issues217**Detection:** Same issues appear after "fixing"218**Action:** Address root cause, not symptoms219220### Regression221**Detection:** Scores decreasing222**Action:** Revert to previous best, analyze what broke223224### Dimension Imbalance225**Detection:** One dimension consistently low226**Action:** Focused iteration on weak dimension