Preface¶
When building internal hospital tools in DeepSeek Harness (DSH), a common scenario involves scattered development by different people for pages related to HIS (Hospital Information System) support, medical supplies warehouses, and equipment maintenance. Consequently, every time the assistant generates a UI, it must re-describe colors, cards, table column ordering, and status styles, leading to inconsistencies where “every page looks different.” The DSH community mounts capabilities as plugins; vladimirzz487/dsh-medical-ui-design solidifies the maintainer’s personal medical desktop UI standards into a skill that loads automatically, providing token mapping and executable audit scripts for both Web and WPF.
What is this¶
The Hospital Software Desktop UI Design Skill (skill name medical-desktop-ui-design within the repository) is a DSH plugin containing a design specification for hospital internal workbenches. Maintained by vladimirzz487, it is categorized as a Client in the SkillHub directory. It solves the problem of whether the assistant can stably apply a consistent medical scenario design system when adding new pages, modifying features, adjusting layouts, adding fields, or conducting UI walkthroughs, rather than repeatedly verbalizing design details.
Core Features¶
The following introduces the capabilities explicitly listed in the plugin’s documentation.
Automatic Triggering and Specification Carrier¶
The skill resides permanently in the DSH skill directory. When a task involves adding a new page, changing functionality, adjusting layout, adding fields, redesigning the interface, or performing a UI walkthrough, the assistant can load it automatically without manual selection (you can also explicitly request the use of the medical-desktop-ui-design skill).
The main specification text is in assets/skill/SKILL.md, accompanied by tokens, layout recipes, components, six-state feedback, and audit checklists under references/, as well as implementation manuals for Web and WPF; templates/tokens.css and templates/theme.xaml can be imported directly.
One Token, Dual Platform Support (Web & WPF)¶
The same set of colors, font sizes, spacing, corner radius, and state semantics provides mapping instructions for both HTML/CSS/React/Vue/Tailwind and WPF/XAML. Applicable tech stacks include Electron, Tauri, Web Desktop, and WPF/XAML deployments for intranet executables.
Page Recipes and Delivery States¶
Beyond principles, it provides wireframes and structural ordering for workbench homepages, business lists, detail drawers, and form pages. The six states—Empty, Loading, Error, Offline, Disabled, and No Permission—are mandatory for delivery. For background real-time data, it emphasizes silent refreshing and incremental updates to avoid full-page refreshes or closing details the user is currently viewing.
Privacy, Permissions, and Auditing¶
Rules are built-in for minimum necessary information, masking of sensitive fields, and prioritizing hiding or disabling access without permission. The zero-dependency Node script assets/skill/scripts/ui-audit.mjs can scan for hardcoded color values, overly small fonts, gradients, glassmorphism, Emoji icons, table row heights, etc. It outputs file paths, line numbers, and fix suggestions. The --json flag allows integration with CI; the exit code is 1 if error level issues are found.
The plugin is a pure insert bundle patch, zero-dependency and requires no build; the package.json version is 1.0.0 with an MIT license.
Installation and Activation¶
Please review the repository source code and LICENSE before installing. The plugin runs with the permissions of the current DSH process; installing it implies trust in the maintainer’s code.
Install from GitHub¶
First, replace web in the command with your actual profile name:
dsh plugin --profile web add github:vladimirzz487/dsh-medical-ui-design
Alternatively, you can enter the following in the DSH plugin manager:
https://github.com/vladimirzz487/dsh-medical-ui-design
The documentation states that no restart is required after installation (hot mounting); medical-desktop-ui-design will appear in the skill directory for new sessions.
Verification¶
dsh --profile web --dump-config | grep dsh-medical-ui-design
Typical Usage¶
1. Let the Assistant Generate UI According to Specifications¶
Simply describe the business logic, for example:
- Add a transfer order detail page for the medical supplies warehouse that needs to view material details and approval records.
- Add statistics for new applications today to the workbench homepage, and move recent records below the to-do list.
- Add an equipment number column to the repair order list, and keep only “View” and “Process” in the action column.
- Perform a UI walkthrough on existing interfaces to unify font sizes and status colors.
The assistant will produce layouts, components, states, and self-check conclusions based on the skill content, citing the corresponding reference manuals.
2. Run Compliance Audit Independently¶
node assets/skill/scripts/ui-audit.mjs <file_or_directory...> [--json] [--level=error|warn|info] [--max-issues=N]
Examples:
node assets/skill/scripts/ui-audit.mjs src --level=warn
node assets/skill/scripts/ui-audit.mjs app/ui/MainWindow.xaml --json
Audit results are clues rather than final verdicts and require manual confirmation combined with page semantics.
Applicable Scenarios and Notes¶
Applicable Software Types (according to README): HIS support tools, medical device and equipment management, medical supplies warehouses, materials and maintenance management, hospital internal workbenches, data monitoring, and business assistance tools.
When conflicting with existing design systems: You can map project tokens one-to-one to the semantics in references/design-tokens.md (e.g., Brand Main Color → Primary). When asking questions, state that you are continuing to use the existing system and only supplementing states and layout. The skill does not modify business logic structures, and the audit script is a read-only scan.
Development Notes: Modifications to SKILL.md require a DSH restart to take effect; changes to references/, templates/, and scripts/ take effect immediately as they are read on-demand at runtime. Run node tests/plugin-smoke.mjs for local self-checks (24 items).
SkillHub is an independent community directory site and has no official affiliation with DeepSeek or High-Flyer.