CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

netalertx-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).

70

Quality

88%

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.

Highly actionable, project-specific content: every section carries non-obvious, hard-won guidance backed by exact file paths, real markup, copy-paste greps, and a sequenced checklist with a visual-verification checkpoint. The main room for improvement is trimming the twice-stated morals in the example narratives and adding an explicit what-to-do-on-failure loop after visual verification.

Suggestions

Tighten the three 'real example' paragraphs in 'Core principle: reuse before inventing' - each currently states its lesson twice (narrative plus restated moral); one crisp sentence of takeaway per example would cut roughly a third of the section without losing the failure modes.

In the practical checklist, extend step 5 with an explicit recovery action when visual verification fails (e.g. 'if it renders wrong, diff against the reference pattern's markup and re-implement using it') to close the error-recovery loop.

Consider moving the detailed spinnerTarget/skeleton mechanics (positioning, lifecycle, show/hide symmetry, readiness gating) into a reference file linked from a short summary in SKILL.md, keeping the main file an overview of the reuse-first principle, priority order, and checklist.

DimensionReasoningScore

Conciseness

The body is dense and entirely project-specific (spinnerTarget direct-child lookup, .finally vs .then, per-mac cache eviction, getStatusBadgeParts markup) with no generic-concept padding, and includes ready-to-run greps like "grep -rn \"pagination\\|paginate_button\" front/". However, the three 'real example' paragraphs each restate their moral twice (e.g. "Approximating a reference pattern 'from memory'... is the same mistake as not searching at all - read the real template...") and the spinnerTarget section runs long, so it sits at 'efficient; minor instances of over-explanation that could be trimmed' rather than 'every token earns its place'.

4 / 5

Actionability

Guidance is fully executable: copy-paste grep commands ("grep -rn '.pagination(' front/"), exact file paths (front/js/common.js, front/deviceDetailsPresence.php, front/js/plugin_column_render.js), the real markup pattern ("<span class=\"badge ${cssClass}\">${iconHtml} ${label}</span>"), and precise behavioral directives (".finally(hideSkeleton) ... not .then(hideSkeleton)", "currentMac !== lastMac, not just a one-time boolean flag", wrap in callAfterAppInitialized()). Specific examples cover the common cases (pager, status badge, plugin table, skeleton), matching the copy-paste-ready score-5 anchor for an instruction-only skill.

5 / 5

Workflow Clarity

The closing 'Practical checklist before building a new UI element' is a clearly sequenced 5-step list with an explicit validation checkpoint ("Verify visually in a real browser/devcontainer before calling it done") and conditional decision points at steps 3-4 ("If it doesn't, that's a signal to look harder"). It falls short of score 5 only because there is no explicit error-recovery loop after visual verification fails (what to do when the render is broken), which is a minor validation gap.

4 / 5

Progressive Disclosure

A single self-contained file with no bundle directories and clearly headed sections (Core principle, Loading skeletons, Fetch once, Don't omit, Priority order, Checklist), so navigation is easy and references are one level deep by construction. It slightly exceeds the under-50-lines simple-skill exception (~54 lines), and the long real-example narratives and the detailed spinnerTarget mechanics could arguably live in a reference file, placing it at 'good structure; most content is appropriately placed; minor organization gaps'.

4 / 5

Total

17

/

20

Passed

Description

87%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 states an explicit, well-scoped trigger (before adding or changing any front/ UI element, with enumerated element types) and explicitly names the two bodies of guidance it covers, including the full priority chain. Keyword coverage is good, though a few natural synonyms (frontend, design, CSS, form, modal) are absent.

DimensionReasoningScore

Specificity

"Read before adding or changing any front/ UI element - a control, layout, button, or interaction pattern" and "Covers the don't-invent-new-UX-without-a-PRD rule and the priority order for design tradeoffs" name the domain, enumerate several concrete element types, and enumerate the covered rules. It is not a score-5 multi-action capability list (e.g. extract/fill/merge/convert) since the core directive is a single 'read before X' plus scope enumeration, but it is well above score-3's '1-2 concrete actions'.

4 / 5

Completeness

Both halves are explicit: the 'when' is "Read before adding or changing any front/ UI element - a control, layout, button, or interaction pattern" (a concrete trigger clause with enumerated element types), and the 'what' is "Covers the don't-invent-new-UX-without-a-PRD rule and the priority order for design tradeoffs (...)", which explicitly names the content with the full priority chain. This matches the score-5 anchor (clearly and explicitly answers both what AND when with concrete trigger phrases); score 4 would require a 'when' that is less explicit than this.

5 / 5

Trigger Term Quality

Natural terms users would say are present: "UI element", "control", "layout", "button", "interaction pattern", "design tradeoffs". Coverage is good but misses common synonyms and variations a user might say ("frontend", "design", "CSS", "form", "modal", "widget"), matching the 'good keyword coverage; a few natural terms missing' anchor rather than the comprehensive-synonym score-5 anchor.

4 / 5

Distinctiveness Conflict Risk

The description is scoped to a distinct niche - front/ UI element changes governed by a PRD rule and an explicit design-tradeoff priority order - with project-specific anchors ("front/", "PRD"). It would not plausibly trigger for unrelated skills, matching the 'clear niche with distinct triggers; minimal conflict risk' anchor.

5 / 5

Total

18

/

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

.github/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.