ui-ux-design
Skill1 starsChanged 6 days agoMITView on GitHub
Design user experiences from an engineer's perspective — user flows, wireframes, interaction patterns, responsive strategy, navigation, loading/error/empty states. Triggers: design the UI, user flow, wireframe, how should this screen look, loading state, error state, empty state, responsive design, navigation, page layout, form design, mockup.
20 other projects use a version of this.
Adopted by
Most recently taken up by
- jDxve/avengers-kittheir own version, first seen Nov 8, 2026
- mblauberg/provenanttheir own version, first seen Nov 8, 2026
- delorenj/skillstheir own version, first seen Nov 7, 2026
- velonx/agent-skillstheir own version, first seen Nov 1, 2026
- rogue-dev-studio/ai-agents-roguetheir own version, first seen Nov 1, 2026
- arvindand/agent-skillstheir own version, first seen Oct 31, 2026
Used with
Projects with it also use prd-generator and security-review.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
dhzrxSkillprd-generator
Generate comprehensive Product Requirements Documents with AI PM best practices for new features and products
Also in 3 projects that use this
SentrySkillsecurity-review
Finds exploitable application security vulnerabilities in code changes. Use for Warden security scans, appsec review, OWASP-style checks, authentication or authorization bugs, injection, XSS, SSRF, path traversal, secrets, unsafe crypto, webhook verification, open redirects, or sensitive data exposure.
Also in 3 projects that use this
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 20
- EmeaAppGbb/spec2cloud★ 100same name
- felvieira/claude-skills-fv★ 27same name
- arvindand/agent-skills★ 17same name
- delorenj/skills★ 17same name
- crgarcia12/Liliput★ 4same name
- hahuyhungdev/ai-coding-config★ 3same name
- alex-voloshin-dev/ai-skills★ 2same name
- AntJanus/skillbox★ 2same name
- rogue-dev-studio/ai-agents-rogue★ 2same name
- augments-labs/sdlc-skills★ 1same name
10 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository68 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-designSkill
- ai-evaluationSkill
- api-designSkill
- architecture-designSkill
- architecture-documentationSkill
- brainstormingSkill
- browser-verificationSkill
- bug-investigatingSkill
- build-vs-buySkill
- cicd-pipelineSkill
- code-archaeologySkill
- code-reviewingSkill
- code-slop-cleanupSkill
- compliance-privacySkill
- configuration-strategySkill
- containerizationSkill
- data-modelingSkill
- data-pipeline-designSkill
- data-qualitySkill
- dependency-impact-analysisSkill
- dependency-managementSkill
- deployment-checklistSkill
- deployment-repoSkill
- dx-auditSkill
- effort-estimationSkill
- exploratory-data-analysisSkill
- feature-planningSkill
- finops-cost-optimizationSkill
- frontend-architectureSkill
- gitops-deliverySkill
- git-workflowSkill
- incident-responseSkill
- infrastructure-as-codeSkill
- llm-app-engineeringSkill
- metrics-and-okrsSkill
- ml-experiment-trackingSkill
- ml-model-deploymentSkill
- ml-pipeline-designSkill
- mobile-architectureSkill
- mobile-releaseSkill
- notebook-to-productionSkill
- observability-designSkill
- performance-optimizationSkill
- plan-executionSkill
- prd-writingSkill
- project-documentationSkill
- project-proposalSkill
- project-reviewSkill
- refactoringSkill
- release-managementSkill
- research-methodologySkill
- resilience-engineeringSkill
- retrospectiveSkill
- rollback-strategySkill
- security-auditSkill
- skill-routerSkill
- statistical-analysisSkill
- strategic-reviewSkill
- subagent-orchestrationSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Design the states, not just the happy path: Every screen has at least 5 states: loading, empty, partial data, full data, and error.
- Distinctive: line 22
Do not pick the library "just as a starting point".
- Distinctive: line 30
Before designing any screen, map the complete user journey:
- Distinctive: line 38
Document as an ASCII flow diagram or structured list:
- Distinctive: line 72
Don't design pixel-perfect layouts — design information architecture.
- Distinctive: line 91
When to use modal vs inline vs new page
- Distinctive: line 137
Forgiveness: Every destructive action should have undo or confirmation.
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
UI/UX Design
Design user interfaces from a senior engineer's perspective. This isn't about pixel-perfect mockups — it's about defining user flows, interaction patterns, and UI states clearly enough that implementation is unambiguous. Engineers do this when there's no dedicated designer, or when translating vague designs into complete specifications.
Core Principle
Design the states, not just the happy path. Every screen has at least 5 states: loading, empty, partial data, full data, and error. Designing only the "full data" state is the #1 cause of poor user experience.
Scope boundary: naming the owner is not the same as answering anyway
State-management library choice (Zustand vs Redux Toolkit vs Context), the
server/client state split, data fetching, and component folder structure belong
to frontend-architecture. When the ask turns to those, hand off and stop:
name the skill, carry the approved flows and screen states forward as the
constraints the architecture has to satisfy, and leave the choice to it.
Do not pick the library "just as a starting point". A recommendation offered in passing is the one the reader acts on, and it pre-empts the trade-off the owning skill exists to work through — with none of its reasoning attached.
Workflow
Step 1: Map the User Flow
Before designing any screen, map the complete user journey:
- Entry point: How does the user arrive? (Direct link, navigation, notification, redirect)
- Happy path: The ideal sequence of screens and actions
- Branch points: Where can the user make different choices?
- Edge paths: What happens on errors, cancellation, timeout, or edge cases?
- Exit points: Where does the user end up after completing (or abandoning) the flow?
Document as an ASCII flow diagram or structured list:
[Landing] → [Sign Up Form] → [Email Verification] → [Onboarding] → [Dashboard]
↓ ↓
[Login Instead] [Resend Email]
↓ ↓
[Login Form] [Verification Timeout] → [Support]Step 2: Design Each Screen's States
For every screen in the flow, define all states:
| State | What the user sees | When it occurs |
| Loading | Skeleton or spinner | Data is being fetched |
| Empty | Illustration + CTA | No data exists yet |
| Partial | Content + loading indicator | Some data loaded, more coming |
| Loaded | Full content | Data fetch complete |
| Error | Error message + retry action | Fetch failed |
| Offline | Cached content + offline banner | No network (if applicable) |
The empty state is a design opportunity, not just a blank page. "You have no projects yet. Create your first one →" is better than an empty table.
Step 3: Specify Layouts and Hierarchy
For each screen, define the content hierarchy. Use the structure at templates/screen-spec.md:
- Primary action: The one thing the user should do on this screen
- Content hierarchy: What's most important → least important (top → bottom, left → right)
- Secondary actions: Available but not prominent
- Navigation: How to move forward, backward, and sideways
Don't design pixel-perfect layouts — design information architecture. What goes where, why, and in what priority order.
Step 4: Define Interaction Patterns
For each interactive element, specify:
Forms:
- Validation timing: On blur, on submit, or real-time?
- Error display: Inline per field, summary at top, or both?
- Multi-step forms: Progress indicator, save on each step, back navigation?
- Submission feedback: Button loading state → success message or redirect
Lists and Tables:
- Pagination, infinite scroll, or load more?
- Sorting and filtering: Which columns, client-side or server-side?
- Bulk actions: Selection model, confirmation for destructive actions
- Empty/filtered-empty states
Modals and Overlays:
- When to use modal vs inline vs new page
- Close behavior (X, click outside, Escape key)
- Focus trapping and restoration
Feedback and Notifications:
- Success: Toast, inline message, or redirect?
- Error: Inline, toast, or modal for critical errors?
- Progress: Determinate bar, indeterminate spinner, skeleton?
See references/interaction-patterns.md for common patterns.
Step 5: Plan Responsive Behavior
Define how the layout adapts across breakpoints:
| Breakpoint | Target | Layout Adaptation |
| < 640px | Mobile | Single column, bottom nav, full-width inputs |
| 640-1024px | Tablet | Two columns, collapsible sidebar |
| > 1024px | Desktop | Multi-column, persistent sidebar, hover states |
For each major layout section, specify what changes:
- Navigation: Hamburger menu on mobile vs sidebar on desktop
- Data tables: Card view on mobile vs table on desktop
- Images: Aspect ratio changes, cropping strategy
- Forms: Stacked on mobile vs side-by-side on desktop
Step 6: Produce the Specification
The deliverable is organized by screen, not by topic: one block per screen (and per modal or panel that acts as one, such as a create/edit form), every block carrying the same sections in the same order, from templates/screen-spec.md:
- Purpose — what the user accomplishes here
- Arrives from → leads to — the entry points, where the primary action goes, the secondary exits
- Content hierarchy — primary action first
- States — loading, empty, error, loaded, for this screen
- Interactions — its forms, CRUD feedback, destructive-action confirmation
Steps 2–5 are how you think the design through; they are not the answer's outline. Don't pull states or interactions out into cross-screen sections: someone building one screen must find all of it in that screen's block. Shared patterns get stated once and referenced by name from each block.
Give the specs in the same response, whether or not you also save them as docs/ui/feature-name.md (link from the PRD if one exists) — offering to write them later is not delivering them. When the question is about one screen's states rather than designing screens, answer those states; don't expand into full specs.
Principles Applied
- KISS: Design the simplest interface that serves the user's goal. Every additional element competes for attention.
- Progressive disclosure: Show the most important information first. Reveal complexity only when the user needs it.
- Consistency: Reuse patterns across the app. If lists everywhere use pagination, don't switch to infinite scroll for one page.
- Forgiveness: Every destructive action should have undo or confirmation. Users make mistakes.
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.

