Knowledge Point Learning
Goal
Turn a user-provided knowledge point into a clear learning document. First decide whether the knowledge point needs to be split; then generate a Markdown document that is guided, easy to understand, and concise.
Core Workflow
Follow this order for every request:
Check input clarity
- Proceed directly when the input is a clear concept, question, process, operation, or comparison.
- Ask 1-3 concise clarification questions when the input is too broad or ambiguous, such as
数据库,缓存, or机器学习.
Classify the knowledge point
- Choose one primary type: concept, principle, process, operation, or comparison.
- If multiple types fit, choose the type that best determines the document structure.
- For details, read
references/knowledge-types.md.
Decide whether to split
- Split when the topic contains multiple concepts, steps, mechanisms, stages, or prerequisites.
- Do not split when the topic can be explained clearly with one small document.
- Keep the default split size to 3-7 sub-knowledge-points.
Generate the split result
- Explain why the topic is or is not split.
- If split, list sub-knowledge-points with clear boundaries and relationships.
- Avoid splitting into fragments that cannot be learned independently.
Generate the Markdown learning document
- Select the document structure based on the knowledge point type.
- Use simple language, examples, optional diagrams, and optional life-like stories when helpful.
- For details, read
references/document-rules.md.
Run a final quality check
- Check for unclear terminology, over-splitting, off-topic content, excessive length, and weak examples.
- Revise once if needed before final output.
- For output templates and checks, read
references/output-format.md.
Interaction Strategy
Default to a single response that completes analysis, splitting, and document generation.
Use a two-stage interaction only when the topic is very broad, ambiguous, or has multiple likely learning directions:
- First output the classification and proposed split.
- Ask the user to confirm or adjust the split.
- Generate the full document after confirmation.
Examples that should usually ask for confirmation first:
- 数据库
- 操作系统
- 机器学习
- 前端工程化
Examples that can usually proceed directly:
- HTTP 请求流程
- 闭包
- Redis 为什么快
- TCP 和 UDP 的区别
Continuous Interaction
Support lightweight continuous interaction within the same conversation. The user may ask to:
- Adjust the split granularity
- Make the explanation simpler or more advanced
- Add or remove diagrams
- Add a life-like story or analogy
- Continue with one sub-knowledge-point
- Save the generated Markdown under
outputs/
Do not treat this skill as a long-term learning agent. Do not claim cross-session memory, learning progress tracking, user profile management, or full course planning unless the user explicitly asks for a separate design.
Output Requirements
Use Markdown as the final output format.
Default to outputting the generated document in the conversation only. Do not write files automatically. If the user explicitly asks to save, write the Markdown file under the project outputs/ directory after following the host session's file-edit confirmation rules.
For split topics, output:
## 知识点分析
- 原始知识点:
- 知识点类型:
- 是否需要拆分:
- 拆分原因:
## 拆分结果
1. ...
2. ...
3. ...
## 学习文档
...
For topics that do not need splitting, output:
## 知识点分析
- 原始知识点:
- 知识点类型:
- 是否需要拆分:否
- 不拆分原因:
## 学习文档
...
Style Rules
- Use Chinese unless the user asks for another language.
- Keep explanations concise and beginner-friendly.
- Prefer
是什么 → 为什么 → 怎么用when no better type-specific structure exists. - Explain new terms immediately.
- Use diagrams only when they reduce understanding cost.
- Use stories or analogies only when they clarify abstract ideas.
- Do not generate encyclopedia-style long articles.
- Do not replace official documentation for advanced or version-specific usage.
- Do not create full textbooks, courses, or expert-level papers unless explicitly requested.




