jpskill.com
🛠️ 開発・MCP コミュニティ

summary-generator

教育コンテンツのレッスンファイルから、重要な概念や考え方、よくある間違いなどを、対話形式で丁寧に抽出し、内容を理解しやすい要約を作成するSkill。

📜 元の英語説明(参考)

This skill should be used when generating lesson summaries for educational content. It extracts key concepts, mental models, patterns, and common mistakes from lesson markdown files using a Socratic extraction process. Use this skill when a lesson file needs a `.summary.md` companion file, or when reviewing/refreshing existing summaries.

🇯🇵 日本人クリエイター向け解説

一言でいうと

教育コンテンツのレッスンファイルから、重要な概念や考え方、よくある間違いなどを、対話形式で丁寧に抽出し、内容を理解しやすい要約を作成するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o summary-generator.zip https://jpskill.com/download/16877.zip && unzip -o summary-generator.zip && rm summary-generator.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/16877.zip -OutFile "$d\summary-generator.zip"; Expand-Archive "$d\summary-generator.zip" -DestinationPath $d -Force; ri "$d\summary-generator.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して summary-generator.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → summary-generator フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Summary Generator

概要

このスキルは、ソクラテス式質問を通して本質的な学習要素を抽出することにより、教育的なレッスンに対して簡潔でスキャンしやすい要約を生成します。要約は、迅速な復習(理解を新たにするために戻ってくる学生)とジャストインタイムのリファレンス(練習中に確認する学生)という2つのユーザーニーズに対応します。

抽出プロセス(ソクラテス式)

要約を生成するには、以下の質問に順番に取り組んでください。各質問は、要約の1つのセクションのコンテンツを抽出します。

質問1:コアコンセプト

「もし学生が明日このレッスンからたった1つのことしか覚えていなかったとしたら、それは何であるべきか?」

最も重要なポイントを1〜2文で抽出します。これは、他のすべてのことを解き放つ基礎となる洞察である必要があります。

テスト:この文だけを読んだ人が、レッスンの目的を同級生に説明できますか?

質問2:主要なメンタルモデル

「このレッスンは、学生の心にどのようなメンタルフレームワークをインストールしますか?彼らは今、どのような「レンズ」を通して問題を見ていますか?」

2〜3個のメンタルモデルを抽出します。これらは、事実ではなく、再利用可能な思考パターンです。以下を探してください。

  • 原因 → 結果の関係
  • 意思決定フレームワーク(「Xの場合、Yを実行する」)
  • 概念的なメタファーまたはアナロジー

テスト:これらは新しい状況に転用できますか、それともレッスン固有の事実ですか?

質問3:重要なパターン

「このレッスンでは、どのような実践的なテクニックやパターンを教えていますか?学生は以前にはできなかったことを、今では何ができますか?」

レッスンから2〜4個の実用的なパターンを抽出します。これらは以下から得られます。

  • コード例とその目的
  • AIコラボレーションのテクニック
  • 導入されたツールまたはコマンド
  • デモンストレーションされたワークフロー

テスト:学生はレッスンを読み直さなくても、これらのパターンを適用できますか?

質問4:AIコラボレーションのキー

「AIはこのトピックでどのように役立ちますか?どのようなプロンプトまたはコラボレーションパターンが違いを生み出しますか?」

このトピックに関するAIとの連携について、1〜2個の洞察を抽出します。これは、Three Roles frameworkを公開するものではなく、実践的なコラボレーションパターンに焦点を当てる必要があります。

:レッスンにAIコラボレーションが含まれていない場合(Layer 1コンテンツ)、このセクションはスキップしてください。

質問5:よくある間違い

「学生は通常どこで間違えますか?このレッスンでは、どのような誤解を修正しますか?」

以下から2〜3個のよくある間違いを抽出します。

  • 明示的な「よくある間違い」セクション
  • レッスン内のエラー例
  • 仮定に反する直感に反するポイント

テスト:これらを知っていれば、実際の間違いを防ぐことができますか?

質問6:つながり

「これはどのような前提知識に基づいて構築されていますか?これは次にどこにつながりますか?」

ナビゲーションリンクを抽出します。

  • Builds on:どのような前提概念が想定されているか
  • Leads to:これは将来のレッスンで何を実現するか

:このセクションはオプションです。つながりが明確でない場合、または役に立たない場合はスキップしてください。

出力テンプレート

次の正確な構造に従って要約を生成します。

### Core Concept
[質問1からの1〜2文]

### Key Mental Models
- **[Model Name]**: [簡単な説明]
- **[Model Name]**: [簡単な説明]
- **[必要に応じて Model Name]**: [簡単な説明]

