🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

officecli-docx

by @iceyliu

Use this skill any time a .docx file is involved -- as input, output, or both. This includes: creating Word documents, reports, letters, memos, or proposals;...

Versionv1.0.2
Installs1
πŸ”’ Constraints

officecli validate doc.docx

Pre-Delivery Checklist

  • [ ] Metadata set (title, author)
  • [ ] Page numbers present (field in header or footer)
  • [ ] Heading hierarchy is correct (no skipped levels, e.g., H1 -> H3)
  • [ ] No empty paragraphs used as spacing (use spaceBefore/spaceAfter instead)
  • [ ] All images have alt text
  • [ ] Tables have header rows
  • [ ] TOC present if document has 3+ headings
  • [ ] Document validates with officecli validate
  • [ ] No placeholder text remaining
  • Verification Loop

    1. Generate document 2. Run view issues + view outline + view text + validate 3. List issues found (if none found, look again more critically) 4. Fix issues 5. Re-verify -- one fix often creates another problem 6. Repeat until a full pass reveals no new issues

    Do not declare success until you've completed at least one fix-and-verify cycle.

    NOTE: Unlike pptx, there is no visual preview mode (view svg/view html) for docx. Content verification relies on view text, view annotated, view outline, view issues, and validate. For visual verification, the user must open the file in Word.

    QA display notes:

  • view text shows "1." for ALL numbered list items regardless of their actual rendered number. This is a display limitation -- the actual document renders correct auto-incrementing numbers (1, 2, 3...) in Word and LibreOffice. Do not treat this as a defect.
  • view issues flags "body paragraph missing first-line indent" on centered paragraphs, list items, bibliography entries, and other intentionally non-indented content. These are expected for block-style formatting and can be ignored when the paragraph has explicit spaceAfter, listStyle, alignment=center, or hangingIndent.

  • officecli: v1.0.23

    View on ClawHub
    TERMINAL
    clawhub install officecli-docx

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’