ui-ux-principles
Skill0 starsChanged 39 days agoApache-2.0View on GitHub
Trigger: UI/UX principles, heurísticas, Nielsen, usability, accesibilidad, accessibility, WCAG, POUR, ISO 9241, HCD, user research, SUS. Apply HCD, Nielsen heuristics, metrics, and WCAG 2.2 when designing or evaluating interfaces.
In this repository31 other files it gives its agents.
- architecture-lintSkill
- architecture-questSkill
- autofixSkill
- branch-prSkill
- chained-prSkill
- cognitive-doc-designSkill
- comment-writerSkill
- design-patternsSkill
- gentle-uiSkill
- gh-address-commentsSkill
- gh-fix-ciSkill
- github-automationSkill
- github-prSkill
- go-testingSkill
- grillingSkill
- issue-creationSkill
- judgment-daySkill
- playwright-interactiveSkill
- playwrightSkill
- product-questSkill
- skill-creatorSkill
- skill-improverSkill
- systemic-issue-triageSkill
- tailwind-4Skill
- test-fixingSkill
- typescriptSkill
- ui-designSkill
- using-git-worktreesSkill
- web-searchSkill
- work-unit-commitsSkill
- zod-4Skill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 40
Run heuristic inspection first (fast, cheap).
- Very specific: line 43
Before shipping: WCAG 2.2 checks — manual + automated scan.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Activation Contract
Load when designing OR evaluating an interface — screens, flows, components — or when a design must satisfy usability and accessibility standards. Complements ui-design (visual/component decisions): this skill supplies the HCD process, Nielsen heuristics, empirical evaluation methods, quantitative metrics, and WCAG 2.2 conformance rules. Read references/principles-guide.md for the condensed tables before evaluating.
Hard Rules
- HCD before pixels: understand context of use and user requirements (ISO 9241-210) BEFORE producing design solutions. Never jump to mockups without users, goals, and tasks.
- Heuristics are a filter, not proof: Nielsen's 10 heuristics catch obvious issues early and cheaply; 3–5 evaluators find most problems. They never replace testing with real users.
- Think-aloud is the ground truth: 5 participants in a think-aloud protocol reveal 77–85% of usability problems. Design-evaluate-refine in iterations until requirements are met.
- Measure, don't guess: pick quantitative metrics (task success, time-on-task, error rate, SUS, SEQ) aligned to ISO 9241-11 (effectiveness, efficiency, satisfaction). A high success rate with high time-on-task means the path is unintuitive.
- Accessibility is a requirement, not a feature: target WCAG 2.2 AA by default (POUR: Perceivable, Operable, Understandable, Robust). Automated scans (e.g. axe-core) catch only 1/3–1/2 of issues — manual evaluation is mandatory.
- Agent/AI evaluations add dimensions: trust calibration, explainability, agent reliability, and dual evaluation (human + agent) — classic metrics miss them.
- Know the limits: AI lacks empathy, contextual intuition, and creative judgment. Act as evaluator/assistant, never as substitute for user research.
Decision Gates
| Situation | Response |
| Design task without user/context data | Start HCD: plan, context of use, user requirements |
| Early design, need quick feedback | Heuristic inspection (Nielsen, 3–5 evaluators) |
| Need proof of real usability | Empirical test with think-aloud (≥5 users) |
| Need a benchmark / compare versions | SUS (≥80 top 10%; average ≈68), SEQ per task |
| Web/app must meet legal standards | WCAG 2.2 AA; VPAT/ACR when customers require |
| Evaluating an AI agent system | Trust calibration, explainability, reliability, dual evaluation |
| Automated a11y scan flagged issues | Manual validation; never auto-close |
Execution Steps
- Confirm context: users, tasks, environment, constraints — state them in the artifact.
- Produce the design/prototype; keep it concrete enough to be evaluated.
- Run heuristic inspection first (fast, cheap); fix obvious violations.
- Plan empirical evaluation: think-aloud tasks + the metrics that answer the question (effectiveness/effort/satisfaction).
- Measure, summarize (success, time, errors, SUS/SEQ), and decide what to iterate.
- Before shipping: WCAG 2.2 checks — manual + automated scan; note conformance level (A/AA/AAA) in the artifact.
Output Contract
Record in the artifact: the HCD context (users, tasks, environment), the evaluation method used (inspection vs. empirical), the metrics with actual values, the iteration decision, and the accessibility conformance level (WCAG 2.2, A/AA/AAA) + VPAT ratings (Supports / Partially Supports / Does Not Support / Not Applicable) when applicable. A "don't ship yet / iterate" verdict is a valid outcome.
References
references/principles-guide.md— condensed tables: HCD phases, 10 Nielsen heuristics, evaluation methods, quantitative metrics, WCAG 2.2 POUR + levels, VPAT ratings, and AI-agent evaluation dimensions.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