### Critical Patterns
- [パターン/テクニック1]
- [パターン/テクニック2]
- [該当する場合はパターン/テクニック3]
- [該当する場合はAIコラボレーションパターン]

### Common Mistakes
- [間違い1とその理由]
- [間違い2とその理由]
- [該当する場合は間違い3]

### Connections
- **Builds on**: [前提概念/章]
- **Leads to**: [次の概念/章]

長さのガイドライン

レッスンの複雑さ(frontmatter proficiency_levelから)に基づいて、要約の長さを調整します。

習熟度 目標の長さ 理由
A1-A2 (初心者) 150-250語 より単純な概念、より少ないパターン
B1-B2 (中級者) 200-350語 よりニュアンスのある、複数のテクニック
C1-C2 (上級者) 250-400語 複雑なトピック、多くの相互接続

アンチパターン(含めてはいけないもの)

原則7:最小限の十分なコンテンツに従い、要約には以下を含めてはなりません。

  • 完全な説明 — 要約は概念を指し示すものであり、再教育するものではありません
  • コード例 — 完全なレッスンにはこれらが含まれています
  • 練習問題 — 学生は練習のためにレッスンに戻ります
  • 「次のステップ」ナビゲーション — コース構造がこれを処理します
  • モチベーションを高めるコンテンツ — 「おめでとうございます!」や無駄な言葉は不要です
  • レイヤー/ステージラベル — 学生は教育法を体験するものであり、研究するものではありません
  • フレームワークの用語 — 「Three Roles」、「Layer 2」などは不要です

ファイル命名規則

要約ファイルは、レッスンファイル名(拡張子なし)に.summary.mdを追加して命名されます。

# レッスンファイル:
apps/learn-app/docs/05-Python/17-intro/01-what-is-python.md

# 要約ファイル:
apps/learn-app/docs/05-Python/17-intro/01-what-is-python.summary.md

ワークフロー

  1. ターゲットのレッスンファイルを完全に読みます
  2. frontmatterからレッスンの習熟度レベルを抽出します
  3. 各ソクラテス式質問に答え、抽出されたコンテンツをメモします
  4. テンプレートを使用して要約を作成します
  5. アンチパターンチェックリストに対して検証します
  6. 長さのガイドラインに対して単語数を確認します
  7. .summary.mdファイルを書き込みます

例:データ型レッスン要約

A2の習熟度でPythonのデータ型を教えるレッスンについて:


### Core Concept
データ型はPythonの分類システムです。Pythonに「これはどのような種類のデータですか?」および「どのような操作が有効ですか?」を伝えます。

### Key Mental Models
- **型 → 操作**: 数値は数学を可能にし、テキストは結合を可能にし、ブール値は意思決定を可能にします
- **型の不一致 → エラー**: `5 + "hello"`は、Pythonが数値とテキストを加算できないため失敗します
- **型決定フレームワーク**: 「どのような種類のデータですか?」と尋ねて、適切な型を決定します

### Critical Patterns
- `type()`を使用して、Pythonが割り当てた型を確認します:`type(42)`は`<class 'int'>`を返します
- 型ヒントは意図を表現します:`age: int = 25`は、AIと人間の両方に期待されるものを伝えます
- 7つのカテゴリがすべてのデータをカバーします:数値、テキスト、ブール値、コレクション、バイナリ、特殊(None)

### Common Mistakes
- 数値をテキストとして保存する(`25`の代わりに`"25"`)と、数学演算が妨げられます

(原文はここで切り詰められています)
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Summary Generator

Overview

This skill generates concise, scannable summaries for educational lessons by extracting the essential learning elements through Socratic questioning. Summaries serve two user needs: quick review (students returning to refresh understanding) and just-in-time reference (students checking back mid-practice).

Extraction Process (Socratic Style)

To generate a summary, work through these questions in order. Each question extracts content for one section of the summary.

Question 1: Core Concept

"If a student remembers only ONE thing from this lesson tomorrow, what must it be?"

Extract the single most important takeaway in 1-2 sentences. This should be the foundational insight that unlocks everything else.

Test: Could someone who only read this sentence explain the lesson's purpose to a peer?

Question 2: Key Mental Models

"What mental frameworks does this lesson install in the student's mind? What 'lenses' do they now see problems through?"

Extract 2-3 mental models—these are the reusable thinking patterns, not facts. Look for:

  • Cause → Effect relationships
  • Decision frameworks ("When X, do Y")
  • Conceptual metaphors or analogies

Test: Are these transferable to new situations, or are they lesson-specific facts?

Question 3: Critical Patterns

