improve: enhance ui-ux-designer agent based on automated review#441
Merged
Conversation
- Rewrote description field as delegation-trigger prompt for better agent invocation - Added WebFetch to tools for live resource lookups - Added WCAG 2.2 criteria: focus not obscured (SC 2.4.11), dragging alternatives (SC 2.5.7), accessible authentication (SC 3.3.8), redundant entry (SC 3.3.7) - Updated touch target guidance to cite WCAG 2.2 SC 2.5.8 (24x24px minimum, 44x44px design target) - Added AI Interface Patterns (2024-2026) section covering input/output/refinement/trust/loading UX - Added INP awareness to usability heuristics checklist (<200ms p75 target) - Added JS-driven hover animation anti-pattern (kills INP scores) to Trendy But Bad - Updated thumb zone guidance for variable grip patterns (Hoober follow-up research) - Trimmed verbose CSS/HTML code blocks; replaced with concise instructions and implementation reminder Automated review cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
| Metric | Count |
|---|---|
| Total Components | 753 |
| ✅ Passed | 360 |
| ❌ Failed | 393 |
| 621 |
❌ Failed Components (Top 5)
| Component | Errors | Warnings | Score |
|---|---|---|---|
vercel-edge-function |
3 | 4 | 81/100 |
neon-expert |
2 | 1 | 89/100 |
agent-overview |
2 | 1 | 89/100 |
unused-code-cleaner |
2 | 1 | 89/100 |
context7 |
2 | 2 | 88/100 |
...and 388 more failed component(s)
📊 View Full Report for detailed error messages and all components
Contributor
There was a problem hiding this comment.
1 issue found across 1 file
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="cli-tool/components/agents/development-team/ui-ux-designer.md">
<violation number="1" location="cli-tool/components/agents/development-team/ui-ux-designer.md:316">
P2: This SC 3.3.8 guidance is inaccurate: WCAG does not categorically ban CAPTCHAs, and SC 3.3.8 is scoped to authentication of existing users (not signup). Update the line to match the actual requirement about providing a non-cognitive alternative path.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Contributor
|
| Metric | Count |
|---|---|
| Total Components | 753 |
| ✅ Passed | 360 |
| ❌ Failed | 393 |
| 621 |
❌ Failed Components (Top 5)
| Component | Errors | Warnings | Score |
|---|---|---|---|
vercel-edge-function |
3 | 4 | 81/100 |
neon-expert |
2 | 1 | 89/100 |
agent-overview |
2 | 1 | 89/100 |
unused-code-cleaner |
2 | 1 | 89/100 |
context7 |
2 | 2 | 88/100 |
...and 388 more failed component(s)
📊 View Full Report for detailed error messages and all components
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated Component Improvement
Changes
Research Summary
The ui-ux-designer is the #3 most popular agent (13,696 downloads, 637/week). Research identified gaps in delegation triggering (too narrow a description), outdated WCAG coverage (2.1 only), missing AI-specific UX patterns (increasingly requested), lack of Core Web Vitals/INP awareness, and oversized prompt from verbatim CSS examples the model generates naturally.
Validation
Automated review cycle by Component Improvement Loop
Summary by cubic
Enhances the
ui-ux-designercomponent so it triggers at the right times and delivers current, research-backed reviews. Adds live lookups, WCAG 2.2 AA coverage, AI UI patterns, INP/perf checks, and trims prompt size.New Features
WebFetchfor live design research.Migration
cli-tool/components/). No new components. Regenerate catalog (docs/components.json). No new env vars or secrets.Written for commit 46a585f. Summary will update on new commits.