Personalized Learning
Purpose
- - Turn a learning request into a structured teaching deliverable.
- Support topic scoping, outline design, section writing, instructional visuals, and final packaging.
- Use this skill for systematic learning tasks, not for unrelated coding work, casual chat, or simple copy edits.
Preparation
- - Read references/html-template.html before writing so the structure and styling stay aligned with the intended page layout.
- Infer the learner's background conservatively from context when it is not stated. Prefer clarity over unnecessary density.
Workflow
1. Understand the learning request
- - Identify the topic, learning goal, learner background, likely use case, and tone.
- If the learner profile is ambiguous, choose the simplest framing that still respects the topic.
2. Plan the outline internally
Create a short internal outline and do not show it separately unless the user asks for it.
- - One clear overall title
- Up to 10 section titles in a logical progression
Outline rules:
- - Keep titles focused on the knowledge itself.
- Avoid filler such as "Chapter 1," "Study Plan," or other low-information labels.
- Make each section distinct and order them so understanding builds step by step.
3. Write every section completely
Every outline section must have a matching full section in the final output.
Each section should include:
- - the core concept, mechanism, or principle
- at least one explanatory visual using
svg or INLINECODE1 - an example, analogy, or realistic scenario
- a common mistake, edge case, or misconception
- a short wrap-up that connects naturally to the next section when helpful
Writing rules:
- - Stay within the boundary of the current section title.
- Adjust terminology, pacing, and examples to the learner's background.
- Use plain, natural language and break difficult ideas into smaller steps.
4. Design instructional visuals
- - Use visuals to explain relationships, structure, flow, timelines, or state changes.
- Prefer
svg for static diagrams. - Use
canvas only when motion or step-by-step change genuinely improves understanding. - Keep labels concise and let the visual do most of the explanatory work.
- Inline all styles, scripts, graphics, and animation logic when producing HTML so the result remains self-contained.
5. Assemble the final deliverable
- - Default to one complete HTML document that follows the template structure.
- If the user explicitly requests another output format, keep the same teaching workflow but adapt the final packaging to that format.
- Ensure the navigation and body stay perfectly aligned: every planned section appears in both places with full content.
- When the final format is HTML, save it as an actual
.html file and provide that file to the user.
For HTML output:
- - Left side: clickable outline navigation with current-section highlighting
- Right side: full lesson content for every planned section, including headings, prose, and visuals
Output Rules
- - Return only the final deliverable, without conversational framing such as "Here is your page" or "I will generate."
- If the output is HTML, make sure the user receives the generated
.html file rather than only a pasted code block. - Keep the result suitable for long-form reading and visually restrained.
- Make sure no section from the outline is missing from the final content.
Resource
个性化学习
目的
- - 将学习需求转化为结构化的教学成果。
- 支持主题范围界定、大纲设计、章节撰写、教学可视化及最终封装。
- 仅将此技能用于系统性学习任务,不用于无关的编码工作、随意聊天或简单的文本修改。
准备工作
工作流程
1. 理解学习需求
- - 确定主题、学习目标、学习者背景、可能的使用场景及语气风格。
- 如果学习者画像不明确,选择既能尊重主题又最为简单的框架。
2. 内部规划大纲
创建简短的内部分段大纲,除非用户要求,否则不单独展示。
- - 一个清晰的总标题
- 按逻辑递进排列,最多10个章节标题
大纲规则:
- - 标题应聚焦于知识本身。
- 避免使用第一章、学习计划或其他信息量低的填充性标签。
- 确保每个章节内容独特,并按顺序排列,使理解逐步深入。
3. 完整撰写每个章节
大纲中的每个章节必须在最终输出中有对应的完整章节。
每个章节应包含:
- - 核心概念、机制或原理
- 至少一个使用 svg 或 canvas 的解释性可视化内容
- 一个示例、类比或真实场景
- 一个常见错误、边界情况或误解
- 一个简短的总结,在有助于理解时自然过渡到下一章节
撰写规则:
- - 不超出当前章节标题的范围。
- 根据学习者的背景调整术语、节奏和示例。
- 使用平实自然的语言,将复杂概念分解为更小的步骤。
4. 设计教学可视化内容
- - 使用可视化内容解释关系、结构、流程、时间线或状态变化。
- 静态图表优先使用 svg。
- 仅当动态或逐步变化确实能提升理解时,才使用 canvas。
- 保持标签简洁,让可视化内容承担大部分解释工作。
- 在生成HTML时,将所有样式、脚本、图形和动画逻辑内联,确保结果自包含。
5. 组装最终交付物
- - 默认生成一个遵循模板结构的完整HTML文档。
- 如果用户明确要求其他输出格式,保持相同的教学流程,但将最终封装适配为该格式。
- 确保导航和正文完全对齐:每个计划中的章节在两个位置都出现,并包含完整内容。
- 当最终格式为HTML时,将其保存为实际的 .html 文件,并提供给用户。
对于HTML输出:
- - 左侧:可点击的大纲导航,并高亮显示当前章节
- 右侧:每个计划章节的完整课程内容,包括标题、正文和可视化内容
输出规则
- - 仅返回最终交付物,不包含这是您的页面或我将生成等对话式框架。
- 如果输出为HTML,确保用户收到生成的 .html 文件,而不仅仅是粘贴的代码块。
- 确保结果适合长篇阅读,视觉风格克制。
- 确保大纲中的每个章节在最终内容中都不缺失。
资源