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.
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(原文)
インストールする前に、エージェントに与えられる指示の中身を確認できます。
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:
- 件名 (Subject)
- 起案日 (Draft Date)
- 起案者 (Drafter)
- 起案部署 (Department)
- 決裁期限 (Approval Deadline)
- 目的 (Purpose)
- 背景 (Background)
- 内容 (Details)
- 効果 (Expected Benefits)
- リスク (Risks)
- 費用 (Cost)
- 代替案 (Alternatives)
- 承認欄 (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:
| Audience | Keigo Level | Example 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 textscripts/format_document.py-- Generates formatted document outputreferences/document_types.md-- Document type specifications and requirementsreferences/keigo_guide.md-- Keigo usage guide and transformation rulesreferences/section_templates.md-- Template sections for each document type
Key Principles
- Completeness (完全性): All required sections must be present for the document type
- Formality (格式): Keigo level must match the target audience and document purpose
- Clarity (明確性): Each section should have clear, unambiguous content
- Bilingual Consistency (二言語一貫性): English summaries must accurately reflect Japanese content
- Approval Flow (承認フロー): Document structure must support the enterprise approval workflow
Document Type Quick Reference
| Type | Japanese | Primary Sections | Typical 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 | 丁寧語 |
|---|---|
| だ | です |
| する | します |
| ある | あります |
| いる | います |
レビュー
まだレビューはありません。使ってみた感想をお寄せください。
同じリポジトリのスキル
概要と使いどころ
AI活用提案の専門コンサルタントスキル。LLM・AIエージェントの活用事例知識を基に、業界別、部門別、シーン別に最適なAI導入提案を行います。システム化、業務改善、効率化を得意とし、具体的な活用事例、期待効果、導入ステップを含む実践的な提案を提供します。Use when proposing AI/LLM adoption strategies for specific industries, departments, or business scenarios.
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実装.
日本語の概要は準備中です。原文の説明を表示しています。
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/を参照して分析・リライトする。
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.
日本語の概要は準備中です。原文の説明を表示しています。
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.
日本語の概要は準備中です。原文の説明を表示しています。