plugins/designer/skills/ui-analyse/SKILL.md
Analyzes UI visually using Gemini 3 Pro — prompting patterns, severity guidelines, analysis-only. Use when reviewing UI visuals; pair with dev:frontend-implement to apply.
npx skillsauth add madappgang/magus ui-analyseInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill provides patterns for analyzing UI designs visually using Gemini 3 Pro Preview. It is analysis-only - for implementing improvements, use dev:frontend-implement.
| Skill | Purpose | Modifies Code? | |-------|---------|----------------| | designer:ui-analyse | Visual analysis, issue detection | No | | dev:frontend-implement | Apply improvements from analysis | Yes | | designer:ui-style-format | Style file specification | No | | designer:design-references | Reference image management | No |
Read shared/model-aliases.json → roles.designer_review.modelId for the design review model.
If the file doesn't exist, tell the user to run /update-models.
Analyze this UI screenshot for usability issues.
**Focus Areas**:
1. Visual hierarchy - Is the most important content prominent?
2. Affordances - Do interactive elements look clickable?
3. Consistency - Do similar elements behave similarly?
**Output**: Top 5 issues with severity and location.
Usage:
npx claudish --model "$GEMINI_MODEL" --image "$SCREENSHOT_PATH" --quiet --auto-approve <<< "
Analyze this UI screenshot for usability issues.
Focus Areas:
1. Visual hierarchy - Is the most important content prominent?
2. Affordances - Do interactive elements look clickable?
3. Consistency - Do similar elements behave similarly?
Output: Top 5 issues with severity and location."
Audit this UI for WCAG 2.1 AA compliance.
**Checklist**:
- [ ] Text contrast >= 4.5:1 (WCAG 1.4.3)
- [ ] Non-text contrast >= 3:1 (WCAG 1.4.11)
- [ ] Touch targets >= 44x44px (WCAG 2.5.5)
- [ ] Focus visible (WCAG 2.4.7)
**Output**: Pass/Fail per criterion with evidence.
Usage:
npx claudish --model "$GEMINI_MODEL" --image "$SCREENSHOT_PATH" --quiet --auto-approve <<< "
Audit this UI for WCAG 2.1 AA compliance.
Checklist:
- Text contrast >= 4.5:1 (WCAG 1.4.3)
- Non-text contrast >= 3:1 (WCAG 1.4.11)
- Touch targets >= 44x44px (WCAG 2.5.5)
- Focus visible (WCAG 2.4.7)
Output as: Pass/Fail per criterion with visual evidence."
Analyze this UI for "AI-generated" patterns that should be avoided.
**Check for**:
1. Rigid symmetric grids (should be asymmetric)
2. Flat solid colors (should have gradients/texture)
3. Generic typography (should have dramatic hierarchy)
4. Static elements (should have micro-interactions)
5. Default Tailwind colors (should be bespoke palette)
**Output**: List violations with specific recommendations.
Usage:
npx claudish --model "$GEMINI_MODEL" --image "$SCREENSHOT_PATH" --quiet --auto-approve <<< "
Analyze this UI for AI-generated patterns that should be avoided.
Check for:
1. Rigid symmetric grids (should be asymmetric)
2. Flat solid colors (should have gradients/texture)
3. Generic typography (should have dramatic hierarchy)
4. Static elements (should have micro-interactions)
5. Default Tailwind colors (should be bespoke palette)
List each violation found with specific recommendations for improvement."
Compare these two images:
- Image 1: Design reference
- Image 2: Implementation
**Validate**:
1. Layout accuracy
2. Color fidelity
3. Typography matching
4. Spacing precision
5. Component rendering
**Output**: Match score (1-10) and deviation list.
Usage:
npx claudish --model "$GEMINI_MODEL" \
--image "$REFERENCE_PATH" \
--image "$IMPLEMENTATION_PATH" \
--quiet --auto-approve <<< "
Compare these two images:
- Image 1: Design reference (target)
- Image 2: Current implementation
Validate:
1. Layout accuracy
2. Color fidelity
3. Typography matching
4. Spacing precision
5. Component rendering
Output: Match score (1-10) and list of specific deviations."
| Severity | Impact | Examples | Action | |----------|--------|----------|--------| | CRITICAL | Blocks task | Invisible button, broken flow | Fix immediately | | HIGH | Major barrier | WCAG fail, confusing nav | Fix before release | | MEDIUM | Friction | Inconsistent spacing | Next sprint | | LOW | Polish | Minor alignment | Backlog |
Analysis results should follow this structure:
## UI Analysis Results
**Target**: {image_path}
**Provider**: {gemini_model}
**Date**: {timestamp}
**Score**: {X}/10
### Issues by Severity
#### CRITICAL
{issues or "None found"}
#### HIGH
{issues or "None found"}
#### MEDIUM
{issues or "None found"}
#### LOW
{issues or "None found"}
### Strengths
{positive observations}
### Recommendations
{actionable improvements}
The /designer:ui command uses this skill when:
dev:frontend-implementPrimary triggers (route to ui-analyse):
Pattern triggers (route to ui-analyse):
When used via /designer:ui:
${SESSION_PATH}/reviews/design-review/gemini.mdIf no Gemini provider is available:
/update-models and configure model aliases for full visual analysistesting
A test skill for validation testing. Use when testing skill parsing and validation logic.
tools
--- name: bad-skill description: This skill has invalid YAML in frontmatter allowed-tools: [invalid, array, syntax prerequisites: not-an-array --- # Bad Skill This skill has malformed frontmatter that should fail parsing. The YAML has: - Unclosed array bracket - Wrong type for prerequisites (should be array, not string)
development
Sync model aliases from the curated Firebase database. Fetches default model assignments, short aliases, team compositions, and known model metadata from the claudish API. Run this to get fresh model recommendations.
tools
Release one or more Magus plugins to the distribution repos (magus, magus-alpha, magus-marketing). Handles version inference from git history, marketplace.json updates, tagging, and force-push to lean dist repos. Use whenever the user says "release kanban", "release the dev plugin", "cut a new version of gtd", "bump kanban to 1.7", or hands you a batch like "release kanban and gtd". Also use for multi-plugin releases and for checking what a release would contain before committing.