agentleFS
VirtualHatch-IncVirtualHatch-Inc/Vardock/.agents/skills/dsh-client-ui-ux/SKILL.md

dsh-client-ui-ux

Skill4 starsChanged 13 days agoMITView on GitHub

Design and review DSH user-visible UI: alignment, spacing, icons, visual foundation, geometry and interaction. Use before UI changes in client, experimental and app packages; verify affected rendered results before handoff.

7 other projects use a version of this.

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projectsWeek of Nov 22: 0 new projects
Oct 2026Nov 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Most recently taken up by

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 12 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 12

    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
  1. Distinctive:

    Use this skill as the entry point for UI design and review.

    line 8
  2. Distinctive:

    Use applicable design rules for UI changes, including visible loading, error, disabled, expanded and focus states.

    line 13
  3. Distinctive:

    When a before/after comparison is needed, preserve the actual starting implementation, including uncommitted work, and use comparable …

    line 34
  4. Distinctive:

    Before handoff, review or push, check only new cumulative interactions, missing required checks and invalidated evidence.

    line 36
  5. Distinctive:

    Verify colors in light and dark themes.

    line 64
  6. Distinctive:

    Use theme typography roles, then the page's scale, then a comparable page's size/spacing ratios.

    line 66
  7. Distinctive:

    Independent child card/group: use its own role/size tier, not the dialog radius or subtraction of all parent padding.

    line 75
  8. Distinctive:

    Keep fills, strokes and overlays geometrically stable across hover, pressed, selected, loading and disabled states.

    line 78
  9. Distinctive:

    Follow error handling. Choose feedback by message lifetime:

    line 86
  10. Distinctive:

    Use short plain-language errors, preferably one sentence, without internal jargon except necessary diagnostic codes.

    line 91
  11. Distinctive:

    Use shared scrollbar styles and a small inset.

    line 101
  12. Distinctive:

    Update the owning section or reference within this skill.

    line 113

“Common” is measured: kept by at least 6 in 10 of the 3 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

DeepSeek Harness UI development

Use this skill as the entry point for UI design and review. It owns the workflow, visual foundation, geometry and interaction guidance; alignment, spacing and icon details live in its references below. Load only the references relevant to the task; examples explain judgment, not coverage.

<a id="required-review-loop"></a>

UI change workflow

Use applicable design rules for UI changes, including visible loading, error, disabled, expanded and focus states. Choose effort by impact and regression risk; ordinary development does not require a full design audit.

ChangeRequired inspectionAdditional records
Local copy, icon reuse, color or spacingInspect the actual page, affected neighbors and relevant states; run applicable tests. Apply the minimum checks below.Briefly report results and material gaps. No separate plan, axis drawing, scene inventory, source snapshot or screenshot report is required by default.
Page layout, shared components or global stylesIdentify affected relationships and consumers; inspect distinct affected layout, content and state variants in assembled pages. Reuse evidence only for justified equivalents.Briefly state scope. Preserve the starting version and comparable images when requested or needed to explain broad changes or assess regression risk.
Explicit comprehensive reviewCover the agreed regions and relevant states; distinguish inspected results, defects and uninspected scope.Use the review cookbook for coverage records, findings and supporting evidence. A comparison request alone does not require a product-wide audit.

Minimum checks for affected UI

These checks apply even to small changes; optional documentation does not make inspection optional. Open the actual page and inspect the changed element with its directly affected neighbors, rather than judging CSS or an isolated component alone.

  • Color or opacity: inspect light and dark themes, including affected foreground/background and state combinations.
  • Layout, spacing, typography or sizing: inspect a constrained container and long or wrapping content; check both sides of a changed breakpoint, alignment, clipping and access to actions.
  • Interaction: exercise the changed path and affected focus, disabled, loading, error, expanded and overlapping states. Check only states the change can affect, not every possible combination.
  • Shared components or global styles: trace affected consumers and inspect distinct assembled layouts and states; one isolated example cannot establish coverage.

If a required scene is unavailable, state what was not checked, why and how it can be verified; a labeled production-component fixture can provide partial evidence, not an actual-page pass. Do not claim verification complete while required checks remain missing. Run the original applicable tests; source inspection and passing tests alone do not establish the rendered result.

Read unchanged owners once; consult examples for uncertain judgments. Inspect relevant states and actual usage sizes, not a fixed screenshot count or every width × theme × state combination. Batch related edits and reuse a current application instance and valid evidence. Documentation-only changes and refactors with evidence of unchanged rendering need no new UI captures; state that basis.

When a before/after comparison is needed, preserve the actual starting implementation, including uncommitted work, and use comparable capture conditions. Never recreate a missing before image and present it as an original. Protect existing work regardless of whether extra evidence is needed.

Before handoff, review or push, check only new cumulative interactions, missing required checks and invalidated evidence; do not repeat completed verification at each stage. Report results and material gaps accurately. Do not claim full coverage or visual acceptance when required scenes or checks are missing.

These effort levels change only the additional design-review procedure. Existing client test requirements, GUI PR GIF requirements, and designer/product approval still apply, including to local changes when their original triggers are met.

Select the rule owners

For layout changes, read the alignment and spacing references. Read the icon reference when selecting, drawing or reviewing artwork, or when adding, changing or reviewing icon buttons, icon-only actions or informational icons, including reuse without artwork changes. Other tasks use the relevant sections below. Do not load all references by default. Existing responsive and official-artwork skills retain their scopes; numeric scales stay with their implementation owners.

