Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计通过

summary-generator摘要生成器

Agent Skill

summary-generator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,211

周安装

49

GitHub Stars

158

下载量

380
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:summary-generator(摘要生成器)
来源仓库:https://github.com/panaversity/agentfactory
仓库路径:skills/summary-generator
安装命令:
npx skills add https://github.com/panaversity/agentfactory --skill summary-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/panaversity/agentfactory --skill summary-generator

简介

summary-generator 用于处理 GitHub 仓库、Issue 和 Pull Request 协作信息。

  • 适合围绕仓库状态、代码变更或协作事项进行整理和分析。
  • 可结合原始 README 和安装命令进一步验证具体用法。
  • 使用前应确认权限范围、维护状态及是否涉及联网或文件操作。
  • 建议核对来源仓库状态,避免推荐未经安全评估的第三方能力包。

SKILL.md

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):

ProficiencyTarget LengthReason
A1-A2 (Beginner)150-250 wordsSimpler concepts, fewer patterns
B1-B2 (Intermediate)200-350 wordsMore nuanced, multiple techniques
C1-C2 (Advanced)250-400 wordsComplex 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)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.88%
按下载量换算148

Claude

30.14%
按下载量换算115

Cursor

19.57%
按下载量换算74

Gemini CLI

9.03%
按下载量换算34

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills