ais-branding-docx

Generate AIS-branded Word documents from structured JSON using python-docx.

Updated Jul 1, 2026
One-click install
npx skills add https://github.com/AIS-Commercial-Business-Unit/CBU_Specify --skill ais-branding-docx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ais-branding-docx
Source: https://github.com/AIS-Commercial-Business-Unit/CBU_Specify/tree/main/Skills/ais-branding-docx
Command: npx skills add https://github.com/AIS-Commercial-Business-Unit/CBU_Specify --skill ais-branding-docx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, jsonschema, uv, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the process of generating professional, AIS-branded Word documents from structured JSON input, saving time and ensuring consistency.

Core Features & Use Cases

  • Template-Based Generation: Utilizes a predefined template to preserve branding, formatting, and styling.
  • Structured Input: Accepts JSON input with structured document data for accurate content placement.
  • Use Case: For example, a user can create a technical runbook by providing a JSON file with the document's title, sections, and content blocks.

Quick Start

Run the following command to generate a branded Word document:

uv run scripts/generate.py --input data.json --output document.docx

Frequently Asked Questions about ais-branding-docx

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

FAQPage Schema
How do I generate branded Word documents from JSON input?

To generate branded Word documents from JSON input, use the provided Python script with the python-docx library to populate a predefined template. You provide structured JSON data containing titles, sections, and content blocks to output a formatted .docx file.

Can I use python-docx to populate a Word template with cover pages and sections?

Yes, python-docx can populate a Word template with cover pages and sections. This Skill uses the library to map structured JSON input into a branded document template, accurately placing content blocks while preserving predefined formatting and styling.

What do I need to run a Python script for document generation?

To run this document generation script, you need Python 3.10 or higher and the uv package manager. The required dependencies, including python-docx and jsonschema for validating your JSON input, are managed automatically through uv.

What is the best way to automate technical writing workflows with consistent branding?

Automating technical writing workflows with consistent branding is best achieved through template-based generation. By defining a branded template and feeding it structured JSON data, you ensure every generated document maintains identical cover pages, sections, and formatting.

Does JSON input for Word document generation require a specific schema?

JSON input for Word document generation requires a specific structure to ensure accurate content placement. The Skill uses the jsonschema dependency to validate the JSON structure before populating the template with cover pages, sections, and content blocks.

Why does my Word document generation fail when using uv?

Word document generation using uv may fail if your Python environment is below version 3.10 or if the JSON input does not match the required schema. Ensure uv correctly installs python-docx and jsonschema before executing the generation script.