跳到正文
cccskills
免费在 GitHub 公开

japanese-enterprise-doc-formatter

Format documents for Japanese enterprise approval workflows including ringi (稟議), purchase requests (購入申請), and internal proposals. Handles bilingual requirements, proper keigo levels, required approval sections, and corporate template compliance.

中文简介正在准备中。当前显示原文说明。

实测评分 未实测

查看安装方法

包含的文件(11)

  • SKILL.md7.3 KB
  • references/document_types.md9.8 KB
  • references/keigo_guide.md10.7 KB
  • references/section_templates.md12.0 KB
  • scripts/format_document.py12.5 KB
  • scripts/tests/conftest.py236 B
  • scripts/tests/test_format_document.py11.1 KB
  • scripts/tests/test_transform_keigo.py11.2 KB
  • scripts/tests/test_validate_sections.py12.3 KB
  • scripts/transform_keigo.py12.5 KB
  • scripts/validate_sections.py12.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Japanese Enterprise Document Formatter

Overview

This skill formats business documents for Japanese enterprise approval workflows. It ensures proper keigo (敬語) usage, required approval sections (稟議書、購入申請書、提案書), bilingual content when needed, and corporate template compliance. The skill validates documents against Japanese business writing standards and generates approval-ready output.

When to Use

  • Creating or formatting 稟議書 (ringi) approval documents
  • Preparing 購入申請書 (purchase request) forms
  • Drafting 提案書 (internal proposals) for management
  • Converting informal notes into formal Japanese business documents
  • Ensuring proper keigo levels (尊敬語, 謙譲語, 丁寧語) in documents
  • Adding required approval sections (件名, 目的, 背景, 効果, リスク, 費用)
  • Creating bilingual (Japanese/English) enterprise documents
  • Validating document compliance with Japanese corporate standards

Prerequisites

  • Python 3.9+
  • No API keys required
  • Standard library only (no third-party packages)

Workflow

Step 1: Analyze Input Content

Identify the document type and extract key information from the user's input:

  • Document type: 稟議書 / 購入申請書 / 提案書 / 報告書 / 依頼書
  • Target audience: 役員 / 部長 / 課長 / 一般
  • Keigo level required: formal (役員向け) / standard (部長向け) / casual (内部)
  • Bilingual requirement: Japanese only / Japanese + English summary
# Doc type is NOT auto-detected — pick it from the user's request and pass
# it explicitly via --document-type / -t. Valid values:
#   ringi | purchase | proposal | report | request
# (A standalone analyze_document.py was planned but never shipped.)
python3 scripts/validate_sections.py \
  --input user_content.md \
  --document-type ringi \
  --format json \
  --output analysis.json

Step 2: Validate Required Sections

Check that all required sections for the document type are present:

稟議書 Required Sections:

  1. 件名 (Subject)
  2. 起案日 (Draft Date)
  3. 起案者 (Drafter)
  4. 起案部署 (Department)
  5. 決裁期限 (Approval Deadline)
  6. 目的 (Purpose)
  7. 背景 (Background)
  8. 内容 (Details)
  9. 効果 (Expected Benefits)
  10. リスク (Risks)
  11. 費用 (Cost)
  12. 代替案 (Alternatives)
  13. 承認欄 (Approval Section)
python3 scripts/validate_sections.py \
  --document-type ringi \
  --input draft.md \
  --output validation_report.json

Step 3: Apply Keigo Transformation

Transform the text to appropriate keigo level based on target audience:

AudienceKeigo LevelExample Transformation
役員向け最上級敬語する → させていただきます
部長向け標準敬語する → いたします
課長向け丁寧語する → します
python3 scripts/transform_keigo.py \
  --input draft.md \
  --level formal \
  --output formatted.md

Step 4: Generate Formatted Document

Create the final formatted document with proper structure:

python3 scripts/format_document.py \
  --input draft.md \
  --type ringi \
  --keigo-level formal \
  --bilingual true \
  --output final_document.md

Step 5: Generate Approval-Ready Output

Produce the final document in requested format:

  • Markdown (for review)
  • Plain text (for email submission)
  • JSON (for system integration)

Output Format

JSON Report

{
  "schema_version": "1.0",
  "document_type": "稟議書",
  "document_id": "RINGI-2024-001",
  "metadata": {
    "subject": "新規システム導入の件",
    "draft_date": "2024-01-15",
    "drafter": "山田太郎",
    "department": "情報システム部",
    "approval_deadline": "2024-01-31",
    "keigo_level": "formal",
    "bilingual": true
  },
  "sections": {
    "purpose": "...",
    "background": "...",
    "details": "...",
    "benefits": "...",
    "risks": "...",
    "cost": "...",
    "alternatives": "..."
  },
  "validation": {
    "all_sections_present": true,
    "keigo_compliance": true,
    "warnings": []
  },
  "english_summary": "..."
}

Markdown Report

# 稟議書

## 基本情報
| 項目 | 内容 |
|------|------|
| 件名 | 新規システム導入の件 |
| 起案日 | 2024年1月15日 |
| 起案者 | 山田太郎 |
| 起案部署 | 情報システム部 |
| 決裁期限 | 2024年1月31日 |

