CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

ux-design-patterns

Read before adding or changing any front/ UI element - a control, layout, button, or interaction pattern. Covers the don't-invent-new-UX-without-a-PRD rule and the priority order for design tradeoffs (existing behavior > intuitiveness > information density > usability > utility > uniqueness > industry practices > generic UI).

68

Quality

86%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

The canonical home for this skill is ux-design-patterns in netalertx/NetAlertX

SKILL.md
Quality
Evals
Security

Quality

Content

82%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A high-quality, codebase-specific design-rules skill: it teaches exactly the non-obvious things (grep-first reuse, spinnerTarget mechanics, cache eviction on rejection, .finally over .then, the 8-level priority order) with concrete file paths, function names, commands, and real failure stories. Structure and actionability are strong; the only improvements are tightening the longest prose paragraphs and making the checklist's verify step an explicit fix-and-recheck loop.

Suggestions

Convert the three long reuse examples and the four skeleton-mechanism paragraphs into tight bullet points (or move them to a references/ file linked from a short overview), trimming roughly a third of the prose without losing any file paths or function names.

Make checklist step 5 an explicit feedback loop: 'Verify in a real browser; if the element renders wrong or escapes its tab, re-check it against the existing pattern it was meant to match and re-verify before calling it done.'

DimensionReasoningScore

Conciseness

Every paragraph carries project-specific, non-obvious knowledge (file paths, function names, exact failure modes) that Claude cannot already know, e.g. 'resolveSpinnerTarget() (front/js/common.js) looks for .spinnerTarget among the active tab-pane's direct children only'. Not 5: several long single-paragraph examples (the third reuse example, the lifecycle and readiness-gating paragraphs) could be tightened into shorter statements or bullets without losing information. Not 3: there is no padding and no explanation of concepts Claude already knows — everything is this codebase's own rules.

4 / 5

Actionability

The guidance is fully executable: copy-paste grep commands ('grep -rn "pagination\|paginate_button" front/', 'grep -rn \.DataTable( front/'), exact file paths (front/js/common.js, front/js/app-init.js, front/deviceDetailsPresence.php, front/css/dark-patch.css), exact markup patterns ('<span class="badge ${cssClass}">${iconHtml} ${label}</span>'), and concrete code-level prescriptions ('.finally(hideSkeleton)' not '.then(hideSkeleton)', 'currentMac !== lastMac', the #panX position:relative anchor rule). Specific examples cover the common cases (pager, status badge, data table, loading skeleton).

5 / 5

Workflow Clarity

The 'Practical checklist before building a new UI element' gives a clear numbered 5-step sequence (grep for existing implementation -> reuse -> check the PRD -> design new with the priority order -> 'Verify visually in a real browser/devcontainer before calling it done') with an explicit verification checkpoint. Not 5: no explicit feedback loop after verification fails (no 'if it renders wrong, do X and re-check' step), though the failure-story examples partially compensate by describing what goes wrong and how it was caught.

4 / 5

Progressive Disclosure

A single-file skill with well-organized, clearly headed sections (reuse-before-inventing, skeleton mechanisms, fetch-once, omission rule, priority order, checklist) and no bundle files exist, so all referenced paths (front/js/..., front/css/...) are subject-matter pointers, not navigation references. Not 5: the body is ~60 dense lines / ~11.7KB with three long worked examples and four multi-paragraph mechanism subsections that could be split into one-level-deep reference files so the SKILL.md body stays a leaner overview.

4 / 5

Total

17

/

20

Passed

Description

83%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: it explicitly answers both what the skill covers and when to read it, with concrete trigger terms and a distinctive PRD-gated reuse rule. Its only weaknesses are missing a few common synonyms (frontend, component, styling) and not hinting at the additional topics the body actually covers (skeletons, caching, fetch strategy).

DimensionReasoningScore

Specificity

It names a concrete scope ('a control, layout, button, or interaction pattern') and two specific rules, enumerating the full priority order ('existing behavior > intuitiveness > ... > generic UI'). Not 5: the stated 'what' is governance of decisions rather than multiple concrete executable actions, and the scope terms are category names without the other covered topics (loading skeletons, fetch-once, spinner lifecycle). Not 3: it goes well beyond 1-2 concrete items — the trigger scope and both core rules are explicit.

4 / 5

Completeness

Both halves are explicit: 'when' via 'Read before adding or changing any front/ UI element - a control, layout, button, or interaction pattern', and 'what' via 'Covers the don't-invent-new-UX-without-a-PRD rule and the priority order for design tradeoffs'. The 'Read before...' clause is equivalent explicit trigger guidance to a 'Use when...' clause, so the completeness cap does not apply.

5 / 5

Trigger Term Quality

Good natural keyword coverage users would actually say: 'front/ UI element', 'control', 'layout', 'button', 'interaction pattern', 'design tradeoffs'. Not 5: common synonyms are missing ('frontend', 'component', 'widget', 'styling/CSS', 'modal', 'form'). Not 3: it does not merely gesture at a domain — several distinct natural trigger words are present.

4 / 5

Distinctiveness Conflict Risk

Mostly distinct: the 'don't-invent-new-UX-without-a-PRD rule' and the specific 8-level priority order are unique content, and the front/ scoping ties it to this project's UI work. Not 5: broad trigger words like 'button', 'layout', and 'UI element' carry minor overlap risk with general frontend/design/chart-styling skills.

4 / 5

Total

17

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

netalertx/NetAlertX

Path

.gemini/skills/ux-design-patterns/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.