agentleFS
EtanHeyEtanHey/golems/skills/branded-doc/SKILL.md

branded-doc

Skill0 starsChanged 15 days agoApache-2.0View on GitHub

Generate professional branded HTML documents from structured content. Use when the user asks to create a proposal, contract feedback, client response, pricing sheet, or any professional document that needs branding. Triggers on: "draft a response", "create proposal", "branded doc", "feedback document", "client document", "/branded-doc".

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When generating document content:

    line 88
  2. Distinctive:

    Write naturally, not like AI output

    line 89
  3. Distinctive:

    Read like a professional would write in email

    line 94

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Branded Document Generator

Generate A4-ready branded HTML documents with color-coded sections, pricing tables, and RTL support.

How It Works

  1. Build a JSON file with the document content
  2. Run bun skills/branded-doc/scripts/branded-doc.ts input.json output.html
  3. Open the HTML in a browser and print to PDF

Quick Start

# Generate from JSON file
bun skills/branded-doc/scripts/branded-doc.ts docs.local/doc-input.json ~/Documents/output.html

# Pipe from stdin
cat docs.local/doc-input.json | bun skills/branded-doc/scripts/branded-doc.ts - ~/Documents/output.html

JSON Schema

{
  "title": "Document Title",
  "date": "1 March 2026",
  "recipient": "Name — Company",
  "intro": ["Opening line.", "Context line."],
  "sections": [
    {
      "num": 1,
      "title": "Section Title",
      "tag": "change",
      "body": "Section content in natural language."
    }
  ],
  "pricing": {
    "title": "Pricing",
    "headers": ["Plan", "Rate", "Total"],
    "rows": [["Retainer", "$100/hr", "$2,000"]],
    "note": "Optional footnote."
  },
  "availability": "Immediately.",
  "closing": "Closing line.",
  "output": "~/Documents/output.html"
}

Section Tags

TagLabelColorUse
removeRemoveRedDelete this clause
changeChangeAmberModify this clause
addAddGreenAdd new clause
narrowNarrowAmberReduce scope
noteNoteBlueInformational

Branding Configuration

Personal branding loads from ~/.config/branded-doc.json:

{
  "name": "Your Name",
  "nameHebrew": "השם שלך",
  "title": "Your Title",
  "email": "you@example.com",
  "phone": "+1 555-000-0000",
  "website": "example.com",
  "logoBase64": "(optional) base64-encoded PNG/SVG image for header logo"
}

Per-document override via "branding" field in input JSON.

Writing Rules

When generating document content:

  • Write naturally, not like AI output
  • Body text: no em dashes, use commas/periods
  • Titles: em dashes OK for section titles
  • Vary sentence length and structure
  • No "in addition" at the start of every point
  • Read like a professional would write in email

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.