dsh-resume-studio: A DSH Resume Workshop for Generating HTML, Word, and PDF from JSON

Preface

In DeepSeek Harness (DSH), the common approach to creating resumes involves having the Agent write Markdown directly or invoke external templates, followed by manual export to Word or PDF. Layout, page counts, and the issue of “three pages in PDF but four in Word” often fail to align, and it is difficult to apply a consistent set of rules for writing checks.

dsh-resume-studio (loeiy/dsh-resume-studio) consolidates resumes into structured JSON. A plugin then uniformly renders HTML, DOCX, and PDF files. It provides three layouts, automatic page compression based on target page count, and reusable writing health-check rules. The following section introduces what it is, how to install it, typical usage, and its limitations.

What is this

Maintainer: loeiy; Category: Client-side plugin; License: MIT.
Positioning in one sentence: One JSON → HTML / Word / PDF, three layouts, automatic page compression, and writing health checks.

Unlike approaches that “format each version separately,” the README emphasizes Word and PDF sharing the same source: Word is the master document, and PDF is derived from it, ensuring consistent pagination.
Community Directory: https://www.skillhub.cn/plugins/loeiy/dsh-resume-studio; Source Code & Docs: https://github.com/loeiy/dsh-resume-studio.

Core Features

Rendering & Layouts

  • Output Formats: HTML, DOCX, PDF (Default naming: <Name>-Resume.html/.docx/.pdf).
  • Three Layout IDs: classic (Classic Blue Line), minimal (Minimal B&W), sidebar (Sidebar Info Band); use the resume_templates tool to list details.
  • In JSON, meta.template selects the layout, and meta.maxPages constrains the page count.

Automatic Page Compression

maxPages is a hard constraint, not a suggestion. The workflow is: Render DOCX → Convert to PDF → Read back page count → If exceeding limit, reduce line spacing by 1.5% and retry, up to 7 rounds maximum.

Writing & Interviews

Built-in interview workflow and bolding rules; the Agent calls resume_guide to ask questions and format the layout according to documentation conventions. **Double asterisks** in the body text indicate bolding, shared across HTML and Word.

Health Check (resume_check)

Rule Level Description
contact error Missing phone / email
pages error Exceeds maxPages
numbers warn No numbers in a single entry; overall number coverage < 60%
density warn Single entry exceeds 110 characters
bold warn Bold character ratio > 30%
structure warn Section count < 3 or > 6
verbs info Starts with “Responsible for / Participated in / Assisted”
date info Inconsistent time formats

Five Tools

After installation, five new tools appear in the conversation; you can also describe your needs in natural language within the prompt, and the Agent will select the appropriate tool.

Tool Function Required Params
resume_guide Returns interview workflow, writing & bolding rules; topic can specify a single section —
resume_init Generate JSON skeleton outPath
resume_render Output HTML / DOCX / PDF with auto page compression dataPath
resume_check Health check dataPath
resume_templates List the three layouts —

Installation & Activation

Requirements: DSH ≥ 0.2, Node.js ≥ 20 (engines in package.json is consistent with the README).

GUI: Left side Plugins → Top right Add Plugin → Paste repository address → Install:

https://github.com/loeiy/dsh-resume-studio

Command Line:

dsh plugin add github:loeiy/dsh-resume-studio

Pinned Version Example (Syntax from README):

dsh plugin add github:loeiy/dsh-resume-studio#v0.2.0

Method B: Local Directory

For immediate effect when modifying code, point to a local path, for example:

dsh plugin add file:E:\dsh-resume

Restart Required After Installation

Plugins are assembled at startup. Please fully quit and reopen DSH after installation. You should be able to see dsh-resume-studio on the plugin page.

Plugins run with the permissions of the current DSH process; it is recommended to review the repository source code and MIT license before installation to ensure compliance with your environment policies.

Typical Usage

After installation, there is no need to memorize tool names; natural language works fine. The correspondences in the README are as follows:

What You Say What the Agent Does
Help me write a resume for a Technical Program Manager position Call resume_guide to read workflow → Ask you questions in 3 rounds → Create JSON → Output the trio
Here is my old resume, help me change it to apply for Delivery Lead Read old content, reorganize sections, adjust wording for the new role
Here is the JD (full text). Revise it based on this, keep it to 2 pages Analyze JD, adjust focus, use maxPages to compress to 2 pages
Re-output a version with the sidebar layout, PDF only Switch layout, switch output format

Three common phrases to control output:

  • Page Count: Max 2 pages / Compress to 1 page
  • Layout: classic / minimal / sidebar, can request all three for comparison
  • Format: Need both PDF and Word / PDF only

Outputs default to the specified output directory.

Data Format Summary

resume_init can generate a fillable skeleton. Structure example (excerpt):

{
  "meta": { "template": "classic", "maxPages": 2 },
  "basics": {
    "name": "Your Name",
    "intent": "Job Intention: Target Position",
    "fields": [["Phone", "13800000000"], ["Email", "you@example.com"]]
  },
  "sections": [
    {
      "kind": "timeline",
      "title": "Work Experience",
      "items": [{ "head": "Company Name", "sub": "Position", "date": "2022.04 - Present",
                  "bullets": ["Action **Key Noun**, with a verifiable result number."] }]
    },
    { "kind": "list", "title": "Professional Skills", "bullets": ["**Category:** Mastered technologies and tools"] }
  ]
}

Three types of kind: timeline (with time), project (with project intro), list (pure list).

Environment & Limitations

  • Generating PDF requires the built-in LibreOffice Kit in DSH; if not found, only HTML + Word are output (formats="html,docx"), or set environment variables DSH_LO_CLI / DSH_LO_NODE.
  • Word and LibreOffice pagination may differ by ±1–3%: The goal is “not exceeding N pages,” not a promise of precision down to the line.
  • Fonts are not embedded: If the recipient’s machine lacks Microsoft YaHei, it is recommended to send the PDF directly.
  • HTML is a continuous long-page preview; the formal PDF should be based on the one converted from DOCX.

Conclusion

dsh-resume-studio transforms resume creation from “formatting each version separately” into a JSON-driven pipeline: Same-source Word / PDF, declarable page counts, three layouts, and checkable writing rules. It is suitable for completing the entire workflow from interview to delivery using an Agent in DSH.

The DSH ecosystem emphasizes “Everything is a plugin”; directories like SkillHub are community sites and have no official affiliation with DeepSeek / High-Flyer. Please verify versions, dependencies, and run permissions yourself when selecting plugins.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye