In the development practice of DeepSeek Harness (DSH), agents often need to generate typography based on design specifications. Manually calculating font-size scales or modular ratios is tedious and error-prone. The DSH plugin ecosystem aims to solve such specific engineering problems.
Plugin Positioning¶
dsh-modular-scale is a plugin maintained by uckkk, with core functionality for font-size scale and modular ratio calculation. It addresses the problem of agents needing to quickly obtain font-size values that comply with a design system when generating typography layouts.
Core Features¶
- Font-size scale calculation
- Modular ratio calculation
Installation and Activation¶
- Run the installation command:
dsh plugin add github:uckkk/dsh-modular-scale
- In the DSH configuration file
package.json, locate thedsh.profile.bundlesfield and add the plugin name:
{
"dsh.profile.bundles": [
"dsh-modular-scale"
]
}
Typical Usage¶
After installation, simply call the tools registered by this plugin directly in a DSH session.
Use Cases and Notes¶
- Use Cases: When an agent needs to generate a font-size list based on a specific ratio (such as 1.2 or 1.618).
- Notes: This plugin is a pure Node.js implementation with no network dependencies. Installing it runs third-party code on your local machine, so please review the source code and license (MIT) yourself.
This tool provides foundational design calculation capabilities for agent development. For more details, see DSH Plugin Directory or GitHub Repository.