Install
openclaw skills install jp-reportCreate formal Japanese corporate HTML and PDF reports from source text for business, compliance, or security documents with structured chapters and professio...
openclaw skills install jp-reportGenerate a formal Japanese corporate document (日本企業向け正式報告書) from the provided source material.
If $ARGUMENTS is provided, treat it as the source file path or inline content.
Otherwise, ask the user for:
Read source material. Identify:
Rewrite all content in 書き言葉・敬体:
Fixed structure:
Page 1 — 表紙 (Cover) : centered layout, one full A4 page
Page 2 — 目次 (TOC) : dotted leaders + page numbers, one full A4 page
Page 3+ — 本文 (Body) : chapters distributed, target one chapter per page
Numbering: 第1章 / 第2章 … (full-width) · Sections: 1.1 / 1.2 … (decimal)
Before writing HTML, calculate content height using the reference in ${CLAUDE_SKILL_DIR}/docs/design-rules.md.
Usable area per page ≈ 980px. State the page plan briefly to the user.
Write a single self-contained .html file using:
${CLAUDE_SKILL_DIR}/docs/design-rules.md (include verbatim in <style>)${CLAUDE_SKILL_DIR}/docs/components.mdEvery page must follow this shell:
<div class="page">
<div class="page-body"> <!-- content --> </div>
<div class="page-footer">
<div class="f-l">[Product / Company]</div>
<div class="f-c">[Document title] Rev. X.X</div>
<div class="f-r">[Classification] | [Page #]</div>
</div>
</div>
Cover page body must use:
<div class="page-body" style="display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;">
Immediately after writing the HTML, run:
python3 ${CLAUDE_SKILL_DIR}/scripts/generate_pdf.py [absolute path to .html]
The script handles Chrome invocation and URL-encodes the path automatically. Report the output line (bytes + path) on success.
.page div has a .page-footer