Decision needed before implementationSection or reference
Shared axes, text starts, centering, tree indentation, complete icon boxesAlignment
Semantic groups, inner/outer gaps, repeated rhythm, section separationSpacing and grouping
Interface icon selection and artwork; icon buttons and icon-only actions, tooltips, informational hover content, accessible labels and focusIcons
Color, typography and existing treatmentsVisual foundation; Web styling owns tokens/materials
Component geometry, nested contours and state fillsGeometry decisions; radius standard owns values and exceptions
Feedback lifetime, loading, overlays, scrolling and platform clearanceInteraction and feedback; error handling owns failure guarantees
Responsive layout rules, mobile-specific interactions, and truncation/ellipsis rules for components like text and buttonsResponsive UI
Official plugin artwork and feature previewsOfficial artwork
Copy, locale ownership and component semanticsProse standard, locale ownership, primitives catalog
Density, information hierarchy, combined control states and component choicePrinciple reference sections 3–6

Reuse before adding

Extend existing components, containers and interactions when the capability fits. Register right-sidebar content through a slot in the existing sidebar; do not create a separate sidebar. Follow icon reuse. Before restructuring, read client instructions and client defensive patterns for component/state ownership and layering.

Visual foundation

  • Reuse tokens, values and complete treatments from the target page or nearest established sibling before adding literals; Plugins is the usual full-page reference.
  • Verify colors in light and dark themes; keep ink/background pairs readable, especially dimmed text.
  • Feature CSS you add or change uses font weight ≤500; emphasize with size or ink. ui-theme markdown typography tokens are the exception.
  • Use theme typography roles, then the page's scale, then a comparable page's size/spacing ratios. Do not invent a size for a single element. Peers share sizes; keep the scale small (13px is the established row/detail size).
  • Apply alignment and the same-foreground rule to icon/text relationships, including value chevrons and search prompts.

Component geometry

Choose component role and size variant, then its container relationship. Compare height, radius, curve, inset and material together; equal radii alone do not establish coherence, and wrapping/expansion alone does not justify larger radii. Radius standards own values and exceptions.

  • Inset: coordinate inner/outer curves and inset. Radius subtraction is exact for concentric circular arcs; for superellipses, subtraction is only a nominal sizing rule, so inspect diagonal whitespace as well as side gaps.
  • Flush or adjoining: the enclosure owns exposed corners; internal joins stay square. Hover fills and pseudo-elements follow that contour without clipping menus or focus.
  • Independent child card/group: use its own role/size tier, not the dialog radius or subtraction of all parent padding.
  • Circles/capsules: preserve shape, including avatar container and image, using the theme's round-curve exception; ordinary controls use the shared curve.

Keep fills, strokes and overlays geometrically stable across hover, pressed, selected, loading and disabled states. Reuse card/elevation materials: shadows already include neutral hairlines; retain semantic state-colored borders without doubling neutral edges.

Compare related controls, including small selection controls, at actual size in affected themes/states and relevant long-label/narrow layouts. Static checks reject unsupported declarations; rendered comparison judges fit. Consult geometry cases when needed. Apply to scoped changes, not bulk restyling.

Interaction and feedback

Feedback surfaces

Follow error handling. Choose feedback by message lifetime:

  • Transient success/failure uses the app-wide Toast, with state and rendering in a host that survives the reporting panel/tab, such as a shell.overlay entry. A deletion may close its source panel; a Toast owned by that panel would disappear with it. Do not toast pending states.
  • Failed operations retain visible data; failed deletion keeps the row.
  • Surface-owned failures use in-place notices: query failure with Retry or field validation. Keep a compact notice beside populated content; only empty panels center a full error state.
  • Use short plain-language errors, preferably one sentence, without internal jargon except necessary diagnostic codes. Chinese notices of at most two sentences omit the trailing 句号(。). Reserve space or overlay notices so neighbors do not shift.

Loading states

Lists use skeletons; other page-level loads center a bare spinner. Keep one loading treatment per page/component, including concurrent regions. Add loading text only when context requires it.

Overlays and menus

Before merge, verify every menu, popover and tooltip closes on outside click (and Escape when focusable), fits the viewport with an edge margin, and escapes ancestor clipping, containing blocks and neighbor coverage, using a portal to body when needed. Flip only into a side that fits; never oscillate when neither fits.

Use shared scrollbar styles and a small inset; bars must stay inside containers without being clipped by rounded corners or edges.

Platform window adaptation

New headers/pages account for macOS and Windows chrome. Menu, Modal and overlay primitives consume --dsh-frame-top-clearance; fix local macOS insets with scoped [data-platform='darwin'] overrides and stylesheet assertions, not global-variable changes. Review the total clearance + page inset.

Check the rules together

Inspect the composition, then affected internal/cross-group relationships, distant peers and expanded content. Match both endpoints of axes; compare complete icon boxes before optical adjustments. Preserve popup/focus visibility, field feedback, narrow-layout actions and drafts. Check affected theme materials/platform backdrops. Full-interface claims cover all regions; fixtures/crops establish only what they render.

Maintain one owner per rule

Update the owning section or reference within this skill; do not expose its design specialties as separate skills. Keep examples in the case reference; AGENTS and PR workflows link here instead of duplicating rules.

Rule changes state applicability, decisions, exceptions and observable verification; update a distinguishing case and remove superseded statements elsewhere. Declare migration versus future-edit scope without implying existing UI conforms. Automate only mechanically decidable checks. Local review tools consume repository rules and retain source/rule revisions rather than maintaining another standards copy.

Design review escalation

  • A PR with extensive UI changes, or any clearly user-perceivable change to UI or interaction, must get a designer or product review. When no approver holds that role, suggest requesting one from the design/product reviewers (roster as of 2026-09: yx zhang, yifffan, zhangziya, gaokaige; update this list here when membership changes).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.