"What practical techniques or patterns does this lesson teach? What can the student now DO that they couldn't before?"

Extract 2-4 actionable patterns from the lesson. These come from:

  • Code examples and their purpose
  • AI collaboration techniques
  • Tools or commands introduced
  • Workflows demonstrated

Test: Could a student apply these patterns without re-reading the lesson?

Question 4: AI Collaboration Keys

"How does AI help with this topic? What prompts or collaboration patterns make the difference?"

Extract 1-2 insights about working with AI on this topic. This should NOT expose the Three Roles framework—focus on practical collaboration patterns.

Note: Skip this section if the lesson doesn't involve AI collaboration (Layer 1 content).

Question 5: Common Mistakes

"Where do students typically go wrong? What misconceptions does this lesson correct?"

Extract 2-3 common mistakes from:

  • Explicit "Common Mistakes" sections
  • Error examples in the lesson
  • Counterintuitive points that contradict assumptions

Test: Would knowing these prevent a real mistake?

Question 6: Connections

"What prerequisite knowledge does this build on? Where does this lead next?"

Extract navigation links:

  • Builds on: What prior concepts are assumed
  • Leads to: What this enables in future lessons

Note: This section is optional. Skip if connections aren't clear or useful.

Output Template

Generate the summary following this exact structure:

### Core Concept
[1-2 sentences from Question 1]

### Key Mental Models
- **[Model Name]**: [Brief explanation]
- **[Model Name]**: [Brief explanation]
- **[Model Name if needed]**: [Brief explanation]

### Critical Patterns
- [Pattern/technique 1]
- [Pattern/technique 2]
- [Pattern/technique 3 if applicable]
- [AI collaboration pattern if applicable]

### Common Mistakes
- [Mistake 1 and why it's wrong]
- [Mistake 2 and why it's wrong]
- [Mistake 3 if applicable]

### Connections
- **Builds on**: [Prior concept/chapter]
- **Leads to**: [Next concept/chapter]

Length Guidelines

Adjust summary length based on lesson complexity (from frontmatter proficiency_level):

Proficiency Target Length Reason
A1-A2 (Beginner) 150-250 words Simpler concepts, fewer patterns
B1-B2 (Intermediate) 200-350 words More nuanced, multiple techniques
C1-C2 (Advanced) 250-400 words Complex topics, many interconnections

Anti-Patterns (What NOT to Include)

Following Principle 7: Minimal Sufficient Content, summaries must NOT contain:

  • Full explanations — Summaries point to concepts, not re-teach them
  • Code examples — The full lesson contains these
  • Practice exercises — Students return to the lesson for practice
  • "What's Next" navigation — Course structure handles this
  • Motivational content — No "Congratulations!" or fluff
  • Layer/Stage labels — Students experience pedagogy, not study it
  • Framework terminology — No "Three Roles", "Layer 2", etc.

File Naming Convention

Summary files are named by appending .summary.md to the lesson filename (without extension):

# Lesson file:
apps/learn-app/docs/05-Python/17-intro/01-what-is-python.md

# Summary file:
apps/learn-app/docs/05-Python/17-intro/01-what-is-python.summary.md

Workflow

  1. Read the target lesson file completely
  2. Extract the lesson's proficiency level from frontmatter
  3. Answer each Socratic question, noting extracted content
  4. Compose the summary using the template
  5. Validate against anti-patterns checklist
  6. Check word count against length guidelines
  7. Write the .summary.md file

Example: Data Types Lesson Summary

For a lesson teaching Python data types at A2 proficiency:

### Core Concept
Data types are Python's classification system—they tell Python "what kind of data is this?" and "what operations are valid?"

### Key Mental Models
- **Types → Operations**: Numbers enable math; text enables joining; booleans enable decisions
- **Type Mismatch → Error**: `5 + "hello"` fails because Python can't add numbers to text
- **Type Decision Framework**: Ask "What kind of data?" to determine the right type

### Critical Patterns
- Use `type()` to verify what type Python assigned: `type(42)` returns `<class 'int'>`
- Type hints express intent: `age: int = 25` tells both AI and humans what you expect
- 7 categories cover all data: Numeric, Text, Boolean, Collections, Binary, Special (None)

### Common Mistakes
- Storing numbers as text (`"25"` instead of `25`) prevents math operations
- Forgetting that `0.1 + 0.2` doesn't exactly equal `0.3` (floating point precision)
- Mixing types in operations without explicit conversion

### Connections
- **Builds on**: Python installation and first programs (Chapter 17)
- **Leads to**: Deep dive into numeric types and text handling (Chapters 18-20)

Word count: ~175 words (appropriate for A2)