AGENT SKILL

bioroffice-word

Create and edit rich-formatted Word (.docx) documents with the BiorOffice officecli tool — headings, styles, runs, tables, images, headers/footers, TOC, footnotes, hyperlinks, tracked changes, and find/replace.

License 许可
Apache-2.0
最近更新
2026-07-02
Stars
★ 1
Forks
0

01 前言 Front Matter

name
bioroffice-word
description
Create and edit rich-formatted Word (.docx) documents with the BiorOffice officecli tool — headings, styles, runs, tables, images, headers/footers, TOC, footnotes, hyperlinks, tracked changes, and find/replace.

03 SKILL.md 正文

BiorOffice — Word (.docx)

Use the officecli MCP tool (bioroffice extension). Read the bioroffice-office-suite skill for the calling convention. For substantive documents, first call {"command":"load_skill","name":"word"} (or academic-paper for scholarly work) and follow its rules.

Create and structure

{"command":"create","file":"/abs/report.docx"}
{"command":"add","file":"/abs/report.docx","parent":"/body","type":"paragraph",
 "props":["text=Executive Summary","style=Heading1"]}
{"command":"add","file":"/abs/report.docx","parent":"/body","type":"paragraph",
 "props":["text=Revenue increased by 25% year-over-year."]}

Built-in styles: Title, Subtitle, Heading1..Heading9, Normal, Quote, ListParagraph. List all docx elements: {"command":"help","format":"docx"}.

Rich run formatting

Format matched text inside a paragraph (auto-splits runs) via set + find prop:

{"command":"set","file":"/abs/report.docx","path":"/body/p[2]",
 "props":["find=25%","bold=true","color=C00000"]}

Whole-paragraph formatting: props like align=center, font=Georgia, size=14pt, spacing.before=12pt, lineSpacing=1.5x, indent.left=1cm. Run-level: bold, italic, underline, strike, color, highlight, font, size, subscript/superscript, smallCaps.

Tables

{"command":"add","file":"/abs/report.docx","parent":"/body","type":"table",
 "props":["rows=3","cols=3","style=TableGrid"]}
{"command":"set","file":"/abs/report.docx","path":"/body/tbl[1]/tr[1]/tc[1]",
 "props":["text=Metric","bold=true","fill=1A1A2E","color=FFFFFF"]}

Header row shading via cell fill; column ops on /body/tbl[N]/col[M].

Document furniture

{"command":"add","file":"/abs/report.docx","parent":"/","type":"header","props":["text=Confidential"]}
{"command":"add","file":"/abs/report.docx","parent":"/","type":"footer","props":["text=Page ","pageNumber=true"]}
{"command":"add","file":"/abs/report.docx","parent":"/body","type":"toc","index":0}
{"command":"add","file":"/abs/report.docx","parent":"/body/p[3]","type":"footnote","props":["text=Source: internal data."]}
{"command":"add","file":"/abs/report.docx","parent":"/body/p[2]","type":"hyperlink","props":["text=our website","url=https://example.com"]}
{"command":"add","file":"/abs/report.docx","parent":"/body","type":"image","props":["src=/abs/chart.png","width=12cm"]}
{"command":"add","file":"/abs/report.docx","parent":"/","type":"watermark","props":["text=DRAFT"]}

Document defaults: {"command":"set","path":"/","props":["docDefaults.font=Calibri","docDefaults.fontSize=11pt"]}.

Find & replace (whole document)

{"command":"set","file":"/abs/report.docx","path":"/","props":["find=draft","replace=final"]}

Tracked: add "revision.author=Alice". Regex: add "regex=true" (case-insensitive: (?i) prefix).

Verify

{"command":"view","mode":"outline"} → structure; {"command":"view","mode":"annotated"} → text + formatting; {"command":"validate"} and {"command":"view","mode":"issues"} before delivering.

04 同仓库更多 Skills

BaranziniLab
BaranziniLab/BiorOffice

officecli

暂无简介

★ 1
BaranziniLab
BaranziniLab/BiorOffice

officecli-xlsx

Use this skill any time a .xlsx file is involved -- as input, output, or both. This includes: creating spreadsheets, financial models, dashboards, or trackers; reading, parsing, or extracting data from any .xlsx file; editing, modifying, or updating existing workbooks; working with formulas, charts, pivot tables, or templates; importing CSV/TSV data into Excel format. Trigger whenever the user mentions 'spreadsheet', 'workbook', 'Excel', 'financial model', 'tracker', 'dashboard', or references a .xlsx/.csv filename.

★ 1
BaranziniLab
BaranziniLab/BiorOffice

officecli-word-form

Use this skill to create fillable Word forms (.docx) with real Content Controls (SDT) + legacy FormField checkboxes + MERGEFIELD mail-merge placeholders + document protection. Trigger on: 'fillable form', 'form fields', 'content controls', 'SDT', 'word form', 'fill in', 'only editable fields', 'protect document', 'onboarding form', 'HR intake', 'survey template', 'contract / SOW template', 'mail-merge template', 'compliance checklist', 'medical intake questionnaire'. Output is a single .docx where specific fields are editable and the rest is locked. This skill is INDEPENDENT, not a scene layer on docx — payload is `<w:sdt>` + `<w:ffData>` + `<w:fldChar>` + `documentProtection`, none of which docx base skill covers. Do NOT trigger for regular reports, letters, memos, academic papers, pitch decks, or any document with no user-fillable fields — route those to officecli-docx or its scene layers.

★ 1
BaranziniLab
BaranziniLab/BiorOffice

officecli-pptx

Use this skill any time a .pptx file is involved -- as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file; editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates, layouts, speaker notes, or comments. Trigger whenever the user mentions 'deck', 'slides', 'presentation', 'pitch', or references a .pptx filename.

★ 1
BaranziniLab
BaranziniLab/BiorOffice

officecli-pitch-deck

Use this skill when the user is building a fundraising / investor pitch deck — seed, Series A / B / C, convertible note, SAFE round, strategic raise. Trigger on: 'pitch deck', 'investor deck', 'Series A deck', 'Series B deck', 'Series C deck', 'fundraising deck', 'seed pitch', 'VC deck', 'raising capital', 'term sheet presentation'. Output is a single .pptx. This skill is a scene layer on top of officecli-pptx — inherits every pptx v2 rule (visual floor, grid, palettes, connector canon, Delivery Gate). DO NOT invoke for a generic board review, sales deck, all-hands, or product launch — route those to officecli-pptx base.

★ 1
BaranziniLab
BaranziniLab/BiorOffice

officecli-financial-model

Use this skill when the user wants to build a financial model — 3-statement model, DCF valuation, LBO, SaaS unit economics, sensitivity / scenario analysis, debt schedule, or fundraising projections — in Excel. Trigger on: 'financial model', '3-statement model', 'P&L + BS + CF', 'DCF', 'WACC', 'NPV', 'terminal value', 'LBO', 'debt schedule', 'cash sweep', 'MOIC', 'IRR / XIRR', 'sensitivity table', 'scenario analysis', 'ARR model', 'unit economics', 'CAC / LTV', 'cap table forecast'. Output is a single formula-driven .xlsx. This skill is a scene layer on top of officecli-xlsx — it inherits every xlsx v2 rule (4-color code, visual floor, number formats, cache-drift, Known Issues, Delivery Gate minimum cycle). DO NOT invoke for a simple budget tracker, CSV dump, or operational KPI sheet — route those to officecli-xlsx base.

★ 1