explaingit

ferdinandobons/brand-docs

Analysis updated 2026-05-18

31PythonAudience · pm founderComplexity · 2/5LicenseSetup · easy

TLDR

Agent skills for Claude Code and similar AI assistants that force generated Word, PowerPoint, and Excel files to strictly match your company's branded templates.

Mindmap

mindmap
  root((brand-docs))
    What it does
      Extracts brand kit from templates
      Generates on-brand documents
      Verifies output matches template
    Tech stack
      Python
      python-docx
      python-pptx
      openpyxl
    Use cases
      Branded Word reports
      Branded slide decks
      Branded Excel workbooks
    Audience
      PMs and founders
      AI coding assistants
    Verification
      Style checks
      Placeholder checks
      Visual rendering

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Extract a brand kit of colors, fonts, and layouts from an existing branded Office file.

USE CASE 2

Generate a new Word report, slide deck, or Excel workbook that strictly follows that brand kit.

USE CASE 3

Automatically verify generated documents for broken styles, leftover placeholders, or broken formulas.

What is it built with?

Pythonpython-docxpython-pptxopenpyxl

How does it compare?

ferdinandobons/brand-docscoleam00/harness-engineering-democolor4-alt/citecheck
Stars313131
LanguagePythonPythonPython
Setup difficultyeasymoderateeasy
Complexity2/53/52/5
Audiencepm founderdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

Optional LibreOffice install enables visual rendering checks.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

BrandDocs is a set of agent skills for Claude Code and compatible AI coding assistants that solve a specific problem: when you ask an AI to generate a Word document, PowerPoint deck, or Excel workbook, it tends to invent its own formatting and only loosely imitate any template you show it. BrandDocs is built to prevent that drift by treating the template as a strict set of rules the AI must follow, not a loose inspiration. The workflow has two stages. First, you give it one of your company's existing Office files: a branded .docx.pptx, or .xlsx. The extraction step reads the file's internal structure, pulls out its theme colors, fonts, named styles, layouts, logos, and document skeleton (meaning the required order of sections like cover, table of contents, and body), and saves all of that into a portable folder called a brand kit. The original file is preserved as a shell. Second, when you want a new document, the generation step takes your content, maps each piece of it to the appropriate brand artifact from the profile, fills the shell in the correct structural order, and saves a new file. Because generation always opens from the real template shell and uses only the styles and colors defined there, the README describes it as "off-brand output impossible by construction." A verification step runs checks after every generation: it confirms that every style reference in the output actually exists in the template, that no placeholder or leftover template text survived, that tables are intact, and that Excel formulas were not broken when cells were filled. When LibreOffice is available, it can also render the output visually and flag layout problems. If rendering tools are not present, the tool reports that explicitly rather than skipping the check silently. All three Office formats use the same underlying engine and profile schema. The project is built on the standard Python libraries for reading and writing Office files (python-docx, python-pptx, openpyxl) with no external services or cloud dependencies. It is MIT licensed and marked alpha status at time of writing. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
Extract a brand kit from our company's PowerPoint template using BrandDocs.
Prompt 2
Generate a new quarterly report in Word using our BrandDocs brand kit and this content.
Prompt 3
Verify that this generated Excel workbook didn't break any formulas after using BrandDocs.
Prompt 4
Set up BrandDocs so Claude Code always uses our brand kit when creating slide decks.

Frequently asked questions

What is brand-docs?

Agent skills for Claude Code and similar AI assistants that force generated Word, PowerPoint, and Excel files to strictly match your company's branded templates.

What language is brand-docs written in?

Mainly Python. The stack also includes Python, python-docx, python-pptx.

What license does brand-docs use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is brand-docs to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is brand-docs for?

Mainly pm founder.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.