agentleFS
Google CloudKnown publisherGoogleCloudPlatform/generative-ai/search/gemini-enterprise/ge-demo-generator/agent_template/demo_skills/professional-document/SKILL.md

professional-document

Skill18k starsChanged 2 months agoApache-2.0View on GitHub

Produce a formal business document as .docx (python-docx) or PDF (reportlab) - reports, proposals, briefings, one-pagers, meeting summaries. Use whenever the task asks for a written document, report file, proposal, or PDF. Covers structure, typography, build and delivery.

  • Installs packages
  • Sends data out

Trending

Quiet since October.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 6 mentionsApr 2026: 1 mentionMay 2026: 2 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 2 mentionsSep 2026: 2 mentionsOct 2026: 4 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the GoogleCloudPlatform/generative-ai repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about GoogleCloudPlatform/generative-ai

The biggest 5 of 52 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 52

Talked about on GitHub, Bluesky and Hacker News (52 times).

On GitHub · 43

38 more on GitHub

On Bluesky · 6

1 more on Bluesky

On Hacker News · 3

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All user-visible text in the document MUST be written in the same language as the task description you received.

    line 13
  2. Distinctive:

    Do NOT use weasyprint or LibreOffice conversion (system dependencies are not guaranteed).

    line 24
  3. Distinctive:

    Verify (below), fix, rebuild.

    line 38
  4. Very specific:

    Use color #1A2B4A for headings, near-black #222222 for body.

    line 63
  5. Distinctive:

    Never fake letterhead or signatures.

    line 76
  6. Distinctive:

    Every claim backed by the provided data or explicitly sourced web research (cite source name + URL inline or in the appendix).

    line 80
  7. Distinctive:

    No filler phrases. Cut any sentence that does not inform a decision.

    line 83
  8. Very specific:

    If the task provided an upload URL for deliverables, upload with: curl -sS -X PUT --upload-file <file> -H "Content-Type: <mime>" …

    line 100

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Professional Document Builder

Produce a business document that reads and looks like it was prepared by a professional analyst: clear structure, restrained typography, real numbers.

Language rule

All user-visible text in the document MUST be written in the same language as the task description you received. This skill's instructions are English, but the deliverable follows the task's language.

Format choice

  • .docx (python-docx) when the reader may edit: proposals, drafts, working reports. Default choice when the task does not specify.
  • PDF (reportlab, platypus flowables) when the task says PDF or the document is final/customer-facing: signed proposals, formal briefings, one-pagers.
  • Do NOT use weasyprint or LibreOffice conversion (system dependencies are not guaranteed). reportlab and python-docx are pure-python and reliable.
  • CJK note (PDF only): reportlab's built-in fonts cannot render Japanese, Chinese or Korean. For CJK text register a CID font first: from reportlab.pdfbase import pdfmetrics; from reportlab.pdfbase.cidfonts import UnicodeCIDFont; pdfmetrics.registerFont(UnicodeCIDFont('HeiseiKakuGo-W5')) and set that font on every style. python-docx handles CJK natively.

Process

  1. python-docx, reportlab and matplotlib are usually preinstalled by the environment warm-up - try the import first; pip install only if missing.
  2. Draft the full document content in markdown first (draft.md). Get the substance right before any formatting code.
  3. Convert the draft to the target format with a build script.
  4. Verify (below), fix, rebuild.
  5. Deliver (below).

Structure

Standard business report skeleton - adapt, do not skip levels:

  1. Title block: document title, subtitle/purpose, date, author line (the requesting organization, not you). Documents longer than ~6 pages get a cover page plus a table of contents built from the headings.
  2. Executive summary: 3-6 sentences a busy executive could read alone - the key finding, the number that matters, the recommendation.
  3. Body sections (3-6): each opens with a one-sentence takeaway in bold, followed by supporting analysis, tables and figures.
  4. Recommendations / next steps: numbered, concrete, each with an owner or function and a timeframe where possible.
  5. Appendix (optional): methodology, data notes, detailed tables.

One-pagers compress the same skeleton to: title block, summary paragraph, 3-4 key points with numbers, recommendation box.

Typography and layout

  • One font family throughout. Body 10.5-11pt, line spacing 1.15-1.3.
  • Heading hierarchy: H1 16-18pt bold, H2 13-14pt bold, H3 11pt bold. Use color #1A2B4A for headings, near-black #222222 for body.
  • Margins: 2.0-2.5 cm all around. Page numbers in the footer from page 2.
  • Numbers that carry the argument go in bold; do not bold whole sentences.
  • Tables: bold header row with a light fill (#F2F5FA), thin borders, right-align numeric columns, thousands separators.
  • Charts: matplotlib PNGs at 150+ dpi, sized to the text column width, numbered captions below (Figure 1: ...). Same palette as the tables.
  • Charts with non-Latin labels (Japanese etc.): matplotlib's default font has no CJK glyphs (hollow boxes). Register a font first - for Japanese: pip install japanize-matplotlib, then import japanize_matplotlib once. For other scripts register a Noto Sans font via matplotlib.font_manager.fontManager.addfont(). Verify the rendered PNG has no hollow-box glyphs before embedding it.
  • Never fake letterhead or signatures.

Content quality bar

  • Every claim backed by the provided data or explicitly sourced web research (cite source name + URL inline or in the appendix).
  • Round numbers for readability; keep raw precision in appendix tables.
  • No filler phrases. Cut any sentence that does not inform a decision.

Verification (mandatory)

  • docx: re-open with python-docx; assert heading structure exists and all planned sections are present and non-empty.
  • PDF: re-open with pypdf (usually preinstalled by warm-up); assert expected page count (>= 1) and that extracted text contains the section headings AND the CJK strings you wrote (garbled fonts extract as empty or replacement characters - if a heading is missing, fix the font). Fix and rebuild until clean. At least one full review-and-rebuild pass is mandatory: re-read the built document against the task's stated quality conditions before delivering.

Delivery

  1. Save with a descriptive filename, e.g. supplier_risk_briefing.pdf.
  2. If the task provided an upload URL for deliverables, upload with: curl -sS -X PUT --upload-file <file> -H "Content-Type: <mime>" "<upload_url>" (docx mime: application/vnd.openxmlformats-officedocument.wordprocessingml.document, pdf mime: application/pdf). Retry once on failure.
  3. In your final report, state the filename, page/section count, and reproduce the executive summary verbatim.

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.