frontend-design-quality
Skill1 starsChanged 5 months agoMITView on GitHub
Ensure frontend design work follows established repo patterns, minimizes clicks, fills real viewports, stays responsive, avoids text overflow, reduces portal UI clutter, covers content-rich surfaces such as blogs/resources, and is verified with Playwright or equivalent visual screenshots. Use when building, changing, or reviewing frontend UI, pages, portals, dashboards, navigation, forms, content systems, responsive layouts, or user-facing flows in a repo.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- AL-JANEF/janef-forgetheir own version, first seen Sep 19, 2026
- AL-JANEF/janefskillstheir own version, first seen Sep 19, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- AL-JANEF/janef-forge★ 1same name
- AL-JANEF/janefskills★ 1same name
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 repository15 other files it gives its agents.
- clarify-before-buildSkill
- client-requirements-to-planSkill
- codebase-prune-reviewSkill
- docker-disk-cleanupSkill
- error-logging-instrumentationSkill
- feature-design-preflightSkill
- full-app-reviewSkill
- laptop-currency-maintenanceSkill
- nextjs-vercel-analyticsSkill
- pr-production-gateSkill
- repo-technical-documentationSkill
- repo-testing-setupSkill
- security-threat-modelSkill
- test-readiness-preflightSkill
- user-action-coverage-reviewSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
25 rules. About 0 are common, 20 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈20
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Treat frontend work as complete only when the implemented flow is usable, visually coherent, and verified across real viewport sizes.
- Distinctive: line 12
Start by reading the repo's existing UI patterns before designing anything new.
- Distinctive: line 18
Remove redundant confirmation screens, duplicate navigation, avoidable modals, and repeated data entry.
- Distinctive: line 24
If a new pattern is required, make it small, explain why existing patterns do not fit, and keep it compatible with the current design …
- Very specific: line 29
Use grid, flex, container constraints, minmax, min-height: 100dvh, sticky regions, and scroll regions intentionally.
- Distinctive: line 30
Avoid viewport-scaled font sizing.
- Distinctive: line 32
Keep every screen responsive.
- Distinctive: line 33
Verify no horizontal document overflow.
- Distinctive: line 34
Ensure long labels, names, emails, URLs, headings, and translated-length strings wrap or truncate intentionally.
- Distinctive: line 35
Ensure buttons, tabs, filters, table cells, cards, and form labels cannot resize the layout into overlap.
- Distinctive: line 40
Prefer dense but calm operational layouts over marketing-style sections.
- Distinctive: line 41
Keep destructive, financial, permission, and publishing actions explicit and recoverable.
- Distinctive: line 45
If the user points to an existing content-rich repo as the reference implementation, inspect it when available and use it only as a pattern …
- Distinctive: line 47
Verify visually and behaviorally.
- Very specific: line 48
Read references/design-verification.md for the verification checklist.
- Very specific: line 49
Read references/playwright-design-patterns.md when adding or updating Playwright tests for frontend design coverage.
- Distinctive: line 50
Add or update automated coverage for every user action introduced or changed.
- Distinctive: line 51
Use Playwright or the repo's equivalent browser testing tool for screenshots, interaction tests, overflow checks, and route coverage.
- Distinctive: line 52
Run the repo's local test commands, honoring AGENTS.md and container requirements.
- Distinctive: line 56
Do not present frontend work as done until these are true:
- Distinctive: line 60
Every changed route works at small phone, large phone, tablet portrait, tablet landscape, laptop, desktop, and wide desktop dimensions.
- Distinctive: line 62
No visible text, buttons, cards, nav items, form controls, tables, or media overlap or overflow unintentionally.
- Distinctive: line 64
All changed user actions have automated browser coverage.
- Very specific: line 69
Use references/design-verification.md for concrete viewport sets, Playwright assertions, screenshot expectations, and review checks.
- Very specific: line 71
Use references/playwright-design-patterns.md for reusable Playwright test templates covering viewport matrices, overflow detection, …
≈ “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
Frontend Design Quality
Core Standard
Treat frontend work as complete only when the implemented flow is usable, visually coherent, and verified across real viewport sizes.
Start by reading the repo's existing UI patterns before designing anything new. Prefer established layout primitives, typography, spacing, navigation, form controls, loading states, empty states, error states, and test utilities over new visual systems.
Workflow
- Map the user path.
- Identify the fewest practical clicks from entry point to successful outcome.
- Remove redundant confirmation screens, duplicate navigation, avoidable modals, and repeated data entry.
- Preserve necessary safety checks for destructive, billing, privacy, and admin actions.
- Inventory existing patterns.
- Inspect similar pages and shared components before adding new layout or component styles.
- Reuse project design tokens, shells, grids, buttons, form fields, cards, menus, tabs, toasts, and table/list patterns.
- If a new pattern is required, make it small, explain why existing patterns do not fit, and keep it compatible with the current design language.
- Design by actual viewport, not breakpoint labels.
- Reason about concrete widths and heights, including short laptop screens, tablet portrait/landscape, small phones, and wide desktop.
- Fill the useful viewport for primary tasks without creating empty "lg-only" layouts.
- Use grid, flex, container constraints,
minmax,min-height: 100dvh, sticky regions, and scroll regions intentionally. - Avoid viewport-scaled font sizing; make text responsive through layout, wrapping, hierarchy, and container constraints.
- Keep every screen responsive.
- Verify no horizontal document overflow.
- Ensure long labels, names, emails, URLs, headings, and translated-length strings wrap or truncate intentionally.
- Ensure buttons, tabs, filters, table cells, cards, and form labels cannot resize the layout into overlap.
- Support keyboard navigation, focus visibility, touch targets, and accessible names.
- Simplify portal flows.
- For user and admin portals, prioritize fast scanning, clear task status, obvious next actions, and low visual clutter.
- Prefer dense but calm operational layouts over marketing-style sections.
- Keep destructive, financial, permission, and publishing actions explicit and recoverable.
- Cover content-rich implementations.
- For blogs, resources, articles, docs, manifests, newsletters, or CMS-backed pages, design the full content system: listing, detail page, rich text rendering, metadata, categories/tags, author/date, media, empty states, errors, draft/unpublished states where applicable, SEO/social metadata, and admin editing/preview flows when the repo supports them.
- If the user points to an existing content-rich repo as the reference implementation, inspect it when available and use it only as a pattern reference, not as a dependency.
- Verify visually and behaviorally.
- Read
references/design-verification.mdfor the verification checklist. - Read
references/playwright-design-patterns.mdwhen adding or updating Playwright tests for frontend design coverage. - Add or update automated coverage for every user action introduced or changed.
- Use Playwright or the repo's equivalent browser testing tool for screenshots, interaction tests, overflow checks, and route coverage.
- Run the repo's local test commands, honoring AGENTS.md and container requirements.
- Read
Acceptance Bar
Do not present frontend work as done until these are true:
- The design matches or deliberately extends established repo patterns.
- The primary task can be completed with the minimum practical number of clicks.
- Every changed route works at small phone, large phone, tablet portrait, tablet landscape, laptop, desktop, and wide desktop dimensions.
- Screens fill the useful viewport without awkward dead zones or clipped primary content.
- No visible text, buttons, cards, nav items, form controls, tables, or media overlap or overflow unintentionally.
- Loading, empty, error, validation, disabled, success, and permission states are designed when they can occur.
- All changed user actions have automated browser coverage.
- Screenshots or visual assertions prove the final UI works, not just that tests passed.
Reference
Use references/design-verification.md for concrete viewport sets, Playwright assertions, screenshot expectations, and review checks.
Use references/playwright-design-patterns.md for reusable Playwright test templates covering viewport matrices, overflow detection, screenshots, user actions, portals, and content-rich pages.
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.

