doc-learn

friend1ws's avatarfrom friend1ws

ドキュメントの構造を学習し、template.mdを作成するスキル。「template.mdを作成して」「ドキュメント構造をテンプレート化して」などの指示で発動。研究開発提案書、申請書、報告書などの定型文書から構造を抽出し、再利用可能なテンプレートを生成する。

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 2, 2026

When & Why to Use This Skill

The Doc Learn skill is designed to automate the extraction of document structures from complex files like R&D proposals, grant applications, and formal reports to generate reusable Markdown templates. By analyzing existing documents (docx, pdf), it intelligently categorizes sections into manual entry fields and AI-generatable content, providing a structured framework that ensures consistency and streamlines the drafting process for professional documentation.

Use Cases

  • Standardizing Grant Applications: Extract the structural requirements from official R&D proposal guidelines to create a reusable template that ensures all mandatory sections are addressed correctly.
  • Streamlining Corporate Reporting: Analyze previous business reports to generate a consistent template for recurring updates, helping teams maintain a uniform format across different departments.
  • Optimizing AI-Assisted Writing: Create templates that clearly distinguish between sections requiring human data (like budgets and personnel) and sections where AI can assist in drafting (like project backgrounds and objectives), improving workflow efficiency.
namedoc-learn
descriptionドキュメントの構造を学習し、template.mdを作成するスキル。「template.mdを作成して」「ドキュメント構造をテンプレート化して」などの指示で発動。研究開発提案書、申請書、報告書などの定型文書から構造を抽出し、再利用可能なテンプレートを生成する。

Doc Learn

ドキュメントの構造を分析し、再利用可能なテンプレートを作成する。

ワークフロー

1. ドキュメントの分析

対象ドキュメント(docx、pdfなど)を読み込み、セクション構造を抽出する。

docxファイルの場合:

  • docxスキルを使用してXMLを抽出
  • テキスト内容からセクション見出しを特定

2. セクション分類

抽出したセクションを以下の2種類に分類する:

【手動入力セクション】

  • 表形式の定型情報(氏名、所属、経費など)
  • 図表(体制図、スケジュール表など)
  • 業績リスト
  • AIによる自動生成が困難な項目

【AI生成可能セクション】

  • 自由記述の文章(背景、目的、計画など)
  • 記載すべき内容のガイダンスを付与

3. テンプレート生成

assets/template.mdに以下の形式でテンプレートを出力:

## 【手動入力セクション】セクション名

*このセクションは表形式の定型情報であり、手動での入力が必要です。*

- 入力項目1
- 入力項目2

## 【AI生成可能】セクション名

**記載すべき内容:**
- ポイント1
- ポイント2

テンプレートの使用方法

生成されたテンプレートは、以下の目的で使用できる:

  1. 構造の理解: ドキュメントに必要なセクションと内容を把握
  2. 下書き作成: AI生成可能セクションの下書きを自動生成
  3. チェックリスト: 必要項目の漏れがないか確認

既存テンプレート

研究開発提案書テンプレート

AMED等の研究費申請書の構造を基にしたテンプレート。

参照: assets/template_amed.md

主要セクション:

  • 要約
  • 研究の背景・目的
  • 研究計画・方法
  • 研究の将来展望
  • 研究者情報(手動入力)
  • 経費内訳(手動入力)