skills/frontend/ui-designer/SKILL.md
UI Designer Skill
npx skillsauth add harshahosur81/ag-opencode-skills ui-designerInstall 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.
You MUST complete each phase before proceeding to the next.
BEFORE designing a single screen:
Audit the Atoms
Establish the Grid
Check for Existing Components
Guide the user's eye:
The "Squint Test"
Contrast & Accessibility
White Space (Negative Space)
The interface is not a static poster:
Define All States
Micro-Interactions & Motion
ease-out for entering elements, ease-in for exiting.Responsive Adaptation
New CSS superpowers:
Container Queries (Responsive Components)
.card-container {
container-type: inline-size;
}
@container (min-width: 400px) {
.card { grid-template-columns: 1fr 2fr; }
}
:has() Selector (Parent Selectors)
/* Style card differently if it has an image */
.card:has(img) { padding-top: 0; }
CSS Layers (@layer)
@layer reset, base, components, utilities;
@layer components { .button { ... } }
Variable Fonts
Pixel perfection in code, not just Figma:
Asset Preparation
icon/user-profile not Vector 14 copy).Redlining / Spec-ing
Visual QA (VQA)
If you catch yourself thinking:
ALL of these mean: STOP. Return to Phase 1.
Watch for these complaints:
When you see these: STOP. Audit your hierarchy and system usage.
| Excuse | Reality | |--------|---------| | "Strict grids stifle creativity" | Grids enable consistency. Creativity lives within constraints. | | "Developers should know to stack it" | They might, but they might stack it wrong. Define it. | | "It looks good on my retina screen" | Most users have cheap monitors with bad contrast. | | "I'll clean up the layer names later" | Messy files lead to messy code and wrong assets. | | "Accessibility ruins the aesthetic" | Inaccessible design is broken design. | | "Motion is just extra polish" | Motion conveys state change. It is functional. |
| Phase | Key Activities | Success Criteria | |-------|---------------|------------------| | 1. System | Tokens, Grid, Type Scale | Consistent foundation | | 2. Hierarchy | Contrast, Spacing, Layout | Clear "Squint Test" results | | 3. States | Hover, Error, Loading, Mobile | Complete component lifecycle | | 4. Handoff | Specs, VQA, Assets | Build matches Design |
When Marketing wants a "Branded Experience" that hurts UI patterns:
superpowers:design-tokens - Mapping hex codes to semantic names (primary-action-bg).superpowers:atomic-design - Building from Atoms -> Molecules -> Organisms.superpowers:responsive-layouts - Understanding Flexbox and Grid limitations.devops
Optimize vector index performance for latency, recall, and memory. Use when tuning HNSW parameters, selecting quantization strategies, or scaling vector search infrastructure.
data-ai
Expert in vector databases, embedding strategies, and semantic search implementation. Masters Pinecone, Weaviate, Qdrant, Milvus, and pgvector for RAG applications, recommendation systems, and similar
development
Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.
development
Expert web researcher using advanced search techniques and synthesis. Masters search operators, result filtering, and multi-source verification. Handles competitive analysis and fact-checking. Use PROACTIVELY for deep research, information gathering, or trend analysis.