返回顶部
j

jp-report

Generate a formal Japanese corporate-style HTML document and PDF (日本企業向け正式報告書). Triggered when user asks to create a Japanese business report, compliance document, security overview, or 日本語報告書.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
96
下载量
0
收藏
概述
安装方式
版本历史

jp-report

Generate a formal Japanese corporate document (日本企業向け正式報告書) from the provided source material. ## INPUTS If `$ARGUMENTS` is provided, treat it as the source file path or inline content. Otherwise, ask the user for: 1. **Source material** — file path or pasted content 2. **Document purpose** — e.g. security overview / compliance / product explanation 3. **Japanese title** + English subtitle 4. **Classification level** — 社外秘 / 部外秘 / 社内限り (default: 社外秘) 5. **Output folder path** 6. **Revision number** (default: Rev. 1.0) --- ## STEP 1 — ANALYZE Read source material. Identify: - Logical sections → map to 4–6 chapters - Content types: principles, tables, architecture diagrams, bullet lists - Brand names / technical terms to preserve verbatim - Content to exclude (confirm with user if unclear) --- ## STEP 2 — TRANSLATE TO FORMAL JAPANESE Rewrite all content in 書き言葉・敬体: - Verb endings: 〜しております / 〜いたします / 〜となっております - Full grammatical sentences — no fragment bullets inside tables or definitions - Preserve intact: brand names, acronyms (RBAC, TLS, SSO, BYOK), product names - Do NOT add certifications (SOC/ISO/GDPR) unless explicitly in source --- ## STEP 3 — PLAN PAGES 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. --- ## STEP 4 — GENERATE HTML Write a single self-contained `.html` file using: - CSS from `${CLAUDE_SKILL_DIR}/docs/design-rules.md` (include verbatim in `<style>`) - Component HTML from `${CLAUDE_SKILL_DIR}/docs/components.md` Every page must follow this shell: ```html <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: ```html <div class="page-body" style="display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;"> ``` --- ## STEP 5 — GENERATE PDF Immediately after writing the HTML, run: ```bash 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. --- ## QUALITY CHECKLIST - [ ] Cover: content vertically + horizontally centered - [ ] TOC: page numbers match actual layout - [ ] Every `.page` div has a `.page-footer` - [ ] No bright colors, emoji, or casual language - [ ] PDF generated successfully (bytes confirmed)

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 jp-report-1776005648 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 jp-report-1776005648 技能

通过命令行安装

skillhub install jp-report-1776005648

下载 Zip 包

⬇ 下载 jp-report v1.0.1

文件大小: 17.28 KB | 发布时间: 2026-4-13 10:43

v1.0.1 最新 2026-4-13 10:43
- Documentation update only: README.md modified.
- No changes to skill logic or functionality.
- All behavior and inputs remain unchanged.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部