office-docx SKILL.md skillA

office-docx from huiliyi37/tianshu-harness is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add huiliyi37/tianshu-harness/office-docx@git:20260815.236a44b

Pins git:20260815.236a44b in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
huiliyi37/tianshu-harness
Path
plugins/office-docx/skills/SKILL.md
Versions recorded
1
Latest version
git:20260815.236a44b, committed Aug 15, 2026
Size
1,726 bytes
Repository stars
1,254
License
Apache-2.0

生成与读取 Word 文档(.docx)——报告、合同、交付文档、投标书;原生 docx 渲染,支持 heading/paragraph/table/code/list 内容块与居中标题.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Office DOCX(Word 文档生成与读取)

参考 anthropics/skills(Apache 2.0)提炼,适配天枢 `office-docx` 插件(与 dsh-office 0.1.5 同步)。

## 何时使用

- 需要交付 **Word 格式**文档:报告、合同、方案书、标书
- 用户明确要求 .docx / Word 导出(可继续编辑的文档——Word 适合需要后续人工编辑的场景,纯交付阅读用 PDF 更稳)
- 只需快速读内容时用 `docx_read` 抽取现有 .docx 文本进上下文

不需要时别用——Markdown 更轻;正式排版交付优先 PDF(天枢 `office-pdf`)。

## 内容块速查

| 块 | 字段 | 说明 |
|----|------|------|
| `heading` / `h1` | `text` | 一级标题 |
| `h2` / `h3` | `text` | 二/三级子标题 |
| `paragraph` | `text` | 正文段落 |
| `table` | `headers`, `rows` | 全宽表格(首行为表头) |
| `code` | `text` | Courier 等宽代码块 |
| `list` | `items` | 圆点列表 |

其他参数:`title`(文档标题,居中加粗大字)。

## 生成纪律

1. **结构先行**:长文档先把章节(heading)结构列给用户确认,再一次生成
2. **表格化数据**:能用 table 呈现的数据不写成段落
3. **生成后自查**:用 `docx_read` 读回产出,确认内容完整、无占位符残留(lorem / xxxx / TODO)
4. **编辑需求优先**:用户说"要能改的文档"用 docx;只说"给我一份报告"默认 PDF

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add huiliyi37/tianshu-harness/office-docx@sha256:03627c5b378fa987

The line at the top of this page pins the label git:20260815.236a44b, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_riefe2xmavvu4xbt.svg)](https://markdownregistry.com/a/art_riefe2xmavvu4xbt)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Aug 15, 2026.

versioncommittedcommitsizeaudit
git:20260815.236a44b latest2026-08-15 236a44b 1,726 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1726 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

huiliyi37/tianshu-harness · 1,254 stars · license Apache-2.0 · pushed 2026-10-31 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_riefe2xmavvu4xbt
GET https://markdownregistry.com/api/v1/resolve?ref=huiliyi37/tianshu-harness/office-docx
GET https://markdownregistry.com/api/v1/blob/03627c5b378fa987127a1b20b3fca0653d60d3fd072debc4a15ba2d83cb5fad5

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from huiliyi37/tianshu-harness

AGENTS.md AGENTS.md file
huiliyi37/tianshu-harness · AGENTS.md
git:20261005.b60fe86 · audit A · 1,254 stars
CLAUDE.md CLAUDE.md file
huiliyi37/tianshu-harness · CLAUDE.md
git:20261026.f670653 · audit A · 1,254 stars
agent-harness-testing SKILL.md skill
huiliyi37/tianshu-harness · docs/skills/optional/agent-harness-testing/SKILL.md · 在任意项目中执行开发任务时的测试方法论——包括测试能力探测、RED→GREEN 纪律、探针管理、环境模拟、测试策略选择。当面对 bugfix、功能开发、重构等需要验证的代码改动时使用。
git:20260917.bf456db · audit A · 1,254 stars
design-prototype SKILL.md skill
huiliyi37/tianshu-harness · plugins/design/skills/design-prototype/SKILL.md · Frontend UI prototype workflow — clarify intent, explore directions, preview across viewports, diff against references…
git:20260720.5237f6c · audit A · 1,254 stars
office-excel SKILL.md skill
huiliyi37/tianshu-harness · plugins/office-excel/skills/SKILL.md · Excel 电子表格读写与编辑最佳实践 — 用 xlsx_read/xlsx_write/xlsx_edit 处理 .xlsx 时遵守的公式、数字格式与可维护性纪律
git:20260720.5237f6c · audit A · 1,254 stars
office-pdf SKILL.md skill
huiliyi37/tianshu-harness · plugins/office-pdf/skills/SKILL.md · 生成与读取 PDF 文档(报告、合同、交付文档)——原生 pdfkit 渲染,自动解析系统 CJK 字体支持中文,支持 heading/paragraph/table/code/list 内容块与页码页脚
git:20260720.5237f6c · audit A · 1,254 stars
office-ppt SKILL.md skill
huiliyi37/tianshu-harness · plugins/office-ppt/skills/SKILL.md · PowerPoint 演示文稿生成纪律 — 用 pptx_create/pptx_read 产出有设计感、零 AI 味的 .pptx(PPT、幻灯片、deck、演讲稿、汇报)
git:20260720.5237f6c · audit A · 1,254 stars
brainstorming SKILL.md skill
huiliyi37/tianshu-harness · runtime-assets/bundled-skills/brainstorming/SKILL.md · You MUST use this before any creative work - creating features, building components, adding functionality, or modifying…
git:20260909.60a2332 · audit A · 1,254 stars
visual-acceptance SKILL.md skill
huiliyi37/tianshu-harness · runtime-assets/bundled-skills/visual-acceptance/SKILL.md · UI/视觉改动交付前的终验方法论——多主题截图矩阵复现、像素真值判据链、CSS 层叠陷阱、布局漂移审查、before/after 存证。当视觉改动需要验收(而非实现)时使用:交付前最后一环,回答「看得见的部分真的对吗」。
git:20260803.76ef549 · audit A · 1,254 stars
DESIGN.md@website DESIGN.md file
huiliyi37/tianshu-harness · website/DESIGN.md
git:20260731.0dde176 · audit A · 1,254 stars

Every file in huiliyi37/tianshu-harness

Browse by kind, by grade A, or by owner.