Home/Education/yao-tutorial-skill
Y

yao-tutorial-skill

by @yaojingangv
4.0(120)

yao-tutorial-skill automatically generates comprehensive tutorials from a topic or provided references, complete with outlines, chapter visuals, and multi-format exports. It's ideal for "beginner to advanced" learning documents, product manuals, and educational content, ensuring professional quality and delivery.

tutorial-generationcontent-creationeducationdocumentationcourse-designGitHub
Installation
npx skills add https://github.com/yaojingang/yao-open-skills --skill yao-tutorial-skill
compare_arrows

Before / After Comparison

1
Before

Manually creating a high-quality, well-structured tutorial with integrated visuals and multi-format exports demands extensive time for research, content organization, visual design, and format conversion, a process that is tedious and error-prone.

After

This skill revolutionizes tutorial creation, transforming the process from topic ideation to final delivery. It drastically cuts down the extensive time previously spent on research, content structuring, and visual integration. By leveraging yao-tutorial-skill, users gain professional-grade content, consistently high-quality visuals, and automated multi-format exports, ensuring efficient production of comprehensive learning documents and teaching materials.

SKILL.md

Yao Tutorial Skill

Workflow

  1. Normalize topic, audience, outcome, language, formats, user material, style references, and exclusions into brief.json.
  2. Read references/input-adaptation.md; use user material as the spine when sufficient, then add only needed external research.
  3. Read references/research-sourcing.md; create research/user-materials-register.md when needed, research/source-register.md, and research/evidence-map.md.
  4. Read references/tutorial-outline-and-writing.md plus references/course-design-principles.md; write outline.md, then standalone public tutorial.md using 第1章 and 1.1.
  5. Read the editorial and visual references; create visuals/visual-spec.json, then run build_visual_pack.py and capture_visuals.py.
  6. Read references/export-workflow.md; run export_tutorial.py and then validate_package.py.
  7. Report exact failures and fallbacks. Never fabricate X posts, papers, repo details, dates, or citations.

Quality Gates

  • User material controls intent when strong enough; external evidence fills verification and gaps.
  • Public exports never show internal source IDs or reference-packet provenance.
  • Copy reads as a standalone formal teaching product.
  • Every numbered chapter has a matching visual spec and embedded visual.
  • Default full tutorial length is 5000-10000 Chinese characters or 3500-7000 English words unless requested otherwise.
  • HTML uses centered report-shell; DOCX/PDF have no visible headers, footers, local paths, or print chrome.
  • Delivery passes scripts/validate_package.py or names the remaining warnings/failures.

References

  • references/input-adaptation.md
  • references/research-sourcing.md
  • references/tutorial-outline-and-writing.md
  • references/course-design-principles.md
  • references/editorial-production.md
  • references/visual-html-workflow.md
  • references/visual-board-benchmarks.md
  • references/export-workflow.md
  • scripts/build_visual_pack.py, scripts/capture_visuals.py, scripts/export_tutorial.py, scripts/validate_package.py
  • templates/topic-brief-template.json, templates/visual-spec-template.json, templates/tutorial-style.css

Yao Tutorial Skill

yao-tutorial-skill 是一个面向教程成品生产的 Skill:输入一个主题,或输入一组参考资料、网址、论文、GitHub 仓库、草稿,它会把这些信息整理成一套带来源、带大纲、带章节配图、带多格式导出的完整教程。

它适合用来做“从入门到精通”类教程、系统化学习文档、产品或技术教材、方法论手册,以及需要正式交付的长篇教学内容。

它会做什么

  1. 把输入归一化为 brief.json,明确主题、受众、目标、材料、格式和限制。
  2. 优先吸收用户给的资料;资料不足时,再补充官方文档、论文、GitHub、实践案例和高质量分享。
  3. 生成来源登记和证据映射,避免教程变成无依据的泛泛写作。
  4. 用课程设计方法重构标题和大纲,让章节既有专业体系,又能说人话。
  5. 写出完整教程正文,默认中文约 5000-10000 字,并以正式对外成品口吻呈现。
  6. 为每个编号章节生成一个 HTML 可视化配图,再截图嵌入正文。
  7. 导出 MarkdownWordPDFHTML
  8. 运行验证脚本,检查章节、配图、引用、截图、导出文件、页眉页脚和本地路径泄漏。

典型输出

output/
├── brief.json
├── outline.md
├── tutorial.md
├── research/
│   ├── source-register.md
│   └── evidence-map.md
├── visuals/
│   ├── visual-spec.json
│   └── index.html
├── assets/
│   └── screenshots/
└── exports/
    ├── tutorial.html
    ├── tutorial.docx
    └── tutorial.pdf

关键约束

  • 用户资料足够时,以用户资料为主线,不机械扩大搜索范围。
  • 用户资料不足时,外部来源优先级为官方/一手来源、论文、GitHub、权威实践分享。
  • 内部研究文件保留来源 ID;公开 Markdown/HTML/Word/PDF 不显示 [U1][X1] 这类角标。
  • 教程正文必须像正式出版物,不写“基于用户资料”“根据原文整理”等内部来源话术。
  • 标题和大纲要面向用户利益、痛点和学习路径,避免只堆专业术语。
  • 每个小节标题要对应具体大纲内容,避免反复使用“你要做的事”“检查点”等泛化标题。
  • 每个编号章节都必须有一个对应视觉规格和一张嵌入配图。
  • HTML 报告要使用居中内容容器、粘性目录、日期和章节跳转。
  • Word/PDF 默认不保留页眉页脚,避免路径、页码和打印信息影响阅读。

主要文件

User Reviews (0)

Write a Review

Effect
Usability
Docs
Compatibility

No reviews yet

Statistics

Installs51
Rating4.0 / 5.0
Version
Updated2026年6月3日
Comparisons1

User Rating

4.0(120)
5
37%
4
43%
3
13%
2
5%
1
2%

Rate this Skill

0.0

Compatible Platforms

🤖claude-code

Timeline

Created2026年4月30日
Last Updated2026年6月3日
🎁 Agent Knowledge Cards