tencent-docx

Generate and format professional Word documents through a staged creation, styling, and conversion pipeline.

68|25|Updated Jul 24, 2026
One-click install
npx skills add https://github.com/rojim666/SztuCode --skill tencent-docx-rojim666
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: tencent-docx
Source: https://github.com/rojim666/SztuCode/tree/main/py-runtime/src/sztu_code/core/prompts/workbuddy/skills/_builtin-plugins/tencent-docx
Command: npx skills add https://github.com/rojim666/SztuCode --skill tencent-docx-rojim666

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Creating professional Word documents such as research reports, contracts, academic papers, and official documents requires both domain-specific writing expertise and precise formatting knowledge, which is slow and error-prone to do manually. ## Core Features & Use Cases - End-to-End Document Pipeline: Orchestrates a three-stage workflow (S1 content creation, S2 HTML styling, S3 HTML-to-DOCX conversion) via the tdoc-orchestrator, producing finished .docx files with automatic preview. - Domain Expert Writing: Routes creation tasks to specialized experts for legal contracts, stock research reports, academic papers, business copy, work reports, tech blogs, science writing, and poetry, with a general-writer fallback. - Professional Typesetting: Applies genre-specific templates (government documents, contracts, annual reports, meeting minutes) with design tokens, quality review gates, and critic-based revision loops. - Use Case: Ask for a stock research report on the AI industry, and the pipeline researches current data, writes a structured report with risk disclosures, typesets it with a research-report template, converts it to .docx, and opens a preview. ## Quick Start Ask the assistant to write and format a professional Word document, for example: generate a formal annual work summary report as a .docx file.

Frequently Asked Questions about tencent-docx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a professional Word document with this skill?▼

Describe the document you need, such as a contract, research report, or work summary. The skill loads the tdoc-orchestrator, which classifies the request, routes it through creation, formatting, and conversion stages, and delivers a finished .docx file opened in preview.

How do I beautify or reformat an existing Word document?▼

Provide the existing document and ask for abstract beautification like a more professional layout. The orchestrator runs the beautify_only chain, extracting content, applying a genre-matched template, and converting the result back to .docx.

What document types and templates are supported?▼

Built-in templates cover legal contracts, academic papers, government documents per GB/T 9704, business reports, meeting minutes, stock research reports, and annual reports, with a generic base template as fallback for unmatched genres.

Can this skill edit or polish an existing .docx file?▼

No. Editing, polishing, and template-filling tasks on existing .docx files are explicitly out of scope and are handed off to the separate tencent-docs-routing skill. This skill only handles creation, beautification, and format conversion.

Why does document creation go through multiple stages instead of one step?▼

The staged pipeline separates writing, typesetting, and conversion so each stage uses specialized logic: domain experts produce Markdown, the formatter applies design tokens and templates, and the converter produces the final .docx with quality gates between stages.