## 目的
[Purpose content with proper keigo]

## 背景
[Background content with proper keigo]

...

## 承認欄
| 役職 | 氏名 | 日付 | 印 |
|------|------|------|-----|
| 部長 |      |      |     |
| 本部長 |    |      |     |
| 役員 |      |      |     |

---
## English Summary
[English translation of key points]

Resources

  • scripts/validate_sections.py -- Validates required sections for document type (also handles type detection)
  • scripts/transform_keigo.py -- Applies keigo transformation to text
  • scripts/format_document.py -- Generates formatted document output
  • references/document_types.md -- Document type specifications and requirements
  • references/keigo_guide.md -- Keigo usage guide and transformation rules
  • references/section_templates.md -- Template sections for each document type

Key Principles

  1. Completeness (完全性): All required sections must be present for the document type
  2. Formality (格式): Keigo level must match the target audience and document purpose
  3. Clarity (明確性): Each section should have clear, unambiguous content
  4. Bilingual Consistency (二言語一貫性): English summaries must accurately reflect Japanese content
  5. Approval Flow (承認フロー): Document structure must support the enterprise approval workflow

Document Type Quick Reference

TypeJapanesePrimary SectionsTypical Audience
Ringi稟議書目的, 背景, 効果, 費用, リスク役員
Purchase購入申請書品名, 数量, 金額, 理由, 納期部長
Proposal提案書課題, 提案内容, 期待効果, 実施計画部長/役員
Report報告書概要, 経緯, 結果, 今後の対応部長
Request依頼書依頼事項, 理由, 期限, 備考課長/部長

Keigo Quick Reference

尊敬語 (Respectful Language - for actions of superiors)

Plain尊敬語
いるいらっしゃる
言うおっしゃる
見るご覧になる
知るご存知である
するなさる

謙譲語 (Humble Language - for own actions)

Plain謙譲語
いるおる
言う申す / 申し上げる
見る拝見する
知る存じる / 存じ上げる
するいたす / させていただく

丁寧語 (Polite Language - general politeness)

Plain丁寧語
だです
するします
あるあります
いるいます

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Track and update action item status from natural language updates like 'Seanのメールには返信しておいた' or 'Lu対応予定'. Integrates with daily-comms-ops workflow. Use when managing action items across communication channels.

中文简介正在准备中。当前显示原文说明。

takusaotome/claude-skills-library102026年10月24日 更新

AI活用提案の専門コンサルタントスキル。LLM・AIエージェントの活用事例知識を基に、業界別、部門別、シーン別に最適なAI導入提案を行います。システム化、業務改善、効率化を得意とし、具体的な活用事例、期待効果、導入ステップを含む実践的な提案を提供します。Use when proposing AI/LLM adoption strategies for specific industries, departments, or business scenarios.

中文简介正在准备中。当前显示原文说明。

takusaotome/claude-skills-library102026年10月24日 更新

Generate AI-powered BPO service proposals for Japanese companies in the US market. Use when creating outsourcing proposals with AI service menus, ROI estimation, implementation roadmaps, and bilingual (JA/EN) proposal documents for 在米日系企業向けAI実装.

中文简介正在准备中。当前显示原文说明。

takusaotome/claude-skills-library102026年10月24日 更新

AI(LLM)が生成した日本語テキストの「AI臭」を検出・診断し、人間らしい文章にリライトするスキル。 Use when: 「AIっぽい文章を直して」「人間らしくリライトして」「AI臭を消して」「この文章をもっと自然にして」 「テキストのAI感を減らして」「機械っぽさを取りたい」 "make this sound more human", "remove AI tone", "humanize this text", "detect if this is AI-generated". 6つのAI特有パターン(視覚的マーカー、単調なリズム、マニュアル的構成、非コミット姿勢、抽象語の濫用、 定型メタファー)を正規表現ベースで検出し、0-100のAI臭スコアを算出。3つの人間化技法 (バランスを崩す・客観を崩す・論理を崩す)でリライトを実行する。 Note: 検出スクリプトは日本語テキスト専用。英語テキストの場合はClaude自身がreferences/を参照して分析・リライトする。

中文简介正在准备中。当前显示原文说明。

takusaotome/claude-skills-library102026年10月24日 更新

Generate audit-ready internal control design documents from As-Is business process inventories. Produces control IDs, assertion mappings, procedures, SoD analysis, KPIs, materiality thresholds, and implementation roadmaps. Use when building internal controls for new audit engagements, SOX/J-SOX compliance, or process improvement initiatives.

中文简介正在准备中。当前显示原文说明。

takusaotome/claude-skills-library102026年10月24日 更新

Review audit-related documents (control design documents, bottleneck analyses, requirements definitions, etc.) for quality, scoring them 0-100 with a severity-rated findings list. Use when reviewing audit documents, checking control design quality, or verifying cross-document consistency. Supports documents governed by US GAAP, IFRS, or J-GAAP.

中文简介正在准备中。当前显示原文说明。

takusaotome/claude-skills-library102026年10月24日 更新

查看 takusaotome 的全部技能

报告此技能的问题