dsh-responsive-ui
Skill4 starsChanged 13 days agoMITView on GitHub
Use when designing, implementing, or reviewing responsive client layouts, mobile and touch detection, text truncation, title wrapping, icon-only controls, mobile hover, tooltips and keyboard behavior, and focus during width changes in DeepSeek Harness.
4 other projects use a version of this, 1 of them edited; 1 of 1 edited versions we compared changed its rules.
How people change it
1 of 1 edited versions changed its rules.
Of the 1 edited version we compared: 1 made changes of their own.
Rules people drop
- Prefer CSS media features for presentation:
(pointer: coarse)describes the primary pointer's accuracy,(hover: none)describes its inability to hover, and width queries select layout breaks. These queries do not detect a physical keyboard. …dropped by 1 of 1
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- Hejunlong27/AIAuditOxword for word, first seen Nov 29, 2026
- TeFuirnever/azhou-ai-hubtheir own version, first seen Nov 22, 2026
- See-Sol-Lab/DeepSeekGUIedited, first seen Oct 25, 2026
- deepseek-ai/deepseek-harnessword for word, first seen Oct 20, 2026
Other versions4 projects use a version of this.
Word for word · 2
- deepseek-ai/deepseek-harness★ 289k100% same
- Hejunlong27/AIAuditOx★ 6100% same
Edited · 1
- See-Sol-Lab/DeepSeekGUI★ 27487% same
Wrote their own version · 1
- TeFuirnever/azhou-ai-hub★ 3same 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 repository32 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/notes/AGENTS.mdAGENTS.md
- .agents/notes/archived/AGENTS.mdAGENTS.md
- .agents/notes/implemented/AGENTS.mdAGENTS.md
- benchmarks/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- packages/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- snapshots/AGENTS.mdAGENTS.md
- vendor/AGENTS.mdAGENTS.md
- website/AGENTS.mdAGENTS.md
- agent-experienceSkill
- cordis-styling-nitpickingSkill
- dsh-archive-agent-notesSkill
- dsh-ci-test-reliabilitySkill
- dsh-client-ui-uxSkill
- dsh-code-reviewSkill
- dsh-create-upgrade-guideSkill
- dsh-cua-macos-signingSkill
- dsh-doc-writingSkill
- dsh-error-handlingSkill
- dsh-find-simplificationsSkill
- dsh-merging-stacked-prsSkill
- dsh-official-plugin-artworkSkill
- dsh-pr-descriptionSkill
- dsh-pre-push-checksSkill
- dsh-prose-standardSkill
- dsh-session-projectionSkill
- dsh-speed-up-perfSkill
- dsh-translate-docsSkill
- dsh-trim-cot-leakageSkill
- record-browser-gifSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
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 12
Use a viewport width of 390 CSS px as the primary acceptance minimum.
- Distinctive: line 18
Do not hide conflicts through global clipping, reducing all font sizes, or shrinking click targets.
- Distinctive: line 25
Prefer single-line truncation for tab navigation, visible selectors, buttons, tags, and similar components.
- Distinctive: line 30
Prefer displaying page titles in full.
- Distinctive: line 31
Prefer natural wrapping for card titles.
- Distinctive: line 38
Do not reduce “More account information” to an icon, because it navigates to a separate page.
- Distinctive: line 51
Do not show tooltips that only provide auxiliary information such as action names or keyboard shortcuts on mobile.
- Very specific: line 60
Prefer CSS media features for presentation: (pointer: coarse) describes the primary pointer's accuracy, (hover: none) describes its …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Responsive client UI
For visual reviews, select the impact scope, then apply these behavioral requirements and the UI review baseline. Compare affected wrapping and layout relationships in the whole page or modal's context while preserving drafts, focus and action access. Inspect all regions for an explicit full-interface review. Examples do not define coverage; fitting the viewport alone is insufficient.
1. Minimum viewport
Use a viewport width of 390 CSS px as the primary acceptance minimum. There must be no unintended overlap, clipping, page-wide horizontal scrolling, or inaccessible primary actions. Below 390px, layout requirements may be relaxed.
2. Decision order
- First adjust space allocation or wrap elements onto another line; then consider text truncation, icon-only controls, or moving icons into the More menu.
- Primary actions and primary states must not be omitted.
- Do not hide conflicts through global clipping, reducing all font sizes, or shrinking click targets.
- Reduce font sizes only when specifically required by product design.
3. Text truncation
- Truncated content must be fully available on a secondary page or by opening a menu. Example: Session statistics below the input box.
- Truncation must not lose errors or other key information.
- Prefer single-line truncation for tab navigation, visible selectors, buttons, tags, and similar components.
- Important information that is not available on another page must be displayed in full without truncation.
4. Titles
- Prefer displaying page titles in full. Move the action area onto another line when necessary. Example: the Plugins page's title wrapping behavior.
- Prefer natural wrapping for card titles. If the number of lines is limited, the full title must remain available to view.
5. Icon-only controls
- Reducing a control to an icon requires both:
- The icon clearly conveys its meaning, or the operation is familiar to users.
- A tooltip appears on hover; add one if needed.
- Do not reduce “More account information” to an icon, because it navigates to a separate page.
- The model selector in the input box can be reduced to an icon because users see it frequently and can open its menu to switch models.
- Another example is the linked conversation in an automation task.
6. Mobile hover behavior
- Enable hover effects under
@media (hover: hover), independently of viewport width. This queries the primary pointing device, not the current event; JavaScript hover handlers must ignore touch events on mixed-input devices. - Tapping on a phone must not leave behind backgrounds, highlights, or action-button visibility intended only for hover. Without hover, actions remain visible or reachable through an explicit control. Keyboard users can reach and reveal the same actions.
- Preserve normal selected, expanded, enabled, and pressed states, as well as focus indicators. Keep these styles independent of hover capability. Do not clear focus to remove a hover effect;
:focus-visiblecan also apply to text fields focused by touch. - Preserve focus during width changes when the control remains visible and interactive. Avoid remounting controls only to change layout. If the focused control is hidden or removed, move focus to a suitable remaining control without opening the mobile keyboard unnecessarily.
7. Mobile tooltips
- Do not show tooltips that only provide auxiliary information such as action names or keyboard shortcuts on mobile. For example, omit the “Copy” tooltip on a copy button; tapping still performs the original action directly.
- Tooltips that provide supplementary explanations must support tap-to-show on mobile. For example, the information tooltip beside the Plugins page description.
8. Mobile keyboard
On mobile, do not raise the input keyboard automatically unless it is explicitly intended.
9. Input capabilities and mobile text fields
- Prefer CSS media features for presentation:
(pointer: coarse)describes the primary pointer's accuracy,(hover: none)describes its inability to hover, and width queries select layout breaks. These queries do not detect a physical keyboard. Never branch layout on a parsed user agent. - Text fields take a 16px floor under
(pointer: coarse)to avoid iOS Safari's focus zoom. Fine pointers keep the existing compact field sizes. Use the field rules inpackages/client/ui-plugin-manager/src/client/PluginManagerPage.module.cssas the reference.
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.

